Created
August 7, 2017 16:14
-
-
Save ben-albrecht/7ac8a51fd7fc0776f9befc84a1e6e2c6 to your computer and use it in GitHub Desktop.
Patch to PyChapel to make OSX work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/module/configs/pych.json b/module/configs/pych.json | |
index 82f3b00..2d1019d 100644 | |
--- a/module/configs/pych.json | |
+++ b/module/configs/pych.json | |
@@ -81,7 +81,6 @@ | |
"cflags": [ | |
"--fast", | |
"--library", | |
- "--static", | |
"-searlyShiftData=false" | |
], | |
"lflags": [ | |
@@ -102,7 +101,7 @@ | |
"commands": [ | |
"chpl %(cflags)s __CHPL_FLAGS__ %(ctargets)s -o __TMP_PATH__", | |
- "g++ %(lflags)s -Wl,--whole-archive %(ltargets)s -Wl,--no-whole-archive -o __OBJECT_ABSPATH__" | |
+ "g++ %(lflags)s -Wl, -all_load %(ltargets)s -Wl, -o __OBJECT_ABSPATH__" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment