1 |
commit: ba236ca85175d75bad6565c607e1f9c8b96fb0a7 |
2 |
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
3 |
AuthorDate: Fri May 27 22:45:16 2022 +0000 |
4 |
Commit: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> |
5 |
CommitDate: Fri May 27 22:46:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ba236ca8 |
7 |
|
8 |
sci-physics/SU2: fix meson.build patch |
9 |
|
10 |
Closes: https://bugs.gentoo.org/847346 |
11 |
|
12 |
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> |
13 |
|
14 |
sci-physics/SU2/SU2-7.2.0-r1.ebuild | 1 + |
15 |
sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch | 7 ++++--- |
16 |
2 files changed, 5 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/sci-physics/SU2/SU2-7.2.0-r1.ebuild b/sci-physics/SU2/SU2-7.2.0-r1.ebuild |
19 |
index ac28d7d53..2d2ce7361 100644 |
20 |
--- a/sci-physics/SU2/SU2-7.2.0-r1.ebuild |
21 |
+++ b/sci-physics/SU2/SU2-7.2.0-r1.ebuild |
22 |
@@ -44,6 +44,7 @@ RDEPEND=" |
23 |
" |
24 |
DEPEND=" |
25 |
${RDEPEND} |
26 |
+ dev-cpp/catch:0 |
27 |
dev-cpp/cli11 |
28 |
|
29 |
autodiff? ( |
30 |
|
31 |
diff --git a/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch b/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch |
32 |
index 927ee3734..3e96c4dd4 100644 |
33 |
--- a/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch |
34 |
+++ b/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch |
35 |
@@ -104,10 +104,10 @@ |
36 |
if p.returncode() != 0 |
37 |
error(p.stdout()) |
38 |
endif |
39 |
-@@ -280,20 +271,4 @@ |
40 |
+@@ -280,21 +271,3 @@ |
41 |
get_option('enable-autodiff'), get_option('enable-directdiff'), get_option('enable-pywrapper'), get_option('enable-mkl'), |
42 |
get_option('enable-openblas'), get_option('enable-pastix'), get_option('enable-mixedprec'), get_option('enable-librom'), meson.build_root().split('/')[-1])) |
43 |
- |
44 |
+- |
45 |
-if get_option('enable-mpp') |
46 |
- message(''' To run SU2 with Mutation++ library, add these lines to your .bashrc file: |
47 |
- |
48 |
@@ -124,7 +124,8 @@ |
49 |
- |
50 |
- '''.format(get_option('librom_root'))) |
51 |
- |
52 |
- endif |
53 |
+-endif |
54 |
+ |
55 |
--- a/SU2_CFD/include/solvers/CSolver.hpp |
56 |
+++ b/SU2_CFD/include/solvers/CSolver.hpp |
57 |
@@ -57,9 +57,9 @@ |