commit: 5401a0bca754883a3466da1c35ccabab423190ee Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> AuthorDate: Sat Mar 9 16:47:10 2024 +0000 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> CommitDate: Sun Mar 10 12:16:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5401a0bc
sci-physics/root: filter lto flags, bug #879323 Closes: https://bugs.gentoo.org/879323 Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> sci-physics/root/root-6.28.12.ebuild | 5 ++++- sci-physics/root/root-6.30.04.ebuild | 5 ++++- sci-physics/root/root-6.30.9999.ebuild | 7 +++++-- sci-physics/root/root-9999.ebuild | 7 +++++-- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/sci-physics/root/root-6.28.12.ebuild b/sci-physics/root/root-6.28.12.ebuild index 5f308e286c0a..47324a37ee7d 100644 --- a/sci-physics/root/root-6.28.12.ebuild +++ b/sci-physics/root/root-6.28.12.ebuild @@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR=emake FORTRAN_NEEDED="fortran" PYTHON_COMPAT=( python3_{9..12} ) -inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs +inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs DESCRIPTION="C++ data analysis framework and interpreter from CERN" HOMEPAGE="https://root.cern" @@ -168,6 +168,9 @@ src_prepare() { # with vanilla clang. The patches enable the C++ interpreter to work. src_configure() { + + filter-lto # https://bugs.gentoo.org/879323 + local mycmakeargs=( -DCMAKE_C_COMPILER="$(tc-getCC)" -DCMAKE_CXX_COMPILER="$(tc-getCXX)" diff --git a/sci-physics/root/root-6.30.04.ebuild b/sci-physics/root/root-6.30.04.ebuild index 5f308e286c0a..47324a37ee7d 100644 --- a/sci-physics/root/root-6.30.04.ebuild +++ b/sci-physics/root/root-6.30.04.ebuild @@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR=emake FORTRAN_NEEDED="fortran" PYTHON_COMPAT=( python3_{9..12} ) -inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs +inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs DESCRIPTION="C++ data analysis framework and interpreter from CERN" HOMEPAGE="https://root.cern" @@ -168,6 +168,9 @@ src_prepare() { # with vanilla clang. The patches enable the C++ interpreter to work. src_configure() { + + filter-lto # https://bugs.gentoo.org/879323 + local mycmakeargs=( -DCMAKE_C_COMPILER="$(tc-getCC)" -DCMAKE_CXX_COMPILER="$(tc-getCXX)" diff --git a/sci-physics/root/root-6.30.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild index 831e28f81da0..47324a37ee7d 100644 --- a/sci-physics/root/root-6.30.9999.ebuild +++ b/sci-physics/root/root-6.30.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR=emake FORTRAN_NEEDED="fortran" PYTHON_COMPAT=( python3_{9..12} ) -inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs +inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs DESCRIPTION="C++ data analysis framework and interpreter from CERN" HOMEPAGE="https://root.cern" @@ -168,6 +168,9 @@ src_prepare() { # with vanilla clang. The patches enable the C++ interpreter to work. src_configure() { + + filter-lto # https://bugs.gentoo.org/879323 + local mycmakeargs=( -DCMAKE_C_COMPILER="$(tc-getCC)" -DCMAKE_CXX_COMPILER="$(tc-getCXX)" diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild index 831e28f81da0..47324a37ee7d 100644 --- a/sci-physics/root/root-9999.ebuild +++ b/sci-physics/root/root-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR=emake FORTRAN_NEEDED="fortran" PYTHON_COMPAT=( python3_{9..12} ) -inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs +inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs DESCRIPTION="C++ data analysis framework and interpreter from CERN" HOMEPAGE="https://root.cern" @@ -168,6 +168,9 @@ src_prepare() { # with vanilla clang. The patches enable the C++ interpreter to work. src_configure() { + + filter-lto # https://bugs.gentoo.org/879323 + local mycmakeargs=( -DCMAKE_C_COMPILER="$(tc-getCC)" -DCMAKE_CXX_COMPILER="$(tc-getCXX)"