1 |
commit: 2eed2da849b1b4d2cac23b9e913259450957ce6e |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 30 00:18:44 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 30 00:19:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eed2da8 |
7 |
|
8 |
sci-libs/lapack: build tests conditionally |
9 |
|
10 |
This significantly reduces build time on non-test builds. |
11 |
|
12 |
Fixes: 1a9d2a5e0166770db4aefdd7f688e332a32f858a |
13 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
sci-libs/lapack/lapack-3.9.0.ebuild | 4 ++++ |
17 |
1 file changed, 4 insertions(+) |
18 |
|
19 |
diff --git a/sci-libs/lapack/lapack-3.9.0.ebuild b/sci-libs/lapack/lapack-3.9.0.ebuild |
20 |
index cc1fc963b7c..87c344ba13b 100644 |
21 |
--- a/sci-libs/lapack/lapack-3.9.0.ebuild |
22 |
+++ b/sci-libs/lapack/lapack-3.9.0.ebuild |
23 |
@@ -30,6 +30,10 @@ RDEPEND=" |
24 |
DEPEND="${RDEPEND} |
25 |
virtual/pkgconfig" |
26 |
|
27 |
+PATCHES=( |
28 |
+ "${FILESDIR}/${PN}-3.9.0-build-tests.patch" |
29 |
+) |
30 |
+ |
31 |
src_configure() { |
32 |
local mycmakeargs=( |
33 |
-DCBLAS=ON |