Build llvm using -DLLVM_USE_PERF=yes (Closes: #908707)

This commit is contained in:
Sylvestre Ledru 2018-09-12 23:55:08 +02:00
parent e6a507c194
commit 5401783961
2 changed files with 11 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-7 (1:7~+rc3-3) unstable; urgency=medium
* Build llvm using -DLLVM_USE_PERF=yes (Closes: #908707)
--
llvm-toolchain-7 (1:7~+rc3-2) unstable; urgency=medium
[ John Paul Adrian Glaubitz ]

5
debian/rules vendored
View File

@ -176,6 +176,11 @@ endif
LLD_ENABLE=yes
ifneq (,$(filter $(DEB_HOST_ARCH_OS),linux))
# only for linux
CMAKE_EXTRA += -DLLVM_USE_PERF=yes
endif
DH_OPTIONS=
OCAML_ENABLE= no
OCAML_ARCHS := amd64 arm64 armel armhf i386 ppc64el s390x