commit: 8618b6527198f22ad945762023431fb9d0fbb7e7
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 20 08:20:43 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Oct 20 08:44:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8618b652
sci-physics/root: update live ebuild for 6.26 branch
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.26.9999.ebuild | 11 +++--------
1 file 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