summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2020-03-12 13:17:00 +0100
committerGuilherme Amadio <amadio@gentoo.org>2020-03-12 13:17:19 +0100
commit48538396017afd2121d9035a088cf8a4e3741480 (patch)
tree12a16d505e2e01e14913a0e4a09ebad405e4fab3 /sci-physics/root/root-9999.ebuild
parentwww-servers/varnish: amd64 stable wrt bug #712152 (diff)
downloadgentoo-48538396017afd2121d9035a088cf8a4e3741480.tar.gz
gentoo-48538396017afd2121d9035a088cf8a4e3741480.tar.bz2
gentoo-48538396017afd2121d9035a088cf8a4e3741480.zip
sci-physics/root: call cuda_src_prepare when USE=cuda is enabled
Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics/root/root-9999.ebuild')
-rw-r--r--sci-physics/root/root-9999.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 172980d28a28..5a0ccb7679d6 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -136,6 +136,8 @@ pkg_setup() {
}
src_prepare() {
+ use cuda && cuda_src_prepare
+
cmake-utils_src_prepare
sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die