commit: 8c3c0c5016a80228c2beb49f8d6972136322ba71
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 12 10:44:37 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 12 15:25:26 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3c0c50
dev-ml/llvm-ocaml: Switch to CMAKE_BUILD_TYPE=RelWithDebInfo
dev-ml/llvm-ocaml/llvm-ocaml-9999.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-9999.ebuild
b/dev-ml/llvm-ocaml/llvm-ocaml-9999.ebuild
index 61beea7..31371de 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-9999.ebuild
@@ -5,8 +5,10 @@
EAPI=6
: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
+
inherit cmake-utils git-r3 python-any-r1
DESCRIPTION="OCaml bindings for LLVM"
@@ -43,6 +45,9 @@ DEPEND="${RDEPEND}
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|| ( ${ALL_LLVM_TARGETS[*]} )"
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
python_check_deps() {
! use test \
|| has_version "dev-python/lit[${PYTHON_USEDEP}]"