mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-13 18:49:52 +00:00
parent
bfd97d1fe2
commit
9663568a1b
4
debian/rules
vendored
4
debian/rules
vendored
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user