Add -DCMAKE_SUPPRESS_REGENERATION=ON to limit the number of calls to cmake Try to workaround a bug on llvm-toolchain-stretch-12-binaries architecture=s390x,stretch

This commit is contained in:
Sylvestre Ledru 2021-04-10 14:59:21 +02:00
parent c3d43695e0
commit 3c071c42ce
2 changed files with 10 additions and 0 deletions

9
debian/changelog vendored
View File

@ -1,3 +1,12 @@
llvm-toolchain-12 (1:12.0.0~++rc5-2) unstable; urgency=medium
* Add -DCMAKE_SUPPRESS_REGENERATION=ON to limit the number of calls
to cmake
Try to workaround a bug on llvm-toolchain-stretch-12-binaries
architecture=s390x,stretch
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 10 Apr 2021 14:59:07 +0200
llvm-toolchain-12 (1:12.0.0~++rc5-1) unstable; urgency=medium
* New testing upstream release

1
debian/rules vendored
View File

@ -385,6 +385,7 @@ override_dh_auto_configure: preconfigure
cd $(TARGET_BUILD) && \
LD_LIBRARY_PATH=$$LD_LIBRARY_PATH $(PRE_PROCESS_CONF) $$CMAKE_BIN ../llvm/ \
-DLLVM_ENABLE_PROJECTS="$(PROJECTS_LIST)" \
-DCMAKE_SUPPRESS_REGENERATION=ON \
-DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-$(LLVM_VERSION) \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \