Revert " remove openmp workaround"

This reverts commit 9f3e727187.
This commit is contained in:
Sylvestre Ledru 2022-10-14 19:39:59 +02:00
parent bfd97d1fe2
commit 9663568a1b

4
debian/rules vendored
View File

@ -684,8 +684,10 @@ VERBOSE=-v
debian-full-build:
echo "Using cmake: $(CMAKE_BIN)"
# linker hack so stage2 can link against stage1 libs at runtime
# build llvm-extract first to workaround
# https://github.com/llvm/llvm-project/issues/58219
LD_LIBRARY_PATH=$(STAGE_1_LIB_DIR):$$LD_LIBRARY_PATH \
VERBOSE=1 $(PRE_PROCESS) $(CMAKE_BIN) --build $(TARGET_BUILD) -j $(NJOBS) --target stage2
VERBOSE=1 $(PRE_PROCESS) $(CMAKE_BIN) --build $(TARGET_BUILD) -j $(NJOBS) --target llvm-extract stage2
# Check the stage 2 build worked
if ! readelf --string-dump .comment $(TARGET_BUILD_STAGE2)/bin/clang 2>&1|grep -q "clang version"; then \