sys-devel/llvm: Avoid cross-phase function calls, #596644

This commit is contained in:
Michał Górny
2016-11-12 08:52:07 +01:00
parent bbb58629ec
commit 5124eaefca
10 changed files with 60 additions and 20 deletions
+6 -2
View File
@@ -48,7 +48,7 @@ PDEPEND="clang? ( =sys-devel/clang-${PV}-r100 )"
S=${WORKDIR}/${P}.src
pkg_pretend() {
check_space() {
# in megs
# !clang !debug !multitarget -O2 400
# !clang !debug multitarget -O2 550
@@ -74,8 +74,12 @@ pkg_pretend() {
check-reqs_pkg_pretend
}
pkg_pretend() {
check_space
}
pkg_setup() {
pkg_pretend
check_space
}
src_unpack() {
+6 -2
View File
@@ -85,7 +85,7 @@ S=${WORKDIR}/${P}.src
# so why did it call itself ninja in the first place?
CMAKE_MAKEFILE_GENERATOR=emake
pkg_pretend() {
check_space() {
# in megs
# !clang !debug !multitarget -O2 400
# !clang !debug multitarget -O2 550
@@ -133,8 +133,12 @@ pkg_pretend() {
fi
}
pkg_pretend() {
check_space
}
pkg_setup() {
pkg_pretend
check_space
}
src_unpack() {
+6 -2
View File
@@ -87,7 +87,7 @@ S=${WORKDIR}/${P}.src
# so why did it call itself ninja in the first place?
CMAKE_MAKEFILE_GENERATOR=emake
pkg_pretend() {
check_space() {
# in megs
# !clang !debug !multitarget -O2 400
# !clang !debug multitarget -O2 550
@@ -135,8 +135,12 @@ pkg_pretend() {
fi
}
pkg_pretend() {
check_space
}
pkg_setup() {
pkg_pretend
check_space
}
src_unpack() {
+6 -2
View File
@@ -91,7 +91,7 @@ S=${WORKDIR}/${P/_}.src
# so why did it call itself ninja in the first place?
CMAKE_MAKEFILE_GENERATOR=emake
pkg_pretend() {
check_space() {
# in megs
# !clang !debug !multitarget -O2 400
# !clang !debug multitarget -O2 550
@@ -139,8 +139,12 @@ pkg_pretend() {
fi
}
pkg_pretend() {
check_space
}
pkg_setup() {
pkg_pretend
check_space
}
src_unpack() {
+6 -2
View File
@@ -89,7 +89,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
S=${WORKDIR}/${P/_}.src
pkg_pretend() {
check_space() {
# in megs
# !clang !debug !multitarget -O2 400
# !clang !debug multitarget -O2 550
@@ -125,8 +125,12 @@ pkg_pretend() {
check-reqs_pkg_pretend
}
pkg_pretend() {
check_space
}
pkg_setup() {
pkg_pretend
check_space
}
src_unpack() {
+6 -2
View File
@@ -90,7 +90,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
S=${WORKDIR}/${P/_}.src
pkg_pretend() {
check_space() {
# in megs
# !clang !debug !multitarget -O2 400
# !clang !debug multitarget -O2 550
@@ -126,8 +126,12 @@ pkg_pretend() {
check-reqs_pkg_pretend
}
pkg_pretend() {
check_space
}
pkg_setup() {
pkg_pretend
check_space
}
src_unpack() {
+6 -2
View File
@@ -89,7 +89,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
S=${WORKDIR}/${P/_}.src
pkg_pretend() {
check_space() {
# in megs
# !clang !debug !multitarget -O2 400
# !clang !debug multitarget -O2 550
@@ -125,8 +125,12 @@ pkg_pretend() {
check-reqs_pkg_pretend
}
pkg_pretend() {
check_space
}
pkg_setup() {
pkg_pretend
check_space
}
src_unpack() {
+6 -2
View File
@@ -90,7 +90,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
S=${WORKDIR}/${P/_}.src
pkg_pretend() {
check_space() {
# in megs
# !clang !debug !multitarget -O2 400
# !clang !debug multitarget -O2 550
@@ -126,8 +126,12 @@ pkg_pretend() {
check-reqs_pkg_pretend
}
pkg_pretend() {
check_space
}
pkg_setup() {
pkg_pretend
check_space
}
src_unpack() {
+6 -2
View File
@@ -102,7 +102,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
S=${WORKDIR}/${P/_}.src
pkg_pretend() {
check_space() {
# in megs
# !clang !debug !multitarget -O2 400
# !clang !debug multitarget -O2 550
@@ -138,8 +138,12 @@ pkg_pretend() {
check-reqs_pkg_pretend
}
pkg_pretend() {
check_space
}
pkg_setup() {
pkg_pretend
check_space
}
src_unpack() {
+6 -2
View File
@@ -73,7 +73,7 @@ python_check_deps() {
|| has_version "dev-python/lit[${PYTHON_USEDEP}]"
}
pkg_pretend() {
check_space() {
# in megs
# !debug !multitarget -O2 400
# !debug multitarget -O2 550
@@ -103,8 +103,12 @@ pkg_pretend() {
check-reqs_pkg_pretend
}
pkg_pretend() {
check_space
}
pkg_setup() {
pkg_pretend
check_space
}
src_prepare() {