-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
b2 does not compile with clang 11 #90
Comments
Strange since clang11 is tested continously (ex. https://dev.azure.com/bfgroup/3a4e7a7e-c1b4-4e2f-9199-f52918ea06c6/_apis/build/builds/301/logs/326) and it's fine on Ubuntu. My suspicion would be there's some extra options to use for building on your specific platform. Or that there's something broken about your tools install/setup. Can you give more details on your system. Which variant of Linux? (perhaps share contents of |
I could compile boost 1.75 and 1.70 using the same compiler. I am on a Cray system using the Cray cc and CC combined with clang 11. In addition, I could compile hdf5, silo, hwloc, jemalloc, and cmake using the same compiler. clang++ --version
CC --version
uname -a
|
@grafikrobot I found the issue why it does not compile and it is because clang++ is used and not CC as it should be on CRAY. I have no idea how to tell boost to use CC instead of clang++ to compile b2 on a Cray machine. |
The Cray CC compiler is not one directly supported. It tries to use clang++ by default instead. First you can use whatever compiler you want by building b2 manually and using the |
Going to assume this is no longer a problem. If otherwise, feel free to reopen. |
@diehlpk , or anyone else who is trying to build boost libraries with Cray compiler wrappers, the following seems to work. First, edit
Now you can run something like:
Then before the
|
There is also a build script in the following repository, though I have not tried it: https://github.com/Cray/pe-scripts |
Make sure you completed the following tasks
Environment and version details
**
Brief problem description
./b2 does not compile with clang 11
Steps to reproduce the issue
Install boost with clang 11
Actual behavior summary
Expected behavior summary
I would like to compile b2 to install boost
The text was updated successfully, but these errors were encountered: