Skip to content

OpenMP (CPU) support #3759

Answered by vzakhari
breyerml asked this question in Q&A
May 14, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Please try using the following patch:

index 28f36c815bcb..7f59aed732d0 100644
--- a/buildbot/configure.py
+++ b/buildbot/configure.py
@@ -22,7 +22,7 @@ def do_configure(args):
     xptifw_dir = os.path.join(abs_src_dir, "xptifw")
     libdevice_dir = os.path.join(abs_src_dir, "libdevice")
     llvm_targets_to_build = 'X86'
-    llvm_enable_projects = 'clang;' + llvm_external_projects
+    llvm_enable_projects = 'clang;openmp;' + llvm_external_projects
     libclc_targets_to_build = ''
     sycl_build_pi_cuda = 'OFF'
     sycl_werror = 'ON'

And the following commands:
python $DPCPP_HOME/llvm/buildbot/configure.py
python $DPCPP_HOME/llvm/buildbot/compile.py
cmake --build $DPCPP_HOME/llvm/b…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@breyerml
Comment options

Answer selected by breyerml
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants