Add a space check when tests are enabled. This avoids the issue of tests
starting to fail in the middle of run due to no free space in WORKDIR.
On amd64, the tests can eat up to 11G.
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils flag-o-matic llvm python-any-r1 versionator
+inherit check-reqs cmake-utils flag-o-matic llvm python-any-r1 versionator
DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
HOMEPAGE="http://llvm.org/"
# least intrusive of all
CMAKE_BUILD_TYPE=RelWithDebInfo
+check_space() {
+ if use test; then
+ local CHECKREQS_DISK_BUILD=11G
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_pretend() {
+ check_space
+}
+
pkg_setup() {
+ check_space
llvm_pkg_setup
python-any-r1_pkg_setup
}
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils flag-o-matic git-r3 llvm python-any-r1 versionator
+inherit check-reqs cmake-utils flag-o-matic git-r3 llvm python-any-r1 versionator
DESCRIPTION="Compiler runtime libraries for clang (sanitizers & xray)"
HOMEPAGE="http://llvm.org/"
# least intrusive of all
CMAKE_BUILD_TYPE=RelWithDebInfo
+check_space() {
+ if use test; then
+ local CHECKREQS_DISK_BUILD=11G
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_pretend() {
+ check_space
+}
+
pkg_setup() {
+ check_space
llvm_pkg_setup
python-any-r1_pkg_setup
}