diff --git a/debian/changelog b/debian/changelog index 09a7e48e..2d9e36e0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -28,6 +28,24 @@ llvm-toolchain-snapshot (1:17~++20230128060150+75153adeda1a-1~exp1) experimental -- Sylvestre Ledru Sat, 28 Jan 2023 18:07:40 +0100 +llvm-toolchain-16 (1:16.0.1-1~exp2) experimental; urgency=medium + + [ Sylvestre Ledru ] + * cherry pick changes from snapshot for sccache + + [ Gianfranco Costamagna ] + * Use parallel=2 on riscv64 + * Add omptarget again to optional interfaces (Closes: #1033933) + * Adapt test when llvm is built without Z3 support (error message changed) + + -- Gianfranco Costamagna Tue, 11 Apr 2023 14:09:36 +0200 + +llvm-toolchain-16 (1:16.0.1-1~exp1) experimental; urgency=medium + + * New upstream release + + -- Sylvestre Ledru Wed, 05 Apr 2023 13:25:21 +0200 + llvm-toolchain-16 (1:16.0.0-1~exp5) experimental; urgency=medium * Don't ship liborc on armel too diff --git a/debian/qualify-clang.sh b/debian/qualify-clang.sh index 9aa443da..d6cafb77 100755 --- a/debian/qualify-clang.sh +++ b/debian/qualify-clang.sh @@ -406,7 +406,7 @@ void testBitwiseRules(unsigned int a, int b) { ' > foo.c clang-$VERSION -cc1 -analyze -analyzer-constraints=range -analyzer-checker=core,debug.ExprInspection -analyzer-constraints=z3 foo.c &> foo.log || true -if ! grep -q "LLVM was not compiled with Z3 support" foo.log; then +if ! grep -q "error: analyzer constraint manager 'z3' is only available if LLVM was built with -DLLVM_ENABLE_Z3_SOLVER=ON" foo.log; then # Should work clang-$VERSION -cc1 -analyze -analyzer-constraints=range -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -analyzer-constraints=z3 foo.c clang-$VERSION -cc1 -analyze -analyzer-constraints=range -analyzer-checker=core,debug.ExprInspection -analyzer-constraints=z3 foo.c &> foo.log diff --git a/debian/rules b/debian/rules index 6ef4a94e..e8dec384 100755 --- a/debian/rules +++ b/debian/rules @@ -207,9 +207,9 @@ ifneq (,$(filter $(DEB_HOST_ARCH),powerpc)) STAGE_ALL_CMAKE_EXTRA += -DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON endif -# more than 4 jobs causes OOM in Ubuntu and slows down build process. +# more than 2 jobs causes OOM in Ubuntu and slows down build process. ifneq (,$(filter $(DEB_HOST_ARCH),riscv64)) - NJOBS=3 + NJOBS=2 endif ifneq (,$(filter $(DEB_HOST_ARCH),sparc)) @@ -1130,7 +1130,7 @@ endif sed -i '/_cmake_import_check_files_for_.*\/bin\/.*/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/clang/ClangTargets-*.cmake sed -i '/_IMPORT_CHECK_FILES_FOR_.*\/bin\/.*/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/clang/ClangTargets-*.cmake sed -i '/_IMPORT_CHECK_FILES_FOR_\(mlir-\|Polly\|MLIR\)/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/clang/ClangTargets-*.cmake - sed -i '/_cmake_import_check_files_for_\(mlir\|Polly\|MLIR\)/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/clang/ClangTargets-*.cmake + sed -i '/_cmake_import_check_files_for_\(mlir\|Polly\|MLIR\|omptarget\)/ {s|^|#|}' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/llvm/LLVMExports-*.cmake $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/clang/ClangTargets-*.cmake # Disable CMake's package validation checks for binaries that may not be installed sed -i 's|.*_IMPORT_CHECK_FILES_FOR_.*/bin/.*)|#&|' $(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/cmake/clang/ClangTargets-*.cmake