aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2022-05-28 01:45:16 +0300
committerSergey Torokhov <torokhov-s-a@yandex.ru>2022-05-28 01:46:28 +0300
commitba236ca85175d75bad6565c607e1f9c8b96fb0a7 (patch)
tree2c7fff75de824b76ac47172f0c9385ca4c0111dc /sci-physics
parentTODO.md: fix table (diff)
downloadguru-ba236ca85175d75bad6565c607e1f9c8b96fb0a7.tar.gz
guru-ba236ca85175d75bad6565c607e1f9c8b96fb0a7.tar.bz2
guru-ba236ca85175d75bad6565c607e1f9c8b96fb0a7.zip
sci-physics/SU2: fix meson.build patch
Closes: https://bugs.gentoo.org/847346 Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/SU2/SU2-7.2.0-r1.ebuild1
-rw-r--r--sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch7
2 files changed, 5 insertions, 3 deletions
diff --git a/sci-physics/SU2/SU2-7.2.0-r1.ebuild b/sci-physics/SU2/SU2-7.2.0-r1.ebuild
index ac28d7d53..2d2ce7361 100644
--- a/sci-physics/SU2/SU2-7.2.0-r1.ebuild
+++ b/sci-physics/SU2/SU2-7.2.0-r1.ebuild
@@ -44,6 +44,7 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
+ dev-cpp/catch:0
dev-cpp/cli11
autodiff? (
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
index 927ee3734..3e96c4dd4 100644
--- a/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch
+++ b/sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch
@@ -104,10 +104,10 @@
if p.returncode() != 0
error(p.stdout())
endif
-@@ -280,20 +271,4 @@
+@@ -280,21 +271,3 @@
get_option('enable-autodiff'), get_option('enable-directdiff'), get_option('enable-pywrapper'), get_option('enable-mkl'),
get_option('enable-openblas'), get_option('enable-pastix'), get_option('enable-mixedprec'), get_option('enable-librom'), meson.build_root().split('/')[-1]))
-
+-
-if get_option('enable-mpp')
- message(''' To run SU2 with Mutation++ library, add these lines to your .bashrc file:
-
@@ -124,7 +124,8 @@
-
- '''.format(get_option('librom_root')))
-
- endif
+-endif
+
--- a/SU2_CFD/include/solvers/CSolver.hpp
+++ b/SU2_CFD/include/solvers/CSolver.hpp
@@ -57,9 +57,9 @@