mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-11-02 21:44:57 +00:00
Make the test use the variable for LLVM version
This commit is contained in:
parent
b51b3233b5
commit
1870417ff3
4
debian/tests/cmake-test
vendored
4
debian/tests/cmake-test
vendored
@ -2,6 +2,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
LLVM_VERSION=12
|
||||
|
||||
# this is taken from libjsoncpp package
|
||||
# Presence of $ADTTMP implies that someone will handle cleanup for us, so we
|
||||
# can avoid duplicating the effort (signal handling, etc.) here.
|
||||
@ -18,7 +20,7 @@ cd "$ADTTMP"
|
||||
cat <<EOF > CMakeLists.txt
|
||||
cmake_minimum_required(VERSION 2.6.2)
|
||||
project(cmake-test)
|
||||
find_package(LLVM 12.0.0 REQUIRED
|
||||
find_package(LLVM $LLVM_VERSION REQUIRED
|
||||
COMPONENTS
|
||||
Analysis
|
||||
BitReader
|
||||
|
||||
Loading…
Reference in New Issue
Block a user