Move openmp from PROJECTS to RUNTIMES Should fix: https://github.com/llvm/llvm-project/issues/90707

This commit is contained in:
Sylvestre Ledru 2024-05-01 16:13:09 +02:00
parent 334f4f7736
commit 913a1b0e5e
2 changed files with 4 additions and 2 deletions

3
debian/changelog vendored
View File

@ -3,6 +3,9 @@ llvm-toolchain-snapshot (1:19~++20240421021844+e095d978ba47-1~exp2) experimental
* after upstream 330d8983d25d08580fc1642fea48b2473f47a9da
adjust the RUNTIMES build to include offload (was openmp/libomptarget)
* try to build with LLVM_LIBC_GPU_BUILD
* Move openmp from PROJECTS to RUNTIMES
Should fix:
https://github.com/llvm/llvm-project/issues/90707
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 26 Apr 2024 14:55:20 +0200

3
debian/rules vendored
View File

@ -377,8 +377,7 @@ OPENMP_ENABLE=yes
ifneq (,$(filter $(DEB_HOST_ARCH), m68k mipsel powerpc powerpcspe sparc64 s390x x32))
OPENMP_ENABLE=no
else
PROJECTS += ;openmp
RUNTIMES += ;offload
RUNTIMES += ;openmp;offload
STAGE_ALL_CMAKE_EXTRA += -DLIBOMP_LIBFLAGS="-lm"
ifeq ($(LIBUNWIND_ENABLE),yes)
STAGE_ALL_CMAKE_EXTRA += -DOPENMP_USE_LLVM_UNWINDER=ON