-
Notifications
You must be signed in to change notification settings - Fork 6
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
Build error on Apple M1 #11
Comments
Thanks for submitting an issue. What version of cmake do you have on your system? |
cmake version 3.19.1 |
Thanks. I'm a little concerned about that version of CMake, since it seems Apple Silicon support was added in CMake 3.19.2: https://cmake.org/cmake/help/v3.19/release/3.19.html#platforms. You might try using a newer version of CMake to see if it resolves the issue (and generates arm64 binaries or fat binaries for OpenCilk, instead of just x86_64 binaries). |
Updated CMake to version=3.22.1, got the same problem🥲 |
Just to double check, after you updated CMake, did you clear the build directory before rerunning? (Otherwise, CMake may have reused a value it cached from a previous run, which could cause it to fail the same way.) It also looks like you're building OpenCilk version 1.0. You might try building OpenCilk version 1.1 instead by cloning a fresh copy of the infrastructure repo and following the updated instructions here in INSTALLING.md. |
I do exactly how you say. Cloning an actual version of OpenCilk from repo (did it 2 days ago). About build folder - yes, I did cleanup and got the same error after that. |
Strange. Unfortunately I'm having trouble replicating the issue on my end. I have a few thoughts and ideas, though, for diagnosing or working around the issue:
Let us know how that goes. |
Got an error while building sources with
infrastructure/tools/build $(pwd)/opencilk $(pwd)/build
command. Terminal opened with Rosetta.MacBook Pro 2020
macOS Big Sur 11.6
Apple M1 chip
clang-1300.0.29.3
x86_64-apple-darwin20.6.0
The text was updated successfully, but these errors were encountered: