summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2022-10-20 10:20:43 +0200
committerGuilherme Amadio <amadio@gentoo.org>2022-10-20 10:44:49 +0200
commit8618b6527198f22ad945762023431fb9d0fbb7e7 (patch)
treeaa6cb2343e6882e6eb298f277482a42f2e1b7425 /sci-physics
parentsci-physics/root: add 6.26.08 (diff)
downloadgentoo-8618b6527198f22ad945762023431fb9d0fbb7e7.tar.gz
gentoo-8618b6527198f22ad945762023431fb9d0fbb7e7.tar.bz2
gentoo-8618b6527198f22ad945762023431fb9d0fbb7e7.zip
sci-physics/root: update live ebuild for 6.26 branch
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/root/root-6.26.9999.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild
index c1dddda91e80..a3a2a140ba5a 100644
--- a/sci-physics/root/root-6.26.9999.ebuild
+++ b/sci-physics/root/root-6.26.9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..10} ) # python3_11 fails to compile
inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs
@@ -167,6 +167,8 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
+ -DLLVM_BUILD_TYPE=$(usex debug RelWithDebInfo Release)
+ -DCMAKE_BUILD_TYPE=$(usex debug RelWithDebInfo Release)
-DCMAKE_CUDA_HOST_COMPILER="$(tc-getCXX)"
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
@@ -291,16 +293,9 @@ src_configure() {
${EXTRA_ECONF}
)
- CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
cmake_src_configure
}
-src_compile() {
- # needed for hsimple.root
- addwrite /dev/random
- cmake_src_compile
-}
-
src_install() {
cmake_src_install