From 9663568a1bbaac655c3a6f187453dedd46b4f5d0 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 14 Oct 2022 19:39:59 +0200 Subject: [PATCH] Revert " remove openmp workaround" This reverts commit 9f3e727187318d0a2d834dd463c81c5df8d2d5cc. --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 12263bd7..fca0f266 100755 --- a/debian/rules +++ b/debian/rules @@ -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 \