mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-18 18:37:45 +00:00
On Debian stretch, force the usage of g++-7
This commit is contained in:
parent
9876989ab2
commit
7e0af84d6e
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
llvm-toolchain-snapshot (1:15~++20220625103012+3d37e785c77a-1~exp2) experimental; urgency=medium
|
||||
|
||||
* On Debian stretch, force the usage of g++-7
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 03 Jul 2022 18:16:34 +0200
|
||||
|
||||
llvm-toolchain-snapshot (1:15~++20220625103012+3d37e785c77a-1~exp1) experimental; urgency=medium
|
||||
|
||||
[ John Paul Adrian Glaubitz ]
|
||||
|
12
debian/rules
vendored
12
debian/rules
vendored
@ -104,6 +104,13 @@ ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++
|
||||
GCC_VERSION := 4.9
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(DISTRO),stretch))
|
||||
# from llvm 15, we need gcc at least 7
|
||||
GCC_VERSION := 7
|
||||
# Don't enable lld python for old distros
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLDB_ENABLE_PYTHON=OFF
|
||||
endif
|
||||
|
||||
Z3_FLAG = -DLLVM_ENABLE_Z3_SOLVER=OFF
|
||||
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' libz3-dev) gt 4.7.0; echo $$?),0)
|
||||
# no ocaml support in main for Ubuntu
|
||||
@ -363,11 +370,6 @@ else
|
||||
PROJECTS+=;lldb
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(DISTRO),stretch))
|
||||
# Don't enable lld python for old distros
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLDB_ENABLE_PYTHON=OFF
|
||||
endif
|
||||
|
||||
|
||||
LLD_ENABLE=yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user