We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In my clang installation I used this
cmake -S llvm -B build -G Ninja -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;openmp" -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" -DCMAKE_INSTALL_PREFIX=/afs/cern.ch/user/i/innocent/w5/ ninja -j 8 -k 1024 -C build ninja install -C build
and managed to use openmp and libc++
clang++ test.cc -o sample -fopenmp -stdlib=libstd++ -v clang++ test.cc -o sample -fopenmp -stdlib=libc++ -v
even compiling for gpu target...
clang++ --offload-arch=native -xhip testGPU.cc -o sample -fopenmp -v -stdlib=libc++ -std=c++20 > & /dev/null ; ./sample clang++ --offload-arch=native -xhip testGPU.cc -o sample -fopenmp -v -stdlib=libstdc++ -std=c++20 > & /dev/null ; ./sample
the latter uses the "system" gcc (well the one I used to build clang) not a random local one as hip does...
it could be useful to have it in cmsdist if anybody else is interested
The text was updated successfully, but these errors were encountered:
cms-bot internal usage
Sorry, something went wrong.
A new Issue was created by @VinInn.
@Dr15Jones, @antoniovilela, @makortel, @mandrenguyen, @rappoccio, @sextonkennedy, @smuzaffar can you please review it and eventually sign/assign? Thanks.
cms-bot commands are listed here
No branches or pull requests
In my clang installation I used this
and managed to use openmp and libc++
even compiling for gpu target...
the latter uses the "system" gcc (well the one I used to build clang) not a random local one as hip does...
it could be useful to have it in cmsdist if anybody else is interested
The text was updated successfully, but these errors were encountered: