-
Notifications
You must be signed in to change notification settings - Fork 154
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
Failed to 'make install' in macbook pro m1 : #1433
Comments
hi adi-bhatl, can you try out the build again with the same steps as .github/workflows/macos.yml, currently the build on Mac are a bit messy due to the newer versions of Clang not supporting OpenMP. This is being worked on in #1427 |
hello @badumbatish , Thanks for the reply . |
the output of the above is in this file
the out put of the above is in below file
the out put of the above is the below file
|
Storing variables in there persists them as environment variables in the next steps, so you should be able to ignore that, for a shell session in which you executed:
Also, nice seems to have worked! :) |
hello @fodinabor , thank you for your insights and taking the time to solve this . I do have few follow up questions .
|
I recommend running vector-add program from here. Something like this:
|
Hello @chsasank , I did download the files from the repo you gave the link to .
used clang ++ in the below
It gives me an error : clang: error: no such file or directory: '/Users/adithyalbhat/github/adaptive_cpp/AdaptiveCpp/bin/../lib/'
Also I have provided this location to the flag --acpp-clang . |
based on your
Probably you are not invoking the Do NOT use |
@illuhad Thank you for the idea about the location of acpp . Initially I was running acpp from the directory /AdaptiveCpp/bin as ./AdaptiveCpp/bin/acpp . But what actually worked is running acpp from directory AdaptiveCpp/build/install/bin as ./AdaptiveCpp/build/install/bin/acpp
Hello @chsasank as recommended I used the programs in the link and this is the output I received .
seems like it worked . |
Thanks for the amazing repo , it has been a great learning experience trying to build software's such as adaptive cpp , it introduced me to LLVM JIT compiler , building LLVM from source , made me curious about sycl from its mentions in documentation .
So I have a macbook pro m1 , following are the steps I followed in trying to build adaptiveCpp .
Following the installation guide on https://github.com/AdaptiveCpp/AdaptiveCpp/blob/develop/doc/installing.md and trying to build on an macbook pro m1 with
Chip : Apple M1
macOS : Ventura 13.1
Memory : 16GB
.
git clone https://github.com/AdaptiveCpp/AdaptiveCpp
cd AdaptiveCpp
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/Users/adithyalbhat/github/adaptive_cpp/AdaptiveCpp/build ..
make install
The following was the error output of make install .
I inspected the file AdaptiveCpp/src/libkernel/sscp/host/math.cpp .
The error seems to be happening from the last 2 lines of the above code .
Packages were installed using : brew install [package name]
packages were :
opencl-headers
libomp
boost
ninja
opencl-clhpp-headers
ocl-icd
Some information about my system
Additionally I would like to contribute to the official docs to document the steps for mac in official docs
The text was updated successfully, but these errors were encountered: