Skip to content

Commit 0f1c530

Browse files
committed
try to make it work better on apple hardware
1 parent 975b7e8 commit 0f1c530

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

opend/src/opend.d

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
import std.process;
22
import std.file;
33

4-
// FIXME: when we call spawnProcess it doesn't print an error (though it does return a code) when the process segfaults.
5-
6-
// FIXME: tell people to install xpack if not already done when then use --target
4+
// **********************FIXME: when we call spawnProcess it doesn't print an error (though it does return a code) when the process segfaults.
75

86
// FIXME mebbe i could make opend --src=path/to/opend/git/dir args.... pull the build versions out of there, that'd be kinda useful
97
// hellit oculd even forward itself to the new opend program. hmmmmm
108

9+
10+
// fetch external packages
11+
12+
// edit and test by module name instead of by file name
13+
1114
int main(string[] args) {
1215
// maybe override the normal config files
1316
// --opend-config-file
@@ -98,6 +101,8 @@ struct Commands {
98101
}
99102

100103
int sendToCompilerDriver(string[] args, string preferredCompiler = null) {
104+
version(OSX) version(AArch64) if(preferredCompiler == "dmd") preferredCompiler = "ldmd2";
105+
101106
// extract --target
102107
string[] argsToKeep;
103108
argsToKeep.reserve(args.length);

0 commit comments

Comments
 (0)