mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 13:28:35 +00:00
remove extra cd
when copying libomp SOs
This commit is contained in:
parent
6ce54c5ad9
commit
124f977442
10
debian/rules
vendored
10
debian/rules
vendored
@ -662,20 +662,20 @@ override_dh_auto_install:
|
||||
# Only run on executable, not script
|
||||
chrpath -d `find $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/bin/ -type f -executable -exec file -i '{}' \; | grep 'x-executable; charset=binary'|cut -d: -f1`
|
||||
|
||||
: # libclang
|
||||
cd debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/lib/ && rm -f libclang.so.$(SONAME_EXT); \
|
||||
ln -s libclang-$(LLVM_VERSION).so.$(SONAME_EXT) libclang.so.$(SONAME_EXT)
|
||||
|
||||
if test "$(LIBUNWIND_ENABLE)" = yes; then \
|
||||
mkdir -p debian/tmp/usr/include/libunwind; \
|
||||
cp -R libunwind/include/* debian/tmp/usr/include/libunwind/; \
|
||||
fi
|
||||
|
||||
: # libclang
|
||||
cd debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/lib/ && rm -f libclang.so.$(SONAME_EXT); \
|
||||
ln -s libclang-$(LLVM_VERSION).so.$(SONAME_EXT) libclang.so.$(SONAME_EXT)
|
||||
|
||||
: # libomp
|
||||
if test "$(OPENMP_ENABLE)" = yes; then \
|
||||
cd debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/lib && mv libomp.so libomp.so.$(SONAME_OPENMP); \
|
||||
ln -s libomp.so.$(SONAME_OPENMP) libomp.so; \
|
||||
cd debian/tmp/usr/lib/llvm-$(LLVM_VERSION)/lib && cp libomp.so.$(SONAME_OPENMP) libomp-$(LLVM_VERSION).so.$(SONAME_OPENMP); \
|
||||
cp libomp.so.$(SONAME_OPENMP) libomp-$(LLVM_VERSION).so.$(SONAME_OPENMP); \
|
||||
fi
|
||||
|
||||
# Remove artifact (where compiler-rt is built)
|
||||
|
Loading…
Reference in New Issue
Block a user