Package: src:llvm-toolchain-11
Version: 1:11.0.1-2
Tag: patch

Dear maintainers,

the new upstream release of CMake introduced a deprecation warning
if cmake_minimum_required() requests a minimum version below 2.8.12.
This makes the autopkgtest suite of llvm-toolchain-11 fail due to unexpected
stderr output.

Attached is a patch that bumps the minimum version to something
reasonably recent, i.e. the current oldoldstable version of CMake.

Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
diff --git a/debian/tests/cmake-test b/debian/tests/cmake-test
index c3dcc504..c73feead 100755
--- a/debian/tests/cmake-test
+++ b/debian/tests/cmake-test
@@ -16,7 +16,7 @@ fi
 
 cd "$AUTOPKGTEST_TMP"
 cat <<EOF > CMakeLists.txt
-cmake_minimum_required(VERSION 2.6.2)
+cmake_minimum_required(VERSION 3.7)
 project(cmake-test)
 find_package(LLVM 11.0.0 REQUIRED
   COMPONENTS

Attachment: signature.asc
Description: PGP signature

Reply via email to