-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix cmake build on MacOS #275
Comments
CMake works on Windows. Should work on other hosts but not tested for ages. The script contains some workaround for MacOS:
I guess it should not be difficult to fix the build. |
Hmm, I've looked into this and the only way I can get it working is by a) moving that workaround to above the
Doing this allows me to fully compile using cmake on macos. Or I can call CMake with |
If you know how to fix this in GC, please contribute. |
I've opened a PR (#281) to modify the existing CMakeLists.txt, which I believe is due for modernization. I'll try to add your workaround there as well. |
Hi @nickwanninger |
Yes I will look into the PR really quick |
I see, I'll try to get a Mac to make some more local testing. |
Ill see what I can figure out as well |
@vicroms. So it seems that running cmake with |
@nickwanninger moving that workaround to above the project() is not needed, right? |
It seems like it. I was able to just run with that flag on @vicroms' PR with no modifications Is there a way to add that flag into the cmakelist? |
Issue #275 (bdwgc). Having "ppc" in CMAKE_OSX_ARCHITECTURES fails the build on Mac OS X 10.13, at least. * CMakeLists.txt [APPLE && $CMAKE_OSX_ARCHITECTURES==""] (CMAKE_OSX_ARCHITECTURES): Set to "x86_64;i386" (instead of "ppc;i386;x86_64").
Hello @nickwanninger, @vicroms, |
I get this error on every single file that the CMake program attempts to compile. Is this a known problem or is my machine not configured correctly?
The text was updated successfully, but these errors were encountered: