summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2023-02-27 23:38:53 +0000
committerJames Le Cuirot <chewi@gentoo.org>2023-03-18 21:36:32 +0000
commit25157d5097afc35aafa55a286d244fcf8d48597e (patch)
tree8cebf4cad491a6ce10e5d5870abf9d6f82209e42
parentcmake.eclass: Set CMAKE_SYSROOT in toolchain file when necessary (diff)
downloadgentoo-25157d50.tar.gz
gentoo-25157d50.tar.bz2
gentoo-25157d50.zip
sci-libs/lapack: Fix cross-compiling by disabling Fortran compiler tests
Upstream has already decided to disable these tests by default in the next release for this and other reasons. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r--sci-libs/lapack/lapack-3.11.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sci-libs/lapack/lapack-3.11.ebuild b/sci-libs/lapack/lapack-3.11.ebuild
index d6b016878d7d..c13b5b123b6d 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -44,6 +44,9 @@ src_configure() {
-DBUILD_DEPRECATED=$(usex deprecated)
-DBUILD_SHARED_LIBS=ON
-DBUILD_TESTING=$(usex test)
+
+ # Breaks cross, will default to OFF in next release.
+ -DTEST_FORTRAN_COMPILER=OFF
)
cmake_src_configure