1 |
commit: b1c7f5cebcfe53d2aac89ff85b8f1ed698f6eec7 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu May 26 21:18:09 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Thu May 26 21:20:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1c7f5ce |
7 |
|
8 |
sci-libs/superlu_dist: update SRC_URI |
9 |
|
10 |
Closes: https://bugs.gentoo.org/847358 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
sci-libs/superlu_dist/Manifest | 2 +- |
14 |
.../files/superlu_dist-8.0.0_p20220526-fortran.patch | 14 ++++++++++++++ |
15 |
sci-libs/superlu_dist/superlu_dist-8.0.0_p20220526.ebuild | 15 +++++---------- |
16 |
3 files changed, 20 insertions(+), 11 deletions(-) |
17 |
|
18 |
diff --git a/sci-libs/superlu_dist/Manifest b/sci-libs/superlu_dist/Manifest |
19 |
index 5cbefaa65..a2a6953f4 100644 |
20 |
--- a/sci-libs/superlu_dist/Manifest |
21 |
+++ b/sci-libs/superlu_dist/Manifest |
22 |
@@ -1 +1 @@ |
23 |
-DIST superlu_dist-8.0.0_p20220526.tar.gz 2293227 BLAKE2B 5c73d68a1d9812063614fb503a99c5f1e141d7c4340c1b484e5c24b818c47a6ffc2073140fc585e11b3d5b342d0baa6299ebeface03e2d1eb30245043d214751 SHA512 ac5f03b7f2500f306277dabda9e1aea457b55f2d41b72b969fa4e3a986ebb6abb65f87a3678d6cc103faa8f8e720aaac2b79d9db150288bfe1385abe2b61d8ce |
24 |
+DIST superlu_dist-8.0.0_p20220526.tar.gz 2293062 BLAKE2B 34c2d1d4bc8c6ac0b2285457b81d3d6fff449c31689130eb8a4844ff8ceee9f1d7c21a19632a2dd01a13fc07e6614c02934a2c6f4f3d3808352c82d44aa2bc6c SHA512 e8724b05156fcad2b347643dcbdb6a4183b6b36c4d54f4a9f14e4527f0a62fc5eb76f649909773d770f729fe1a33879bef54581fc0faee54224a67f2e1b8b9c5 |
25 |
|
26 |
diff --git a/sci-libs/superlu_dist/files/superlu_dist-8.0.0_p20220526-fortran.patch b/sci-libs/superlu_dist/files/superlu_dist-8.0.0_p20220526-fortran.patch |
27 |
new file mode 100644 |
28 |
index 000000000..aaf726183 |
29 |
--- /dev/null |
30 |
+++ b/sci-libs/superlu_dist/files/superlu_dist-8.0.0_p20220526-fortran.patch |
31 |
@@ -0,0 +1,14 @@ |
32 |
+--- a/FORTRAN/CMakeLists.txt |
33 |
++++ b/FORTRAN/CMakeLists.txt |
34 |
+@@ -15,8 +15,9 @@ |
35 |
+ list(APPEND sources c2f_zcreate_matrix_x_b.c superlu_c2f_zwrap.c) |
36 |
+ endif() |
37 |
+ |
38 |
+-add_library(superlu_dist_fortran ${sources}) |
39 |
+-add_library(superlu_dist_fortran-static STATIC ${sources}) |
40 |
++add_library(superlu_dist_fortran_obj OBJECT ${sources}) |
41 |
++add_library(superlu_dist_fortran $<TARGET_OBJECTS:superlu_dist_fortran_obj>) |
42 |
++add_library(superlu_dist_fortran-static STATIC $<TARGET_OBJECTS:superlu_dist_fortran_obj>) |
43 |
+ # set(targets superlu_dist_fortran) |
44 |
+ get_target_property(superlu_dist_version superlu_dist VERSION) |
45 |
+ get_target_property(superlu_dist_soversion superlu_dist SOVERSION) |
46 |
|
47 |
diff --git a/sci-libs/superlu_dist/superlu_dist-8.0.0_p20220526.ebuild b/sci-libs/superlu_dist/superlu_dist-8.0.0_p20220526.ebuild |
48 |
index 7c67699d0..018291878 100644 |
49 |
--- a/sci-libs/superlu_dist/superlu_dist-8.0.0_p20220526.ebuild |
50 |
+++ b/sci-libs/superlu_dist/superlu_dist-8.0.0_p20220526.ebuild |
51 |
@@ -3,7 +3,7 @@ |
52 |
|
53 |
EAPI=8 |
54 |
|
55 |
-COMMIT="df1dbf3afd7876644ff5d0613dfa7b9d32af79de" |
56 |
+COMMIT="a841c9be1666056b2a6b720d27161aa244b562b1" |
57 |
DOCS_BUILDER="doxygen" |
58 |
DOCS_CONFIG_NAME="DoxyConfig" |
59 |
FORTRAN_NEEDED="fortran" |
60 |
@@ -41,7 +41,10 @@ RDEPEND=" |
61 |
DEPEND="${RDEPEND}" |
62 |
BDEPEND="virtual/pkgconfig" |
63 |
|
64 |
-PATCHES=( "${FILESDIR}/${P}-system-colamd.patch" ) |
65 |
+PATCHES=( |
66 |
+ "${FILESDIR}/${P}-system-colamd.patch" |
67 |
+ "${FILESDIR}/${P}-fortran.patch" |
68 |
+) |
69 |
RESTRICT="!test? ( test )" |
70 |
|
71 |
src_prepare() { |
72 |
@@ -83,11 +86,3 @@ src_configure() { |
73 |
fi |
74 |
cmake_src_configure |
75 |
} |
76 |
- |
77 |
-src_compile() { |
78 |
- if use fortran ; then |
79 |
- MAKEOPTS="-j1" cmake_src_compile |
80 |
- else |
81 |
- cmake_src_compile |
82 |
- fi |
83 |
-} |