1 |
commit: 33e57de11ce61793afbbfa7f498297e14be13bda |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 1 11:28:30 2020 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 1 11:28:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e57de1 |
7 |
|
8 |
sci-physics/root: use same compiler for C++ and CUDA in live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
11 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
12 |
|
13 |
sci-physics/root/root-9999.ebuild | 3 +++ |
14 |
1 file changed, 3 insertions(+) |
15 |
|
16 |
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild |
17 |
index 5a0ccb7679d..60e7f05e2b1 100644 |
18 |
--- a/sci-physics/root/root-9999.ebuild |
19 |
+++ b/sci-physics/root/root-9999.ebuild |
20 |
@@ -154,6 +154,9 @@ src_prepare() { |
21 |
|
22 |
src_configure() { |
23 |
local mycmakeargs=( |
24 |
+ -DCMAKE_C_COMPILER=$(tc-getCC) |
25 |
+ -DCMAKE_CXX_COMPILER=$(tc-getCXX) |
26 |
+ -DCMAKE_CUDA_HOST_COMPILER=$(tc-getCXX) |
27 |
-DCMAKE_C_FLAGS="${CFLAGS}" |
28 |
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" |
29 |
-DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-) |