[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 6e77cc7037fb293ce3fa48f8153b4764f84c45ce Author: Sergey Torokhov yandex ru> AuthorDate: Fri Dec 9 16:48:04 2022 + Commit: Ronny Gutbrod tastytea de> CommitDate: Fri Dec 9 16:48:37 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e77cc70 sci-physics/SU2: cleanup Manifest Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest | 1 - 1 file changed, 1 deletion(-) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index 3b721ab82..128d0d5aa 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -1,4 +1,3 @@ DIST SU2-7.2.0-TestCases.tar.gz 464156192 BLAKE2B 405a5ccdd13bc5109feca1462b6ac434a4d817adbaca964465678683d5593fa940579e364e33414da5f059a89b2919fbc0baed82967246356da49c87ac9ce63f SHA512 d75894c285ac7cb4c72eece10a02f014fb2d85b585c08d1a9bbf12ab51f6004be99c368bde98734891dc45446d0656b21317b50d7d14af95b6ce4bfe72871f11 DIST SU2-7.2.0-Tutorials.tar.gz 72845754 BLAKE2B ef670a77d0189e9fd8ad48d96bd4617de558311d0df0d81a10dd3cbf8b97b7fbcb0e6725746d8451ce12a923f6895a392582fa980f4054b3b1306609431900ff SHA512 c91cfbdfb26169fc36575f60ec3133ea4a6f39c8433e276840a0f96c7508f3ee898020179ac01d606da9c5e10ee2ad263a642ff6f6b7400d75f4eb03ee7e1cf8 DIST SU2-7.2.0.tar.gz 15356101 BLAKE2B e52f09d0451c200f6fd6874d55bedf7733f934cb2cee378ca286107960bd82332adc932cae57e9052654b34972717a4f8969db216acdcef8a6816b648119df94 SHA512 5600ebb97ef5939333907f75cda58a02810642439309fc8626ed974dfbfaffdf0cd7d9cc81de310cb12e6f92f98b64c58d607ad93095bd86cc583768947ccf6b -DIST mutationpp-1.0.1.tar.gz 4021945 BLAKE2B caae3ca155541a36822a950047efb867aab098bc9db311d675acca272d7f317ff35524086a0ea5eda524bbe125e4874f41dc1dbad92bfee4387e3a0c649bbd0a SHA512 ba8beeb7cdaf1b526571e27f745d8d53c1e20a96bd194a5949acb8b6d5f75553867158a63bfc7198502177a9e8a91bf82a67d450a3ba72b21f8490539f45ef01
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 01d691c3d7f455d6c3a2e52856446c599c754cf7 Author: Sergey Torokhov yandex ru> AuthorDate: Fri Dec 9 16:50:53 2022 + Commit: Ronny Gutbrod tastytea de> CommitDate: Fri Dec 9 16:50:53 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01d691c3 sci-physics/SU2: update src_test and src_install Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/SU2-7.2.0-r100.ebuild | 17 - sci-physics/SU2/SU2-7.2.0-r2.ebuild | 12 ++-- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/sci-physics/SU2/SU2-7.2.0-r100.ebuild b/sci-physics/SU2/SU2-7.2.0-r100.ebuild index 97dceb66e..482a29200 100644 --- a/sci-physics/SU2/SU2-7.2.0-r100.ebuild +++ b/sci-physics/SU2/SU2-7.2.0-r100.ebuild @@ -165,6 +165,7 @@ src_test() { if use autodiff ; then ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD_AD SU2_PY/SU2_CFD_AD || die ln -s ../../${P}-build/SU2_DOT/src/SU2_DOT_AD SU2_PY/SU2_DOT_AD || die + ln -s ../../${P}-build/SU2_PY/pySU2/pysu2ad.py SU2_PY/pysu2ad.py || die ln -s ../../${P}-build/SU2_PY/pySU2/_pysu2ad.so SU2_PY/_pysu2ad.so || die if use directdiff ; then ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD_DIRECTDIFF SU2_PY/SU2_CFD_DIRECTDIFF || die @@ -187,15 +188,13 @@ src_test() { fi if use autodiff ; then ${EPYTHON} parallel_regression_AD.py || die - else - ${EPYTHON} parallel_regression.py || die fi + ${EPYTHON} parallel_regression.py || die else if use autodiff ; then ${EPYTHON} serial_regression_AD.py || die - else - ${EPYTHON} serial_regression.py || die fi + ${EPYTHON} serial_regression.py || die fi popd || die } @@ -205,7 +204,7 @@ src_install() { mkdir -p "${D}$(python_get_sitedir)/SU2_PY" || die if use python; then - mv "${ED}"/usr/bin/{pysu2.py,_pysu2.so} -t "${D}$(python_get_sitedir)/SU2_PY" || die + mv "${ED}"/usr/bin/*.so -t "${D}$(python_get_sitedir)/SU2_PY" || die fi mv "${ED}"/usr/bin/{FSI_tools,SU2,SU2_Nastran} -t "${D}$(python_get_sitedir)" || die mv "${ED}"/usr/bin/*.py -t "${D}$(python_get_sitedir)/SU2_PY" || die @@ -217,9 +216,9 @@ src_install() { fi local SU2_RUN="$(python_get_sitedir)/SU2_PY" - echo SU2_RUN="${SU2_RUN}" > 99_SU2 - echo PATH="${SU2_RUN}" >> 99_SU2 - echo PYTHONPATH="${SU2_RUN}" >> 99_SU2 + echo SU2_RUN="${SU2_RUN}" > 99SU2 + echo PATH="${SU2_RUN}" >> 99SU2 + echo PYTHONPATH="${SU2_RUN}" >> 99SU2 - doenvd 99_SU2 + doenvd 99SU2 } diff --git a/sci-physics/SU2/SU2-7.2.0-r2.ebuild b/sci-physics/SU2/SU2-7.2.0-r2.ebuild index 1bc85bf7e..adc8adfd5 100644 --- a/sci-physics/SU2/SU2-7.2.0-r2.ebuild +++ b/sci-physics/SU2/SU2-7.2.0-r2.ebuild @@ -156,12 +156,20 @@ src_test() { src_install() { DESTDIR="${D}" meson_src_install - mkdir -p "${D}$(python_get_sitedir)" || die - mv "${ED}"/usr/bin/{FSI_tools,SU2,SU2_Nastran,*.py} -t "${D}$(python_get_sitedir)" || die + mkdir -p "${D}$(python_get_sitedir)/SU2_PY" || die + mv "${ED}"/usr/bin/{FSI_tools,SU2,SU2_Nastran} -t "${D}$(python_get_sitedir)" || die + mv "${ED}"/usr/bin/*.py -t "${D}$(python_get_sitedir)/SU2_PY" || die python_optimize "${D}/$(python_get_sitedir)" if use tutorials ; then insinto "/usr/share/${PN}" doins -r Tutorials fi + + local SU2_RUN="$(python_get_sitedir)/SU2_PY" + echo SU2_RUN="${SU2_RUN}" > 99SU2 + echo PATH="${SU2_RUN}" >> 99SU2 + echo PYTHONPATH="${SU2_RUN}" >> 99SU2 + + doenvd 99SU2 }
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 7af8494682fb2d4f6bf0f1d0e2791dd305901a3c Author: Sergey Torokhov yandex ru> AuthorDate: Thu Dec 8 22:15:02 2022 + Commit: Ronny Gutbrod tastytea de> CommitDate: Thu Dec 8 22:15:02 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7af84946 sci-physics/SU2: 7.2.0-r2 bump; unbundle some deps and fix build Thanks to Alessandro Barbieri gmail.com> for unbundling patch. Signed-off-by: Sergey Torokhov yandex.ru> .../SU2/{SU2-7.2.0.ebuild => SU2-7.2.0-r2.ebuild} | 37 ++ 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/sci-physics/SU2/SU2-7.2.0.ebuild b/sci-physics/SU2/SU2-7.2.0-r2.ebuild similarity index 83% rename from sci-physics/SU2/SU2-7.2.0.ebuild rename to sci-physics/SU2/SU2-7.2.0-r2.ebuild index 8c0012dae..1bc85bf7e 100644 --- a/sci-physics/SU2/SU2-7.2.0.ebuild +++ b/sci-physics/SU2/SU2-7.2.0-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit meson python-single-r1 @@ -11,7 +11,6 @@ DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" HOMEPAGE="https://su2code.github.io/"; SRC_URI=" https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz - mpp? ( https://github.com/mutationpp/Mutationpp/archive/v1.0.1.tar.gz -> mutationpp-1.0.1.tar.gz ) test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) " @@ -22,7 +21,7 @@ LICENSE="Apache-2.0 LGPL-2.1 LGPL-3 ZLIB all-rights-reserved free-noncomm" SLOT="0" KEYWORDS="~amd64" -# cgns, metis, parmetis are bundled; +# metis, parmetis are bundled; # omp is disable as it's experimental; # pastix is disabled as it's require additional external bundled libs; # autodiff (medi), directdiff (opti) features require additional external bundled libs. @@ -37,33 +36,38 @@ RESTRICT="!test? ( test )" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} mkl? ( !openblas ) + parmetis? ( mpi ) + test? ( parmetis tutorials ) " RDEPEND=" ${PYTHON_DEPS} - mpi? ( || ( >=sys-cluster/openmpi-1.10.7[cxx] >=sys-cluster/mpich-3.3[cxx] ) ) + cgns? ( >=sci-libs/cgnslib-4 ) mkl? ( sci-libs/mkl ) + mpi? ( virtual/mpi[cxx] ) + mpp? ( sci-libs/Mutationpp:= ) openblas? ( sci-libs/openblas ) " DEPEND=" ${RDEPEND} + dev-cpp/cli11:= tecio? ( >=dev-libs/boost-1.76.0:= ) + test? ( =boost-1.75 sed -i -e 's:cpp_std=c++11:cpp_std=c++14:' meson.build || die @@ -85,6 +92,9 @@ src_prepare(){ # Disable python-wrapper tests sed -i "/append(pywrapper_/s/./#&/" TestCases/parallel_regression.py || die + # Disable failed tests + sed -i "/append(dyn_fsi/s/./#&/" TestCases/parallel_regression.py || die + sed -i "/append(fd_sp_pinArray_cht_2d_dp_hf/s/./#&/" TestCases/parallel_regression.py || die # Copy absence mesh file if use test ; then @@ -125,8 +135,8 @@ src_test() { export SU2_RUN="${S}/SU2_PY" export SU2_HOME="${S}" - export PATH=$PATH:$SU2_RUN - export PYTHONPATH=$PYTHONPATH:$SU2_RUN + export PATH="${PATH}:${SU2_RUN}" + export PYTHONPATH="${PYTHONPATH}:${SU2_RUN}" einfo "Running UnitTests ..." ../${P}-build/UnitTests/test_driver || die @@ -144,13 +154,14 @@ src_test() { } src_install() { - meson_src_install + DESTDIR="${D}" meson_src_install + mkdir -p "${D}$(python_get_sitedir)" || die mv "${ED}"/usr/bin/{FSI_tools,SU2,SU2_Nastran,*.py} -t "${D}$(python_get_sitedir)" || die python_optimize "${D}/$(python_get_sitedir)" if use tutorials ; then - insinto "/usr/share/${P}" + insinto "/usr/share/${PN}" doins -r Tutorials fi }
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/files/, sci-physics/SU2/
commit: 46785f14e0680f12b6d03b8c738b1e9fc1ea30b8 Author: Sergey Torokhov yandex ru> AuthorDate: Thu Dec 8 22:02:31 2022 + Commit: Ronny Gutbrod tastytea de> CommitDate: Thu Dec 8 22:02:31 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46785f14 sci-physics/SU2: revert unbundling metis/parmetis (as fail tests) The unbundling of metis/[armetis results in numerous failures of tests, especially the Tutorial tests that are preferred to be checked. The revision with additional USE-flags is now '-r1xx'. The changes also enable python tests; add restriction ' yandex.ru> .../{SU2-7.2.0-r1.ebuild => SU2-7.2.0-r100.ebuild} | 54 ++ .../SU2/files/SU2-7.2.0-system-libraries.patch | 30 +++- 2 files changed, 43 insertions(+), 41 deletions(-) diff --git a/sci-physics/SU2/SU2-7.2.0-r1.ebuild b/sci-physics/SU2/SU2-7.2.0-r100.ebuild similarity index 78% rename from sci-physics/SU2/SU2-7.2.0-r1.ebuild rename to sci-physics/SU2/SU2-7.2.0-r100.ebuild index 29413cf3e..97dceb66e 100644 --- a/sci-physics/SU2/SU2-7.2.0-r1.ebuild +++ b/sci-physics/SU2/SU2-7.2.0-r100.ebuild @@ -29,20 +29,15 @@ RDEPEND=" cgns? ( >=sci-libs/cgnslib-4 ) librom? ( sci-libs/libROM ) mkl? ( sci-libs/mkl ) - mpi? ( - sci-libs/metis - virtual/mpi[cxx] - ) + mpi? ( virtual/mpi[cxx] ) mpp? ( sci-libs/Mutationpp:= ) openblas? ( sci-libs/openblas ) - parmetis? ( sci-libs/parmetis ) pastix? ( sci-libs/MeDiPack-1.2:= ) ) tecio? ( >=dev-libs/boost-1.76.0:= ) - test? ( dev-cpp/catch:0 ) + test? ( =boost-1.75 @@ -120,8 +113,14 @@ src_prepare(){ # Force Disable parmetis support in meson.build (configure.ac has optional switch) use !parmetis && { sed -i -e "/parmetis/Id" meson.build || die ; } - # Disable python-wrapper tests - sed -i "/append(pywrapper_/s/./#&/" TestCases/parallel_regression.py || die + # Disable failed tests + sed -i "/append(dyn_fsi/s/./#&/" TestCases/parallel_regression.py || die + sed -i "/append(fd_sp_pinArray_cht_2d_dp_hf/s/./#&/" TestCases/parallel_regression.py || die + if ! use directdiff ; then + # Disable TestCase('unsteady_cylinder_windowed_average') + sed -i "217s/./#&/" TestCases/parallel_regression_AD.py || die + fi + sed -i "/append(dyn_discadj_fsi/s/./#&/" TestCases/parallel_regression_AD.py || die # Copy absence mesh file if use test ; then @@ -161,6 +160,16 @@ src_test() { ln -s ../../${P}-build/SU2_DOT/src/SU2_DOT SU2_PY/SU2_DOT || die ln -s ../../${P}-build/SU2_GEO/src/SU2_GEO SU2_PY/SU2_GEO || die ln -s ../../${P}-build/SU2_SOL/src/SU2_SOL SU2_PY/SU2_SOL || die + ln -s ../../${P}-build/SU2_PY/pySU2/pysu2.py SU2_PY/pysu2.py || die + ln -s ../../${P}-build/SU2_PY/pySU2/_pysu2.so SU2_PY/_pysu2.so || die + if use autodiff ; then + ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD_AD SU2_PY/SU2_CFD_AD || die + ln -s ../../${P}-build/SU2_DOT/src/SU2_DOT_AD SU2_PY/SU2_DOT_AD || die + ln -s ../../${P}-build/SU2_PY/pySU2/_pysu2ad.so SU2_PY/_pysu2ad.so || die + if use directdiff ; then + ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD_DIRECTDIFF SU2_PY/SU2_CFD_DIRECTDIFF || die + fi + fi export SU2_RUN="${S}/SU2_PY" export SU2_HOME="${S}" @@ -171,13 +180,22 @@ src_test() { ../${P}-build/UnitTests/test_driver || die pushd TestCases/ || die + # Currently Tests always use mpi if use mpi ; then -# if use tutorials ; then -# ${EPYTHON} tutorials.py || die -# fi - ${EPYTHON} parallel_regression.py || die + if use tutorials ; then + ${EPYTHON} tutorials.py || die + fi + if use autodiff ; then + ${EPYTHON} parallel_regression_AD.py || die + else + ${EPYTHON} parallel_regression.py || die + fi else - ${EPYTHON} serial_regression.py || die + if use autodiff ; then + ${EPYTHON} serial_regression_AD.py || die + else + ${EPYTHON} serial_regression.py || die + fi fi popd || die } 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 176caee93..21bfdde56 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 @@ -28,26 +28,7 @@ su2_deps += cgns_dep su2_cpp_args += '-DHAVE_CGNS' endif -@@ -91,23 +92,19 @@ - su2_deps += mpi_dep - su2_cpp_args += '-
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/, sci-physics/SU2/files/
commit: ef90a22aafeff5cdb5ca28897fa3ad77b8333e15 Author: Alessandro Barbieri gmail com> AuthorDate: Sun May 29 15:29:49 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun May 29 15:29:49 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef90a22a sci-physics/SU2: fixes for tests Closes: https://bugs.gentoo.org/848033 Signed-off-by: Alessandro Barbieri gmail.com> sci-physics/SU2/SU2-7.2.0-r1.ebuild| 10 +++-- sci-physics/SU2/files/SU2-7.2.0-fix-headers.patch | 51 ++ .../SU2/files/SU2-7.2.0-system-libraries.patch | 12 - 3 files changed, 57 insertions(+), 16 deletions(-) diff --git a/sci-physics/SU2/SU2-7.2.0-r1.ebuild b/sci-physics/SU2/SU2-7.2.0-r1.ebuild index b0c8a21e9..29413cf3e 100644 --- a/sci-physics/SU2/SU2-7.2.0-r1.ebuild +++ b/sci-physics/SU2/SU2-7.2.0-r1.ebuild @@ -33,7 +33,7 @@ RDEPEND=" sci-libs/metis virtual/mpi[cxx] ) - mpp? ( sci-libs/Mutationpp ) + mpp? ( sci-libs/Mutationpp:= ) openblas? ( sci-libs/openblas ) parmetis? ( sci-libs/parmetis ) pastix? ( @@ -85,6 +85,7 @@ REQUIRED_USE=" mpi || ( openblas mkl ) ) + test? ( mpi python ) ?? ( openblas mkl ) ?? ( directdiff pastix ) " @@ -93,6 +94,7 @@ PATCHES=( "${FILESDIR}/${PN}-7.1.0-fix-env.patch" "${FILESDIR}/${PN}-7.2.0-system-libraries.patch" "${FILESDIR}/${PN}-7.2.0-DESTDIR.patch" + "${FILESDIR}/${PN}-7.2.0-fix-headers.patch" ) src_unpack() { @@ -170,9 +172,9 @@ src_test() { pushd TestCases/ || die if use mpi ; then - if use tutorials ; then - ${EPYTHON} tutorials.py || die - fi +# if use tutorials ; then +# ${EPYTHON} tutorials.py || die +# fi ${EPYTHON} parallel_regression.py || die else ${EPYTHON} serial_regression.py || die diff --git a/sci-physics/SU2/files/SU2-7.2.0-fix-headers.patch b/sci-physics/SU2/files/SU2-7.2.0-fix-headers.patch new file mode 100644 index 0..39f26e733 --- /dev/null +++ b/sci-physics/SU2/files/SU2-7.2.0-fix-headers.patch @@ -0,0 +1,51 @@ +--- a/UnitTests/Common/geometry/dual_grid/CDualGrid_tests.cpp b/UnitTests/Common/geometry/dual_grid/CDualGrid_tests.cpp +@@ -28,8 +28,8 @@ + #include "catch.hpp" + #include + #include +-#include "../../../Common/include/geometry/dual_grid/CEdge.hpp" +-#include "../../../Common/include/geometry/dual_grid/CVertex.hpp" ++#include "../../../../Common/include/geometry/dual_grid/CEdge.hpp" ++#include "../../../../Common/include/geometry/dual_grid/CVertex.hpp" + + TEST_CASE("Volume Computation", "[Dual Grid]") { + +--- a/UnitTests/Common/geometry/primal_grid/CPrimalGrid_tests.cpp b/UnitTests/Common/geometry/primal_grid/CPrimalGrid_tests.cpp +@@ -27,8 +27,8 @@ + + #include "catch.hpp" + #include +-#include "../../../Common/include/geometry/primal_grid/CPrimalGrid.hpp" +-#include "../../../Common/include/geometry/primal_grid/CHexahedron.hpp" ++#include "../../../../Common/include/geometry/primal_grid/CPrimalGrid.hpp" ++#include "../../../../Common/include/geometry/primal_grid/CHexahedron.hpp" + + TEST_CASE("Center of gravity computation", "[Primal Grid]") { + +--- a/UnitTests/test_driver.cpp b/UnitTests/test_driver.cpp +@@ -31,8 +31,8 @@ + #define CATCH_CONFIG_RUNNER + #include "catch.hpp" + +-#include "../../../Common/include/parallelization/mpi_structure.hpp" +-#include "../../../Common/include/option_structure.hpp" ++#include "../Common/include/parallelization/mpi_structure.hpp" ++#include "../Common/include/option_structure.hpp" + + int main(int argc, char *argv[]) { + +--- a/SU2_GEO/include/SU2_GEO.hpp b/SU2_GEO/include/SU2_GEO.hpp +@@ -38,7 +38,7 @@ + + #include "../../Common/include/geometry/CPhysicalGeometry.hpp" + #include "../../Common/include/CConfig.hpp" +-#include "../../../Common/include/grid_movement/CSurfaceMovement.hpp" +-#include "../../../Common/include/grid_movement/CFreeFormDefBox.hpp" ++#include "../../Common/include/grid_movement/CSurfaceMovement.hpp" ++#include "../../Common/include/grid_movement/CFreeFormDefBox.hpp" + + using namespace std; 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 3e96c4dd4..176caee93 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 @@ -152,15 +152,3 @@ #include "drivers/CDriver.hpp" #include "drivers/CSinglezoneDriver.hpp" a/SU2_GEO/include/SU2_GEO.hpp -+++ b/SU2_GEO/include/SU2_GEO.hpp -@@ -38,7 +38,7 @@ - - #include "../../Common/include/geometry/CPhysicalGeometry.hpp" - #include "../../Common/include/CConfig.hpp" --#include "../../../Common/include/grid_movement/CSurfaceMovement.hpp" --#
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/, sci-physics/SU2/files/
commit: ba236ca85175d75bad6565c607e1f9c8b96fb0a7 Author: Sergey Torokhov yandex ru> AuthorDate: Fri May 27 22:45:16 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri May 27 22:46:28 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ba236ca8 sci-physics/SU2: fix meson.build patch Closes: https://bugs.gentoo.org/847346 Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/SU2-7.2.0-r1.ebuild| 1 + sci-physics/SU2/files/SU2-7.2.0-system-libraries.patch | 7 --- 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 @@
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 85c4f567a9f07f9075c864b636f9245ed600fc49 Author: Sergey Torokhov yandex ru> AuthorDate: Wed Oct 27 20:53:10 2021 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Wed Oct 27 20:53:10 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85c4f567 sci-physics/SU2: switch to EAPI-8. Enable MPI network tests Use EAPI-8 option PROPERTIES="test_network" to enable network testing that is required by MPI. Closes: https://bugs.gentoo.org/820293 Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/SU2-7.2.0.ebuild | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sci-physics/SU2/SU2-7.2.0.ebuild b/sci-physics/SU2/SU2-7.2.0.ebuild index 32027c04f..8c0012dae 100644 --- a/sci-physics/SU2/SU2-7.2.0.ebuild +++ b/sci-physics/SU2/SU2-7.2.0.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8..9} ) @@ -27,7 +27,13 @@ KEYWORDS="~amd64" # pastix is disabled as it's require additional external bundled libs; # autodiff (medi), directdiff (opti) features require additional external bundled libs. IUSE="cgns mkl +mpi mpp openblas parmetis tecio test tutorials" + +# Tests fail with FEATURES="network-sandbox" for most versions of openmpi and mpich it with error: +# "No network interfaces were found for out-of-band communications. +# We require at least one available network for out-of-band messaging." +PROPERTIES="test_network" RESTRICT="!test? ( test )" + REQUIRED_USE=" ${PYTHON_REQUIRED_USE} mkl? ( !openblas )
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 584e239fa636150d6680c82fb0a21c7a764ba650 Author: Sergey Torokhov yandex ru> AuthorDate: Sun Oct 24 20:56:36 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Oct 24 21:05:57 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=584e239f sci-physics/SU2: restrict with MPI 3.1 impl. Add custom-mpi option Meson.build script isn't properly detect mpich as MPI impl., therefore meson option 'custom-mpi' is used now with export of CC=mpicc and CXX=mpicxx as compilers. Mpi implementations is restricted with MPI 3.1 within ebuild. FEATURES="-network-sandbox" could be required to run tests for some mpi implementations/versions. Closes: https://bugs.gentoo.org/819060 Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/SU2-7.2.0.ebuild | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sci-physics/SU2/SU2-7.2.0.ebuild b/sci-physics/SU2/SU2-7.2.0.ebuild index 7b3091907..32027c04f 100644 --- a/sci-physics/SU2/SU2-7.2.0.ebuild +++ b/sci-physics/SU2/SU2-7.2.0.ebuild @@ -35,7 +35,7 @@ REQUIRED_USE=" RDEPEND=" ${PYTHON_DEPS} - mpi? ( virtual/mpi[cxx] ) + mpi? ( || ( >=sys-cluster/openmpi-1.10.7[cxx] >=sys-cluster/mpich-3.3[cxx] ) ) mkl? ( sci-libs/mkl ) openblas? ( sci-libs/openblas ) " @@ -87,6 +87,11 @@ src_prepare(){ } src_configure() { + if use mpi ; then + export CC=mpicc + export CXX=mpicxx + fi + local emesonargs=( -Denable-autodiff=false -Denable-directdiff=false @@ -94,6 +99,7 @@ src_configure() { -Denable-pywrapper=false -Dwith-omp=false $(meson_feature mpi with-mpi) + $(meson_use mpi custom-mpi) $(meson_use cgns enable-cgns) $(meson_use mkl enable-mkl) $(meson_use mpp enable-mpp)
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 8dc8d4025018d2db2c1ceffdfa6a3f1daec872a8 Author: Sergey Torokhov yandex ru> AuthorDate: Wed Sep 15 21:37:23 2021 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Wed Sep 15 21:37:23 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8dc8d402 sci-physics/SU2: Disable pywrapper tests. Fix axi_visccone test USE="tutorials" tests now run before parallel_regression.py tests as turorials tests have no fails currently. Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/SU2-7.1.1.ebuild | 5 - sci-physics/SU2/SU2-7.2.0.ebuild | 10 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/sci-physics/SU2/SU2-7.1.1.ebuild b/sci-physics/SU2/SU2-7.1.1.ebuild index 87b3d2328..899b5d72f 100644 --- a/sci-physics/SU2/SU2-7.1.1.ebuild +++ b/sci-physics/SU2/SU2-7.1.1.ebuild @@ -74,6 +74,9 @@ src_prepare(){ if has_version ">=dev-libs/boost-1.75.0" ; then sed -i -e 's:cpp_std=c++11:cpp_std=c++14:' meson.build || die fi + + # Disable python-wrapper tests + sed -i "/append(pywrapper_/s/./#&/" TestCases/parallel_regression.py || die } src_configure() { @@ -111,10 +114,10 @@ src_test() { pushd TestCases/ || die if use mpi ; then - ${EPYTHON} parallel_regression.py || die if use tutorials ; then ${EPYTHON} tutorials.py || die fi + ${EPYTHON} parallel_regression.py || die else ${EPYTHON} serial_regression.py || die fi diff --git a/sci-physics/SU2/SU2-7.2.0.ebuild b/sci-physics/SU2/SU2-7.2.0.ebuild index e211c5388..7b3091907 100644 --- a/sci-physics/SU2/SU2-7.2.0.ebuild +++ b/sci-physics/SU2/SU2-7.2.0.ebuild @@ -76,6 +76,14 @@ src_prepare(){ # Force Disable parmetis support in meson.build (configure.ac has optional switch) use !parmetis && { sed -i -e "/parmetis/Id" meson.build || die ; } + + # Disable python-wrapper tests + sed -i "/append(pywrapper_/s/./#&/" TestCases/parallel_regression.py || die + + # Copy absence mesh file + if use test ; then + cp "${S}/TestCases/nonequilibrium/viscwedge/viscwedge.su2" "${S}/TestCases/nonequilibrium/axi_visccone/" || die + fi } src_configure() { @@ -113,10 +121,10 @@ src_test() { pushd TestCases/ || die if use mpi ; then - ${EPYTHON} parallel_regression.py || die if use tutorials ; then ${EPYTHON} tutorials.py || die fi + ${EPYTHON} parallel_regression.py || die else ${EPYTHON} serial_regression.py || die fi
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 6e5b0fc2e48d639cda21b7f313085ed3024f2cf3 Author: Sergey Torokhov yandex ru> AuthorDate: Sun Sep 5 10:43:39 2021 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Sun Sep 5 10:43:39 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e5b0fc2 sci-physics/SU2: replace 'python' with '${EPYTHON}'. Add 'die' commands Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/SU2-7.1.1.ebuild | 29 + sci-physics/SU2/SU2-7.2.0.ebuild | 29 + 2 files changed, 34 insertions(+), 24 deletions(-) diff --git a/sci-physics/SU2/SU2-7.1.1.ebuild b/sci-physics/SU2/SU2-7.1.1.ebuild index 4817101c3..87b3d2328 100644 --- a/sci-physics/SU2/SU2-7.1.1.ebuild +++ b/sci-physics/SU2/SU2-7.1.1.ebuild @@ -95,11 +95,11 @@ src_configure() { } src_test() { - ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD SU2_PY/SU2_CFD - ln -s ../../${P}-build/SU2_DEF/src/SU2_DEF SU2_PY/SU2_DEF - ln -s ../../${P}-build/SU2_DOT/src/SU2_DOT SU2_PY/SU2_DOT - ln -s ../../${P}-build/SU2_GEO/src/SU2_GEO SU2_PY/SU2_GEO - ln -s ../../${P}-build/SU2_SOL/src/SU2_SOL SU2_PY/SU2_SOL + ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD SU2_PY/SU2_CFD || die + ln -s ../../${P}-build/SU2_DEF/src/SU2_DEF SU2_PY/SU2_DEF || die + ln -s ../../${P}-build/SU2_DOT/src/SU2_DOT SU2_PY/SU2_DOT || die + ln -s ../../${P}-build/SU2_GEO/src/SU2_GEO SU2_PY/SU2_GEO || die + ln -s ../../${P}-build/SU2_SOL/src/SU2_SOL SU2_PY/SU2_SOL || die export SU2_RUN="${S}/SU2_PY" export SU2_HOME="${S}" @@ -107,13 +107,18 @@ src_test() { export PYTHONPATH=$PYTHONPATH:$SU2_RUN einfo "Running UnitTests ..." - ../${P}-build/UnitTests/test_driver - - pushd TestCases/ - use mpi && python parallel_regression.py - use mpi || python serial_regression.py - use tutorials && use mpi && python tutorials.py - popd + ../${P}-build/UnitTests/test_driver || die + + pushd TestCases/ || die + if use mpi ; then + ${EPYTHON} parallel_regression.py || die + if use tutorials ; then + ${EPYTHON} tutorials.py || die + fi + else + ${EPYTHON} serial_regression.py || die + fi + popd || die } src_install() { diff --git a/sci-physics/SU2/SU2-7.2.0.ebuild b/sci-physics/SU2/SU2-7.2.0.ebuild index 84dfe6e00..e211c5388 100644 --- a/sci-physics/SU2/SU2-7.2.0.ebuild +++ b/sci-physics/SU2/SU2-7.2.0.ebuild @@ -97,11 +97,11 @@ src_configure() { } src_test() { - ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD SU2_PY/SU2_CFD - ln -s ../../${P}-build/SU2_DEF/src/SU2_DEF SU2_PY/SU2_DEF - ln -s ../../${P}-build/SU2_DOT/src/SU2_DOT SU2_PY/SU2_DOT - ln -s ../../${P}-build/SU2_GEO/src/SU2_GEO SU2_PY/SU2_GEO - ln -s ../../${P}-build/SU2_SOL/src/SU2_SOL SU2_PY/SU2_SOL + ln -s ../../${P}-build/SU2_CFD/src/SU2_CFD SU2_PY/SU2_CFD || die + ln -s ../../${P}-build/SU2_DEF/src/SU2_DEF SU2_PY/SU2_DEF || die + ln -s ../../${P}-build/SU2_DOT/src/SU2_DOT SU2_PY/SU2_DOT || die + ln -s ../../${P}-build/SU2_GEO/src/SU2_GEO SU2_PY/SU2_GEO || die + ln -s ../../${P}-build/SU2_SOL/src/SU2_SOL SU2_PY/SU2_SOL || die export SU2_RUN="${S}/SU2_PY" export SU2_HOME="${S}" @@ -109,13 +109,18 @@ src_test() { export PYTHONPATH=$PYTHONPATH:$SU2_RUN einfo "Running UnitTests ..." - ../${P}-build/UnitTests/test_driver - - pushd TestCases/ - use mpi && python parallel_regression.py - use mpi || python serial_regression.py - use tutorials && use mpi && python tutorials.py - popd + ../${P}-build/UnitTests/test_driver || die + + pushd TestCases/ || die + if use mpi ; then + ${EPYTHON} parallel_regression.py || die + if use tutorials ; then + ${EPYTHON} tutorials.py || die + fi + else + ${EPYTHON} serial_regression.py || die + fi + popd || die } src_install() {
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 4f15d50c3efc79bbaae115bf6af576568564b8b9 Author: Sergey Torokhov yandex ru> AuthorDate: Mon Mar 22 20:13:58 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Mar 22 20:13:58 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f15d50c sci-physics/SU2: drop old 7.1.0 Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest | 3 - sci-physics/SU2/SU2-7.1.0.ebuild | 119 --- 2 files changed, 122 deletions(-) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index 9fc170039..7148f13f0 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -1,6 +1,3 @@ -DIST SU2-7.1.0-TestCases.tar.gz 449701778 BLAKE2B 8a7cb400d330b4bbf62023525e6009a8c05af5a375b7479087b3b579d7f3162a11091f09294381fcd11d7bc358e77f10f69efc0999a304135f8850e3fe005000 SHA512 a0e354b073b4cfaeb47a9bd33ac66a636b12a065ca7caff4bd50c54e2b191809fd463f980568e0b7d4d559714d2dca99fe9a3e5854aa345be24010cd1239e772 -DIST SU2-7.1.0-Tutorials.tar.gz 66570840 BLAKE2B fdbc23503abd7a250464ca8da52ab87f67069d2a3fca130038c1ea83c3b18aa476fed3a21f725b142a97923b101d7906a720f6dff28341a13915ed6216660d7f SHA512 7843a7ed5b3c606ea9821745390c70bbfd3cb66a17494360b4139e8735a8e83546acd0912462b7fc3b63ff9f2097610294c1c9af25d104962f727f599cdb8ae9 -DIST SU2-7.1.0.tar.gz 20542933 BLAKE2B e6e6d82a990bf4043d1c6c58a5fe7a100a923b2c6ae6a29f7bb969e02279eeb5587f7930b2372cf67e26f451c598cf81e2515eeb7e516d6ab060ac7e986a0110 SHA512 309b4e06c5fc084ea2a06797ae400392b924c3654d354170c3159327c9e022081745bee28b1537ed3ad4e7c1333afb8c38a1ca033ff28662b8d5f5badfdc8465 DIST SU2-7.1.1-TestCases.tar.gz 453640460 BLAKE2B 661349f1690eda1f9c4438a0c03c59d4bab7a1e49965a94d1e3ba6fe54ab5f14c9eae0ae93d5027068d5d02465af72cc39e8a4319de6b888d01b0e353a2bf296 SHA512 8a30160b9c6d7f2d23c7cd88e089bcefa98b1fdeeef43060da4fe4840a7061e790f250c656b44f2e491108cf5c2701fd0dbad67e651db3d59a79f8e521c2e36d DIST SU2-7.1.1-Tutorials.tar.gz 71446250 BLAKE2B 30d4f9dda28958da80617d5ddcf635304c19f7de68a1bd5dd52ac7df84bf643d028c2ee8d2e3425f4d8a4faa06e8ed95150c51293629453c0b27101c33278a1f SHA512 7f38588effa471f705c297c5a9fb6bca344932224453cb46021a715b58f9a0d45e16edb73df9a2a079dd7bd7909bbf0236fc0dc2df11b88bfb6f3a6c7769fdfe DIST SU2-7.1.1.tar.gz 20553973 BLAKE2B a8c7f851cf570c08c345725e6660fc84683a4a7b6982edc586661847dc0b0db06f1825170afc34d85adced512c5272a0632005838ae6952be4265eb05c921bab SHA512 5980c2a24821d5e8cc83a953377d2779a158da30b6c1d2ef5db8a2b4f7a2ba555d5a35d755216a5c860e48e97b325f9687f3b2bd0c741b2d21bbcfcd31689ea9 diff --git a/sci-physics/SU2/SU2-7.1.0.ebuild b/sci-physics/SU2/SU2-7.1.0.ebuild deleted file mode 100644 index 0357fd631..0 --- a/sci-physics/SU2/SU2-7.1.0.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit meson python-single-r1 - -DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" -HOMEPAGE="https://su2code.github.io/"; -SRC_URI=" - https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz - mpp? ( https://github.com/mutationpp/Mutationpp/archive/v1.0.1.tar.gz -> mutationpp-1.0.1.tar.gz ) - test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) - tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64" - -# cgns, metis, parmetis are bundled; -# omp is disable as it's experimental; -# pastix is disabled as it's try to find bundled libs; -IUSE="cgns -mkl +mpi mpp openblas tecio test tutorials" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - mkl? ( !openblas ) -" - -RDEPEND=" - ${PYTHON_DEPS} - mpi? ( virtual/mpi[cxx] ) - mkl? ( sci-libs/mkl ) - openblas? ( sci-libs/openblas ) -" -DEPEND=" - ${RDEPEND} - tecio? ( dev-libs/boost:= ) -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" - "${FILESDIR}/${P}-fix-env.patch" -) - -DOCS=( "README.md" "SU2_PY/documentation.txt" ) - -src_unpack() { - unpack "${P}.tar.gz" - if use mpp ; then - einfo "Unpacking mutationpp-1.0.1.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/subprojects/Mutationpp" - tar -C "${P}"/subprojects/Mutationpp --strip-components=1 -xzf "${DISTDIR}/mutationpp-1.0.1.tar.gz" || die - fi - if use test ; then - einfo "Unpacking ${P}-TestCases.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/TestCases" - tar -C "${P}"/TestCases --strip-components=1 -xzf "${DISTDIR}/${P}-TestCases.tar.gz" || die - fi - if use tutorials ; then - einfo "Unpacking ${P}-Tutorials.tar.gz to /var/tmp/portage/sci-physics/${P
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/files/, sci-physics/SU2/
commit: 4f6a6e7e7832087550137e56580251d7e3f7ca58 Author: Sergey Torokhov yandex ru> AuthorDate: Wed Mar 10 20:02:19 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Mar 10 20:02:19 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f6a6e7e sci-physics/SU2: drop old 7.0.8 Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest | 4 - sci-physics/SU2/SU2-7.0.8-r1.ebuild | 115 -- sci-physics/SU2/files/SU2-7.0.8-fix-env.patch | 12 --- 3 files changed, 131 deletions(-) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index c5fb9ec1..9fc17003 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -1,7 +1,3 @@ -DIST SU2-7.0.7-TestCases.tar.gz 448969006 BLAKE2B 6c886824b55d7f8516d2ea69e2f7bef36a40986f4f715da46d91f851eb59390329433c6941a280eca34ad675633b2f1b01a897d1db8d177a5c4f770b286d0625 SHA512 0884b4f750dbcfd3f2cb0e71d6005932e4edd90a50fa84eb484f6c0c523930ddebfb3ed4315161b8fdeff911a52fa72b6d79739c8e19cd634b9823e007520213 -DIST SU2-7.0.7-Tutorials.tar.gz 64282235 BLAKE2B 7a6b780ee6f01d26a7a7d4751ca39798af56cfd7b99ca3e13fdff61aecd631a3aa4c98a487f48a8b2593c711ee25bd1ddc90a316bde2c287e95a383321f1d5e9 SHA512 189b5da96f08689b62ba3c42ee349edd2e145f371112895587e53497f16de3d6fdbf17308af39961775d76e3169c40872ced8e267146b6da5ae12d31a4c70fa9 -DIST SU2-7.0.8-fix-python-optimize.patch 104379 BLAKE2B e2cb9f58af5f600f25d01a082b55a344d3b05c455d44cfcb3370fc77546b6821d616e80f577b7af4b19ad519f086495eb6f6bde1f1712451ac477d6dd538fa0e SHA512 f21ed5fc1e61b78f3858a162a899c552777143118f05db009247c6224b06b922b6280de5725726afe21a3283a18ad9c38fc1c65dadb709d440e10cf3fe754d8c -DIST SU2-7.0.8.tar.gz 20554206 BLAKE2B ac291eeae696197f5875839defa98bde550c5250b5a5cff8049e0d1c8184c5ec6d225b77618d079a8fb3d5a7f4d0531a0b2931fd15e045299fa55c7dd03d9fd1 SHA512 26ed8c39d2dfcdb3fc4e1c986c64f683f44cd4123ce5f7a482c4557a82b04b4bd8ef1f04332ab36ad0f987cfb98053fb8b30ef81faf51c7c56aebc1a30467df9 DIST SU2-7.1.0-TestCases.tar.gz 449701778 BLAKE2B 8a7cb400d330b4bbf62023525e6009a8c05af5a375b7479087b3b579d7f3162a11091f09294381fcd11d7bc358e77f10f69efc0999a304135f8850e3fe005000 SHA512 a0e354b073b4cfaeb47a9bd33ac66a636b12a065ca7caff4bd50c54e2b191809fd463f980568e0b7d4d559714d2dca99fe9a3e5854aa345be24010cd1239e772 DIST SU2-7.1.0-Tutorials.tar.gz 66570840 BLAKE2B fdbc23503abd7a250464ca8da52ab87f67069d2a3fca130038c1ea83c3b18aa476fed3a21f725b142a97923b101d7906a720f6dff28341a13915ed6216660d7f SHA512 7843a7ed5b3c606ea9821745390c70bbfd3cb66a17494360b4139e8735a8e83546acd0912462b7fc3b63ff9f2097610294c1c9af25d104962f727f599cdb8ae9 DIST SU2-7.1.0.tar.gz 20542933 BLAKE2B e6e6d82a990bf4043d1c6c58a5fe7a100a923b2c6ae6a29f7bb969e02279eeb5587f7930b2372cf67e26f451c598cf81e2515eeb7e516d6ab060ac7e986a0110 SHA512 309b4e06c5fc084ea2a06797ae400392b924c3654d354170c3159327c9e022081745bee28b1537ed3ad4e7c1333afb8c38a1ca033ff28662b8d5f5badfdc8465 diff --git a/sci-physics/SU2/SU2-7.0.8-r1.ebuild b/sci-physics/SU2/SU2-7.0.8-r1.ebuild deleted file mode 100644 index f7e5b83f.. --- a/sci-physics/SU2/SU2-7.0.8-r1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit meson python-single-r1 - -DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" -HOMEPAGE="https://su2code.github.io/"; -SRC_URI=" - https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/band-a-prend/gentoo-overlay/raw/master/sci-physics/${PN}/files/${P}-fix-python-optimize.patch - test? ( https://github.com/su2code/TestCases/archive/v7.0.7.tar.gz -> ${PN}-7.0.7-TestCases.tar.gz ) - tutorials? ( https://github.com/su2code/Tutorials/archive/v7.0.7.tar.gz -> ${PN}-7.0.7-Tutorials.tar.gz ) -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64" - -# cgns, metis, parmetis are bundled; -# omp is disable as it's experimental; -# pastix is disabled as it's try to find bundled libs; -IUSE="cgns -mkl +mpi openblas tecio test tutorials" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - mkl? ( !openblas ) -" - -RDEPEND=" - ${PYTHON_DEPS} - mpi? ( virtual/mpi[cxx] ) - mkl? ( sci-libs/mkl ) - openblas? ( sci-libs/openblas ) -" -DEPEND=" - ${RDEPEND} - tecio? ( dev-libs/boost:= ) -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" - "${FILESDIR}/${P}-fix-env.patch" - "${DISTDIR}/${P}-fix-python-optimize.patch" -) - -DOCS=( "README.md" "SU2_PY/documentation.txt" ) - -src_unpack() { - unpack "${P}.tar.gz" - if use test ; then - einfo "Unpacking ${PN}-7.0.7-TestCases.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/TestCases" - tar -C "${P}"/TestCases --strip-c
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 9ae1019ee4e64113279f8b47830e7389944ff17c Author: Sergey Torokhov yandex ru> AuthorDate: Wed Mar 10 20:00:19 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Mar 10 20:00:19 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9ae1019e sci-physics/SU2: 7.1.1 version bump Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest | 3 + sci-physics/SU2/SU2-7.1.1.ebuild | 127 +++ 2 files changed, 130 insertions(+) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index dbfba89b..c5fb9ec1 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -5,4 +5,7 @@ DIST SU2-7.0.8.tar.gz 20554206 BLAKE2B ac291eeae696197f5875839defa98bde550c5250b DIST SU2-7.1.0-TestCases.tar.gz 449701778 BLAKE2B 8a7cb400d330b4bbf62023525e6009a8c05af5a375b7479087b3b579d7f3162a11091f09294381fcd11d7bc358e77f10f69efc0999a304135f8850e3fe005000 SHA512 a0e354b073b4cfaeb47a9bd33ac66a636b12a065ca7caff4bd50c54e2b191809fd463f980568e0b7d4d559714d2dca99fe9a3e5854aa345be24010cd1239e772 DIST SU2-7.1.0-Tutorials.tar.gz 66570840 BLAKE2B fdbc23503abd7a250464ca8da52ab87f67069d2a3fca130038c1ea83c3b18aa476fed3a21f725b142a97923b101d7906a720f6dff28341a13915ed6216660d7f SHA512 7843a7ed5b3c606ea9821745390c70bbfd3cb66a17494360b4139e8735a8e83546acd0912462b7fc3b63ff9f2097610294c1c9af25d104962f727f599cdb8ae9 DIST SU2-7.1.0.tar.gz 20542933 BLAKE2B e6e6d82a990bf4043d1c6c58a5fe7a100a923b2c6ae6a29f7bb969e02279eeb5587f7930b2372cf67e26f451c598cf81e2515eeb7e516d6ab060ac7e986a0110 SHA512 309b4e06c5fc084ea2a06797ae400392b924c3654d354170c3159327c9e022081745bee28b1537ed3ad4e7c1333afb8c38a1ca033ff28662b8d5f5badfdc8465 +DIST SU2-7.1.1-TestCases.tar.gz 453640460 BLAKE2B 661349f1690eda1f9c4438a0c03c59d4bab7a1e49965a94d1e3ba6fe54ab5f14c9eae0ae93d5027068d5d02465af72cc39e8a4319de6b888d01b0e353a2bf296 SHA512 8a30160b9c6d7f2d23c7cd88e089bcefa98b1fdeeef43060da4fe4840a7061e790f250c656b44f2e491108cf5c2701fd0dbad67e651db3d59a79f8e521c2e36d +DIST SU2-7.1.1-Tutorials.tar.gz 71446250 BLAKE2B 30d4f9dda28958da80617d5ddcf635304c19f7de68a1bd5dd52ac7df84bf643d028c2ee8d2e3425f4d8a4faa06e8ed95150c51293629453c0b27101c33278a1f SHA512 7f38588effa471f705c297c5a9fb6bca344932224453cb46021a715b58f9a0d45e16edb73df9a2a079dd7bd7909bbf0236fc0dc2df11b88bfb6f3a6c7769fdfe +DIST SU2-7.1.1.tar.gz 20553973 BLAKE2B a8c7f851cf570c08c345725e6660fc84683a4a7b6982edc586661847dc0b0db06f1825170afc34d85adced512c5272a0632005838ae6952be4265eb05c921bab SHA512 5980c2a24821d5e8cc83a953377d2779a158da30b6c1d2ef5db8a2b4f7a2ba555d5a35d755216a5c860e48e97b325f9687f3b2bd0c741b2d21bbcfcd31689ea9 DIST mutationpp-1.0.1.tar.gz 4021945 BLAKE2B caae3ca155541a36822a950047efb867aab098bc9db311d675acca272d7f317ff35524086a0ea5eda524bbe125e4874f41dc1dbad92bfee4387e3a0c649bbd0a SHA512 ba8beeb7cdaf1b526571e27f745d8d53c1e20a96bd194a5949acb8b6d5f75553867158a63bfc7198502177a9e8a91bf82a67d450a3ba72b21f8490539f45ef01 diff --git a/sci-physics/SU2/SU2-7.1.1.ebuild b/sci-physics/SU2/SU2-7.1.1.ebuild new file mode 100644 index ..f4ad34dd --- /dev/null +++ b/sci-physics/SU2/SU2-7.1.1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit meson python-single-r1 + +DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" +HOMEPAGE="https://su2code.github.io/"; +SRC_URI=" + https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz + mpp? ( https://github.com/mutationpp/Mutationpp/archive/v1.0.1.tar.gz -> mutationpp-1.0.1.tar.gz ) + test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) + tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +# cgns, metis, parmetis are bundled; +# omp is disable as it's experimental; +# pastix is disabled as it's try to find bundled libs; +IUSE="cgns -mkl +mpi mpp openblas tecio test tutorials" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + mkl? ( !openblas ) +" + +RDEPEND=" + ${PYTHON_DEPS} + mpi? ( virtual/mpi[cxx] ) + mkl? ( sci-libs/mkl ) + openblas? ( sci-libs/openblas ) +" +DEPEND=" + ${RDEPEND} + tecio? ( dev-libs/boost:= ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" + "${FILESDIR}/${PN}-7.1.0-fix-env.patch" +) + +DOCS=( "README.md" "SU2_PY/documentation.txt" ) + +src_unpack() { + unpack "${P}.tar.gz" + if use mpp ; then + einfo "Unpacking mutationpp-1.0.1.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/subprojects/Mutationpp" + tar -C "${P}"/subprojects/Mutationpp --strip-components=1 -xzf "${DISTDIR}/mutationpp-1.0.1.tar.gz" ||
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/, sci-physics/SU2/files/
commit: b1b0e1abfa3b87eb3c603a33d3cbf984f5e2274a Author: Sergey Torokhov yandex ru> AuthorDate: Sat Feb 13 12:26:26 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Feb 13 12:29:42 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1b0e1ab sci-physics/SU2: 7.1.0 version bump Fix python optimized patch isn't required now. Add optional bundled Mutation++ library support via USE="mpp" (Mutation++: MUlticomponent Thermodynamic And Transport properties for IONized gases in C++). This library could be packaged later to unbundle it. Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest | 4 + sci-physics/SU2/SU2-7.1.0.ebuild | 119 ++ sci-physics/SU2/files/SU2-7.1.0-fix-env.patch | 12 +++ sci-physics/SU2/metadata.xml | 1 + 4 files changed, 136 insertions(+) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index 7a4bd55d..dbfba89b 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -2,3 +2,7 @@ DIST SU2-7.0.7-TestCases.tar.gz 448969006 BLAKE2B 6c886824b55d7f8516d2ea69e2f7be DIST SU2-7.0.7-Tutorials.tar.gz 64282235 BLAKE2B 7a6b780ee6f01d26a7a7d4751ca39798af56cfd7b99ca3e13fdff61aecd631a3aa4c98a487f48a8b2593c711ee25bd1ddc90a316bde2c287e95a383321f1d5e9 SHA512 189b5da96f08689b62ba3c42ee349edd2e145f371112895587e53497f16de3d6fdbf17308af39961775d76e3169c40872ced8e267146b6da5ae12d31a4c70fa9 DIST SU2-7.0.8-fix-python-optimize.patch 104379 BLAKE2B e2cb9f58af5f600f25d01a082b55a344d3b05c455d44cfcb3370fc77546b6821d616e80f577b7af4b19ad519f086495eb6f6bde1f1712451ac477d6dd538fa0e SHA512 f21ed5fc1e61b78f3858a162a899c552777143118f05db009247c6224b06b922b6280de5725726afe21a3283a18ad9c38fc1c65dadb709d440e10cf3fe754d8c DIST SU2-7.0.8.tar.gz 20554206 BLAKE2B ac291eeae696197f5875839defa98bde550c5250b5a5cff8049e0d1c8184c5ec6d225b77618d079a8fb3d5a7f4d0531a0b2931fd15e045299fa55c7dd03d9fd1 SHA512 26ed8c39d2dfcdb3fc4e1c986c64f683f44cd4123ce5f7a482c4557a82b04b4bd8ef1f04332ab36ad0f987cfb98053fb8b30ef81faf51c7c56aebc1a30467df9 +DIST SU2-7.1.0-TestCases.tar.gz 449701778 BLAKE2B 8a7cb400d330b4bbf62023525e6009a8c05af5a375b7479087b3b579d7f3162a11091f09294381fcd11d7bc358e77f10f69efc0999a304135f8850e3fe005000 SHA512 a0e354b073b4cfaeb47a9bd33ac66a636b12a065ca7caff4bd50c54e2b191809fd463f980568e0b7d4d559714d2dca99fe9a3e5854aa345be24010cd1239e772 +DIST SU2-7.1.0-Tutorials.tar.gz 66570840 BLAKE2B fdbc23503abd7a250464ca8da52ab87f67069d2a3fca130038c1ea83c3b18aa476fed3a21f725b142a97923b101d7906a720f6dff28341a13915ed6216660d7f SHA512 7843a7ed5b3c606ea9821745390c70bbfd3cb66a17494360b4139e8735a8e83546acd0912462b7fc3b63ff9f2097610294c1c9af25d104962f727f599cdb8ae9 +DIST SU2-7.1.0.tar.gz 20542933 BLAKE2B e6e6d82a990bf4043d1c6c58a5fe7a100a923b2c6ae6a29f7bb969e02279eeb5587f7930b2372cf67e26f451c598cf81e2515eeb7e516d6ab060ac7e986a0110 SHA512 309b4e06c5fc084ea2a06797ae400392b924c3654d354170c3159327c9e022081745bee28b1537ed3ad4e7c1333afb8c38a1ca033ff28662b8d5f5badfdc8465 +DIST mutationpp-1.0.1.tar.gz 4021945 BLAKE2B caae3ca155541a36822a950047efb867aab098bc9db311d675acca272d7f317ff35524086a0ea5eda524bbe125e4874f41dc1dbad92bfee4387e3a0c649bbd0a SHA512 ba8beeb7cdaf1b526571e27f745d8d53c1e20a96bd194a5949acb8b6d5f75553867158a63bfc7198502177a9e8a91bf82a67d450a3ba72b21f8490539f45ef01 diff --git a/sci-physics/SU2/SU2-7.1.0.ebuild b/sci-physics/SU2/SU2-7.1.0.ebuild new file mode 100644 index ..0357fd63 --- /dev/null +++ b/sci-physics/SU2/SU2-7.1.0.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit meson python-single-r1 + +DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" +HOMEPAGE="https://su2code.github.io/"; +SRC_URI=" + https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz + mpp? ( https://github.com/mutationpp/Mutationpp/archive/v1.0.1.tar.gz -> mutationpp-1.0.1.tar.gz ) + test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) + tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +# cgns, metis, parmetis are bundled; +# omp is disable as it's experimental; +# pastix is disabled as it's try to find bundled libs; +IUSE="cgns -mkl +mpi mpp openblas tecio test tutorials" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + mkl? ( !openblas ) +" + +RDEPEND=" + ${PYTHON_DEPS} + mpi? ( virtual/mpi[cxx] ) + mkl? ( sci-libs/mkl ) + openblas? ( sci-libs/openblas ) +" +DEPEND=" + ${RDEPEND} + tecio? ( dev-libs/boost:= ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" + "${FILESDIR}/${P}-fix-env.
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 66db3c61843e58a56d2855f7b9445e3f19620bae Author: Sergey Torokhov yandex ru> AuthorDate: Tue Jan 5 13:46:02 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Jan 5 13:46:02 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66db3c61 sci-physics/SU2: 7.0.8-r1, mv fix-python-optimize.patch to external repo Due to large size of "SU2-7.0.8-fix-python-optimize.patch" move it to external repository to fetch separately. This patch is required only to generate ".pyc" files during execution "python_optimize" command on "src_install()" phase to fix "TabError: inconsistent use of tabs and spaces in indentation". Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/{SU2-7.0.8.ebuild => SU2-7.0.8-r1.ebuild} | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sci-physics/SU2/SU2-7.0.8.ebuild b/sci-physics/SU2/SU2-7.0.8-r1.ebuild similarity index 90% rename from sci-physics/SU2/SU2-7.0.8.ebuild rename to sci-physics/SU2/SU2-7.0.8-r1.ebuild index 30feedd4..f7e5b83f 100644 --- a/sci-physics/SU2/SU2-7.0.8.ebuild +++ b/sci-physics/SU2/SU2-7.0.8-r1.ebuild @@ -11,6 +11,7 @@ DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" HOMEPAGE="https://su2code.github.io/"; SRC_URI=" https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/band-a-prend/gentoo-overlay/raw/master/sci-physics/${PN}/files/${P}-fix-python-optimize.patch test? ( https://github.com/su2code/TestCases/archive/v7.0.7.tar.gz -> ${PN}-7.0.7-TestCases.tar.gz ) tutorials? ( https://github.com/su2code/Tutorials/archive/v7.0.7.tar.gz -> ${PN}-7.0.7-Tutorials.tar.gz ) " @@ -42,12 +43,12 @@ DEPEND=" BDEPEND="virtual/pkgconfig" PATCHES=( - "${FILESDIR}/${P}-fix-env.patch" "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" - "${FILESDIR}/${P}-fix-python-optimize.patch" + "${FILESDIR}/${P}-fix-env.patch" + "${DISTDIR}/${P}-fix-python-optimize.patch" ) -DOCS=( "LICENSE.md" "README.md" "SU2_PY/documentation.txt" ) +DOCS=( "README.md" "SU2_PY/documentation.txt" ) src_unpack() { unpack "${P}.tar.gz" @@ -57,7 +58,7 @@ src_unpack() { fi if use tutorials ; then einfo "Unpacking ${PN}-7.0.7-Tutorials.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}" - mkdir "${P}"/Tutorials + mkdir "${P}"/Tutorials || die tar -C "${P}"/Tutorials --strip-components=1 -xzf "${DISTDIR}/${PN}-7.0.7-Tutorials.tar.gz" || die fi } @@ -103,8 +104,8 @@ src_test() { src_install() { meson_src_install - mkdir -p "${ED}$(python_get_sitedir)" - mv "${ED}"/usr/bin/{FSI,SU2,*.py} -t "${ED}$(python_get_sitedir)" + mkdir -p "${ED}$(python_get_sitedir)" || die + mv "${ED}"/usr/bin/{FSI,SU2,*.py} -t "${ED}$(python_get_sitedir)" || die python_optimize "${D}/$(python_get_sitedir)" if use tutorials ; then
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/
commit: 52ba7eb4ccd6c6e6d696ed3e039c7c9ca991cab6 Author: Sergey Torokhov yandex ru> AuthorDate: Tue Jan 5 13:59:40 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Jan 5 13:59:40 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52ba7eb4 sci-pythics/SU2: 7.0.8 fix Manifest file with patch info Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest | 1 + 1 file changed, 1 insertion(+) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index 2fa24c27..10d45c06 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -1,3 +1,4 @@ DIST SU2-7.0.7-TestCases.tar.gz 448969006 BLAKE2B 6c886824b55d7f8516d2ea69e2f7bef36a40986f4f715da46d91f851eb59390329433c6941a280eca34ad675633b2f1b01a897d1db8d177a5c4f770b286d0625 SHA512 0884b4f750dbcfd3f2cb0e71d6005932e4edd90a50fa84eb484f6c0c523930ddebfb3ed4315161b8fdeff911a52fa72b6d79739c8e19cd634b9823e007520213 DIST SU2-7.0.7-Tutorials.tar.gz 64282235 BLAKE2B 7a6b780ee6f01d26a7a7d4751ca39798af56cfd7b99ca3e13fdff61aecd631a3aa4c98a487f48a8b2593c711ee25bd1ddc90a316bde2c287e95a383321f1d5e9 SHA512 189b5da96f08689b62ba3c42ee349edd2e145f371112895587e53497f16de3d6fdbf17308af39961775d76e3169c40872ced8e267146b6da5ae12d31a4c70fa9 DIST SU2-7.0.8.tar.gz 20554206 BLAKE2B ac291eeae696197f5875839defa98bde550c5250b5a5cff8049e0d1c8184c5ec6d225b77618d079a8fb3d5a7f4d0531a0b2931fd15e045299fa55c7dd03d9fd1 SHA512 26ed8c39d2dfcdb3fc4e1c986c64f683f44cd4123ce5f7a482c4557a82b04b4bd8ef1f04332ab36ad0f987cfb98053fb8b30ef81faf51c7c56aebc1a30467df9 +DIST SU2-7.0.8-fix-python-optimize.patch 104379 BLAKE2B e2cb9f58af5f600f25d01a082b55a344d3b05c455d44cfcb3370fc77546b6821d616e80f577b7af4b19ad519f086495eb6f6bde1f1712451ac477d6dd538fa0e SHA512 f21ed5fc1e61b78f3858a162a899c552777143118f05db009247c6224b06b922b6280de5725726afe21a3283a18ad9c38fc1c65dadb709d440e10cf3fe754d8c
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/files/, sci-physics/SU2/
commit: 3f826bf9b12a22fa0e873b7818193187f999b1b5 Author: Sergey Torokhov yandex ru> AuthorDate: Wed Dec 9 23:34:37 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Dec 9 23:34:37 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f826bf9 sci-physics/SU2: 7.0.8 version bump There are no dedicated Test and Tutorials tarballs this time. The tarbals from 7.0.7 are used. Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest |1 + sci-physics/SU2/SU2-7.0.8.ebuild | 114 + sci-physics/SU2/files/SU2-7.0.8-fix-env.patch | 12 + .../SU2/files/SU2-7.0.8-fix-python-optimize.patch | 2212 4 files changed, 2339 insertions(+) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index 876649be..7b30d7cd 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -4,3 +4,4 @@ DIST SU2-7.0.6.tar.gz 20531872 BLAKE2B 30e59bc6876223d87429b79f101a5705f989096a1 DIST SU2-7.0.7-TestCases.tar.gz 448969006 BLAKE2B 6c886824b55d7f8516d2ea69e2f7bef36a40986f4f715da46d91f851eb59390329433c6941a280eca34ad675633b2f1b01a897d1db8d177a5c4f770b286d0625 SHA512 0884b4f750dbcfd3f2cb0e71d6005932e4edd90a50fa84eb484f6c0c523930ddebfb3ed4315161b8fdeff911a52fa72b6d79739c8e19cd634b9823e007520213 DIST SU2-7.0.7-Tutorials.tar.gz 64282235 BLAKE2B 7a6b780ee6f01d26a7a7d4751ca39798af56cfd7b99ca3e13fdff61aecd631a3aa4c98a487f48a8b2593c711ee25bd1ddc90a316bde2c287e95a383321f1d5e9 SHA512 189b5da96f08689b62ba3c42ee349edd2e145f371112895587e53497f16de3d6fdbf17308af39961775d76e3169c40872ced8e267146b6da5ae12d31a4c70fa9 DIST SU2-7.0.7.tar.gz 20618138 BLAKE2B c823ea59fd28547b78c4694d45995e83c5f2c16229c40d20b951cdd62a98e13c77c07cffa87a1ec105b29a597878c7a2342c6ac90c7c9751ed20f876194a55e1 SHA512 c5dacc8b2f4ab7eb72852d8e6ae59c0800e8126faf20641135fa31ec42915b8e3553082e328b2b158e3e337f7aab0a932b6b1f875d3c0191db538bb923affcf3 +DIST SU2-7.0.8.tar.gz 20554206 BLAKE2B ac291eeae696197f5875839defa98bde550c5250b5a5cff8049e0d1c8184c5ec6d225b77618d079a8fb3d5a7f4d0531a0b2931fd15e045299fa55c7dd03d9fd1 SHA512 26ed8c39d2dfcdb3fc4e1c986c64f683f44cd4123ce5f7a482c4557a82b04b4bd8ef1f04332ab36ad0f987cfb98053fb8b30ef81faf51c7c56aebc1a30467df9 diff --git a/sci-physics/SU2/SU2-7.0.8.ebuild b/sci-physics/SU2/SU2-7.0.8.ebuild new file mode 100644 index ..5356a05b --- /dev/null +++ b/sci-physics/SU2/SU2-7.0.8.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit meson python-single-r1 + +DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" +HOMEPAGE="https://su2code.github.io/"; +SRC_URI=" + https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/su2code/TestCases/archive/v7.0.7.tar.gz -> ${PN}-7.0.7-TestCases.tar.gz ) + tutorials? ( https://github.com/su2code/Tutorials/archive/v7.0.7.tar.gz -> ${PN}-7.0.7-Tutorials.tar.gz ) +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +# cgns, metis, parmetis are bundled; +# omp is disable as it's experimental; +# pastix is disabled as it's try to find bundled libs; +IUSE="cgns -mkl +mpi openblas tecio test tutorials" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + mkl? ( !openblas ) +" + +RDEPEND=" + ${PYTHON_DEPS} + mpi? ( virtual/mpi[cxx] ) + mkl? ( sci-libs/mkl ) + openblas? ( sci-libs/openblas ) +" +DEPEND=" + ${RDEPEND} + tecio? ( dev-libs/boost:= ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-fix-env.patch" + "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" + "${FILESDIR}/${P}-fix-python-optimize.patch" +) + +DOCS=( "LICENSE.md" "README.md" "SU2_PY/documentation.txt" ) + +src_unpack() { + unpack "${P}.tar.gz" + if use test ; then + einfo "Unpacking ${PN}-7.0.7-TestCases.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/TestCases" + tar -C "${P}"/TestCases --strip-components=1 -xzf "${DISTDIR}/${PN}-7.0.7-TestCases.tar.gz" || die + fi + if use tutorials ; then + einfo "Unpacking ${PN}-7.0.7-Tutorials.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}" + mkdir "${P}"/Tutorials + tar -C "${P}"/Tutorials --strip-components=1 -xzf "${DISTDIR}/${PN}-7.0.7-Tutorials.tar.gz" || die + fi +} + +src_configure() { + local emesonargs=( + -Denable-autodiff=false + -Denable-directdiff=false + -Denable-pastix=false + -Denable-pywrapper=false + -Dwith-omp=false + $(meson_feature mpi with-mpi) + $(meson_use cgns enable-cgns) + $(meson_use mkl enable-mkl) + $(meson_use openblas enable-openblas) +
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/, sci-physics/SU2/files/
commit: 4cd820043758ecf6082d0a3b3ddfa5373fccac13 Author: Sergey Torokhov yandex ru> AuthorDate: Wed Oct 21 21:06:06 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Oct 21 21:23:27 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4cd82004 sci-physics/SU2: 7.0.7 version bump Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest |3 + sci-physics/SU2/SU2-7.0.7.ebuild | 114 + sci-physics/SU2/files/SU2-7.0.7-fix-env.patch | 12 + .../SU2/files/SU2-7.0.7-fix-python-optimize.patch | 2212 4 files changed, 2341 insertions(+) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index b68e4c98..876649be 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -1,3 +1,6 @@ DIST SU2-7.0.6-TestCases.tar.gz 447944839 BLAKE2B 5212ef7bf69bb40120ca2af99a02f2a89ae6cc0a1e048e57409ee1d2911f930452f4a5ef668126d6b7144c3f81d50bdadd0bcc810f0472740ccbbb6605e5a07d SHA512 c976450e7e17df58b47cbf14d18c4435f977a70dc086d5b74ea584ae14b3204632ef87b2dce6a456396179f1b72ef8eba83065a42d978b8d6966d5446decbd3c DIST SU2-7.0.6-Tutorials.tar.gz 64282244 BLAKE2B 3b0ce136c9fa5c3e0ffc585e28b1a60470eeaf2518cbef539fccc185f79cd41a889e3c3c8a0ada3f488cfe1d2d0115e2768267c6ef4502b882b07f909f6f382c SHA512 4aaf39b98cbbe4c9e12d78027b0ee2b3d30fd614d1e48092d8bfd25c312a06a1621b2192653a7d8ac767762b06ae339ab6fb77e81f833efdb419ce09f92dec2f DIST SU2-7.0.6.tar.gz 20531872 BLAKE2B 30e59bc6876223d87429b79f101a5705f989096a1b81725aa20012567d15b08b6a8a24140cc76b35c6c3657a1d6afa85d56da699ab38dac85714e296d7ad8531 SHA512 a4619dd969c6d9cb20de1d373c8e0af9d56654f9f96d919662897db4c3c8bf52b45fb1239065d480ba1b4f05ba7a17c9540ff3fe47fb0d96864736200cda8bcc +DIST SU2-7.0.7-TestCases.tar.gz 448969006 BLAKE2B 6c886824b55d7f8516d2ea69e2f7bef36a40986f4f715da46d91f851eb59390329433c6941a280eca34ad675633b2f1b01a897d1db8d177a5c4f770b286d0625 SHA512 0884b4f750dbcfd3f2cb0e71d6005932e4edd90a50fa84eb484f6c0c523930ddebfb3ed4315161b8fdeff911a52fa72b6d79739c8e19cd634b9823e007520213 +DIST SU2-7.0.7-Tutorials.tar.gz 64282235 BLAKE2B 7a6b780ee6f01d26a7a7d4751ca39798af56cfd7b99ca3e13fdff61aecd631a3aa4c98a487f48a8b2593c711ee25bd1ddc90a316bde2c287e95a383321f1d5e9 SHA512 189b5da96f08689b62ba3c42ee349edd2e145f371112895587e53497f16de3d6fdbf17308af39961775d76e3169c40872ced8e267146b6da5ae12d31a4c70fa9 +DIST SU2-7.0.7.tar.gz 20618138 BLAKE2B c823ea59fd28547b78c4694d45995e83c5f2c16229c40d20b951cdd62a98e13c77c07cffa87a1ec105b29a597878c7a2342c6ac90c7c9751ed20f876194a55e1 SHA512 c5dacc8b2f4ab7eb72852d8e6ae59c0800e8126faf20641135fa31ec42915b8e3553082e328b2b158e3e337f7aab0a932b6b1f875d3c0191db538bb923affcf3 diff --git a/sci-physics/SU2/SU2-7.0.7.ebuild b/sci-physics/SU2/SU2-7.0.7.ebuild new file mode 100644 index ..9e7077f6 --- /dev/null +++ b/sci-physics/SU2/SU2-7.0.7.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit meson python-single-r1 + +DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" +HOMEPAGE="https://su2code.github.io/"; +SRC_URI=" + https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) + tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +# cgns, metis, parmetis are bundled; +# omp is disable as it's experimental; +# pastix is disabled as it's try to find bundled libs; +IUSE="cgns -mkl +mpi openblas tecio test tutorials" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + mkl? ( !openblas ) +" + +RDEPEND=" + ${PYTHON_DEPS} + mpi? ( virtual/mpi[cxx] ) + mkl? ( sci-libs/mkl ) + openblas? ( sci-libs/openblas ) +" +DEPEND=" + ${RDEPEND} + tecio? ( dev-libs/boost:= ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-fix-env.patch" + "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" + "${FILESDIR}/${P}-fix-python-optimize.patch" +) + +DOCS=( "LICENSE.md" "README.md" "SU2_PY/documentation.txt" ) + +src_unpack() { + unpack "${P}.tar.gz" + if use test ; then + einfo "Unpacking ${P}-TestCases.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/TestCases" + tar -C "${P}"/TestCases --strip-components=1 -xzf "${DISTDIR}/${P}-TestCases.tar.gz" || die + fi + if use tutorials ; then + einfo "Unpacking ${P}-Tutorials.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}" + mkdir "${P}"/Tutorials + tar -C "${P}"/Tutorials --strip-components=1 -xzf "${DISTDIR}/${P}-Tutorials.tar.gz" || die + fi +} + +src_configure() { +
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/files/, sci-physics/SU2/
commit: 5ab4e541e928cbd52d090ae680857ff72ee4dd2f Author: Sergey Torokhov yandex ru> AuthorDate: Sat Oct 10 00:27:53 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Oct 10 00:27:53 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5ab4e541 sci-physics/SU2: drop old Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest | 6 -- sci-physics/SU2/SU2-7.0.4.ebuild | 112 - sci-physics/SU2/SU2-7.0.5.ebuild | 115 -- sci-physics/SU2/files/SU2-7.0.4-fix-env.patch | 24 -- sci-physics/SU2/files/SU2-7.0.5-fix-env.patch | 12 --- 5 files changed, 269 deletions(-) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index a4481036..b68e4c98 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -1,9 +1,3 @@ -DIST SU2-7.0.4-TestCases.tar.gz 437960103 BLAKE2B 2469edc23f62589fa18be5fff6e036965f6b5f6e2be207642d318aac4d2044c07f0891568f86c1a3ab065e79afce50cc73ad0857b82093d79ac28a4d0451a4ad SHA512 f21d963815e024582e99647a21ebae0b17fc69f75bc34bb72cc3a86cc9ff8502342b31755b5da73e7088b4d0ce430bdd6b4efefc03583cbfcf5156c1849328e1 -DIST SU2-7.0.4-Tutorials.tar.gz 64282233 BLAKE2B b0d13a0988d5617868fad6098fe8110e3600415f05784ff04416cb23162fadc8c1d06d50c5200b14f65afb3e97ee766b21dfdcd4ec8ded9026baf510ca829e48 SHA512 604a05e15a8eae1c7255016261a6576a97fc364f66004ecaccaae932e3a97624c2599d354dd874562824caa8f8ea3dac2f03e0105b1c27d66ec0bf59e3a27105 -DIST SU2-7.0.4.tar.gz 20516147 BLAKE2B 21f45e4918bbc6a72bf47ad61d3301abed50a7cf569e9e8d4040201ff653e583d50a547853365302671922f023d0cc6f3735c1afcd0f3b6bf3c3fc92dc807787 SHA512 8e69f0e1d335adef0bd98666c98e29bc15ee0d7a0fcbbbc91a1ba02275ca52fda7f8f47434547f7982ce0e73a6ff78bd2ed57ca328d1e87b8afdd3b0a698d262 -DIST SU2-7.0.5-TestCases.tar.gz 444209661 BLAKE2B a7b14a3ee679a28a3a4530ddca45f39fdc2c0bc5f29fe20e6c9f04d03dee6ca08f98648989b0160ee8742621b539e2f4af9e8bdfb802c3e460a9f3b7e1be3dda SHA512 f21acbaccce66685323566a3f856ceb5fbd36764a8dea875af839520b46be8f7e26491ccb855243f93e4ae948534574080e986faafc2a84c86754fe39f74e240 -DIST SU2-7.0.5-Tutorials.tar.gz 64282246 BLAKE2B 9c8823df5bbda1be80f03dfa6d9de4b4263904acbee15f6928d3758a9b25c84ace59bf02847798838cbf3236961f51589e851e342f288961b2f2a62e28de216c SHA512 2b7c98cc4d060c850572e45418d4ddf38843ced3349a3fb807c1d32f0e5aabf578f8944918e3fc63a32161385eaf69b4742d24ef41d21b43006d5b881a89953b -DIST SU2-7.0.5.tar.gz 20526328 BLAKE2B 0c3b16269f9d8356eaecde991853fe184188b98df62186c56780ee34b26995763adbac0acca53db1625ac9b0dfadc3348eac792e700e66be00a174ff056e017d SHA512 283da35aa4f6bac4d7451506c6b84d98a18dfe7630adfc17764511fba8171b15c36ee80807bbfc1c55e39e196f8ed304fff3eb1182dfac15aa6a86a9613e51ad DIST SU2-7.0.6-TestCases.tar.gz 447944839 BLAKE2B 5212ef7bf69bb40120ca2af99a02f2a89ae6cc0a1e048e57409ee1d2911f930452f4a5ef668126d6b7144c3f81d50bdadd0bcc810f0472740ccbbb6605e5a07d SHA512 c976450e7e17df58b47cbf14d18c4435f977a70dc086d5b74ea584ae14b3204632ef87b2dce6a456396179f1b72ef8eba83065a42d978b8d6966d5446decbd3c DIST SU2-7.0.6-Tutorials.tar.gz 64282244 BLAKE2B 3b0ce136c9fa5c3e0ffc585e28b1a60470eeaf2518cbef539fccc185f79cd41a889e3c3c8a0ada3f488cfe1d2d0115e2768267c6ef4502b882b07f909f6f382c SHA512 4aaf39b98cbbe4c9e12d78027b0ee2b3d30fd614d1e48092d8bfd25c312a06a1621b2192653a7d8ac767762b06ae339ab6fb77e81f833efdb419ce09f92dec2f DIST SU2-7.0.6.tar.gz 20531872 BLAKE2B 30e59bc6876223d87429b79f101a5705f989096a1b81725aa20012567d15b08b6a8a24140cc76b35c6c3657a1d6afa85d56da699ab38dac85714e296d7ad8531 SHA512 a4619dd969c6d9cb20de1d373c8e0af9d56654f9f96d919662897db4c3c8bf52b45fb1239065d480ba1b4f05ba7a17c9540ff3fe47fb0d96864736200cda8bcc diff --git a/sci-physics/SU2/SU2-7.0.4.ebuild b/sci-physics/SU2/SU2-7.0.4.ebuild deleted file mode 100644 index c76208dc.. --- a/sci-physics/SU2/SU2-7.0.4.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit meson python-single-r1 - -DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" -HOMEPAGE="https://su2code.github.io/"; -SRC_URI=" - https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz - test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) - tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="cgns -mkl +mpi openblas tecio test tutorials" -RESTRICT="!test? ( test )" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - mkl? ( !openblas ) -" - -RDEPEND=" - ${PYTHON_DEPS} - mpi? ( virtual/mpi[cxx] ) - mkl? ( sci-libs/mkl ) - openblas? ( sci-libs/openblas ) -" -DEPEND=" - ${RDEPEND} - tecio? ( dev-libs/boost:= ) -" -BDEPEND="virtua
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/files/, sci-physics/SU2/
commit: cf1b13bcfb31ad502dce94232ef5200c54131194 Author: Sergey Torokhov yandex ru> AuthorDate: Mon Jul 13 18:58:12 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Jul 13 18:58:12 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf1b13bc sci-physics/SU2: 7.0.6 version bump Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest | 3 + sci-physics/SU2/SU2-7.0.6.ebuild | 115 ++ sci-physics/SU2/files/SU2-7.0.6-fix-env.patch | 12 +++ 3 files changed, 130 insertions(+) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index 87318f5..a448103 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -4,3 +4,6 @@ DIST SU2-7.0.4.tar.gz 20516147 BLAKE2B 21f45e4918bbc6a72bf47ad61d3301abed50a7cf5 DIST SU2-7.0.5-TestCases.tar.gz 444209661 BLAKE2B a7b14a3ee679a28a3a4530ddca45f39fdc2c0bc5f29fe20e6c9f04d03dee6ca08f98648989b0160ee8742621b539e2f4af9e8bdfb802c3e460a9f3b7e1be3dda SHA512 f21acbaccce66685323566a3f856ceb5fbd36764a8dea875af839520b46be8f7e26491ccb855243f93e4ae948534574080e986faafc2a84c86754fe39f74e240 DIST SU2-7.0.5-Tutorials.tar.gz 64282246 BLAKE2B 9c8823df5bbda1be80f03dfa6d9de4b4263904acbee15f6928d3758a9b25c84ace59bf02847798838cbf3236961f51589e851e342f288961b2f2a62e28de216c SHA512 2b7c98cc4d060c850572e45418d4ddf38843ced3349a3fb807c1d32f0e5aabf578f8944918e3fc63a32161385eaf69b4742d24ef41d21b43006d5b881a89953b DIST SU2-7.0.5.tar.gz 20526328 BLAKE2B 0c3b16269f9d8356eaecde991853fe184188b98df62186c56780ee34b26995763adbac0acca53db1625ac9b0dfadc3348eac792e700e66be00a174ff056e017d SHA512 283da35aa4f6bac4d7451506c6b84d98a18dfe7630adfc17764511fba8171b15c36ee80807bbfc1c55e39e196f8ed304fff3eb1182dfac15aa6a86a9613e51ad +DIST SU2-7.0.6-TestCases.tar.gz 447944839 BLAKE2B 5212ef7bf69bb40120ca2af99a02f2a89ae6cc0a1e048e57409ee1d2911f930452f4a5ef668126d6b7144c3f81d50bdadd0bcc810f0472740ccbbb6605e5a07d SHA512 c976450e7e17df58b47cbf14d18c4435f977a70dc086d5b74ea584ae14b3204632ef87b2dce6a456396179f1b72ef8eba83065a42d978b8d6966d5446decbd3c +DIST SU2-7.0.6-Tutorials.tar.gz 64282244 BLAKE2B 3b0ce136c9fa5c3e0ffc585e28b1a60470eeaf2518cbef539fccc185f79cd41a889e3c3c8a0ada3f488cfe1d2d0115e2768267c6ef4502b882b07f909f6f382c SHA512 4aaf39b98cbbe4c9e12d78027b0ee2b3d30fd614d1e48092d8bfd25c312a06a1621b2192653a7d8ac767762b06ae339ab6fb77e81f833efdb419ce09f92dec2f +DIST SU2-7.0.6.tar.gz 20531872 BLAKE2B 30e59bc6876223d87429b79f101a5705f989096a1b81725aa20012567d15b08b6a8a24140cc76b35c6c3657a1d6afa85d56da699ab38dac85714e296d7ad8531 SHA512 a4619dd969c6d9cb20de1d373c8e0af9d56654f9f96d919662897db4c3c8bf52b45fb1239065d480ba1b4f05ba7a17c9540ff3fe47fb0d96864736200cda8bcc diff --git a/sci-physics/SU2/SU2-7.0.6.ebuild b/sci-physics/SU2/SU2-7.0.6.ebuild new file mode 100644 index 000..d8a4c42 --- /dev/null +++ b/sci-physics/SU2/SU2-7.0.6.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit meson python-single-r1 + +DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" +HOMEPAGE="https://su2code.github.io/"; +SRC_URI=" + https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) + tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +# cgns, metis, parmetis are bundled; +# omp is disable as it's experimental; +# pastix is disabled as it's try to find bundled libs; +IUSE="cgns -mkl +mpi openblas tecio test tutorials" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + mkl? ( !openblas ) +" + +RDEPEND=" + ${PYTHON_DEPS} + mpi? ( virtual/mpi[cxx] ) + mkl? ( sci-libs/mkl ) + openblas? ( sci-libs/openblas ) +" +DEPEND=" + ${RDEPEND} + tecio? ( dev-libs/boost:= ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-fix-env.patch" + "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" + "${FILESDIR}/${PN}-7.0.4-fix-python-optimize.patch" +) + +DOCS=( "LICENSE.md" "README.md" "SU2_PY/documentation.txt" ) + +src_unpack() { + unpack "${P}.tar.gz" + if use test ; then + einfo "Unpacking ${P}-TestCases.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/TestCases" + tar -C "${P}"/TestCases --strip-components=1 -xzf "${DISTDIR}/${P}-TestCases.tar.gz" || die + fi + if use tutorials ; then + einfo "Unpacking ${P}-Tutorials.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}" + mkdir "${P}"/Tutorials + tar -C "${P}"/Tutorials --strip-components=1 -xzf "${DISTDIR}/${P}-Tutorials.tar.gz" || die + fi +} + +src_co
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/, sci-physics/SU2/files/
commit: d98f35a18e0df831b2c2ef37bac5152591800710 Author: Sergey Torokhov yandex ru> AuthorDate: Tue Jun 16 14:32:41 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Jun 16 14:32:41 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d98f35a1 sci-physics/SU2: 7.0.5 version bump Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest | 3 + sci-physics/SU2/SU2-7.0.5.ebuild | 115 ++ sci-physics/SU2/files/SU2-7.0.5-fix-env.patch | 12 +++ 3 files changed, 130 insertions(+) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest index 6ebe00f..87318f5 100644 --- a/sci-physics/SU2/Manifest +++ b/sci-physics/SU2/Manifest @@ -1,3 +1,6 @@ DIST SU2-7.0.4-TestCases.tar.gz 437960103 BLAKE2B 2469edc23f62589fa18be5fff6e036965f6b5f6e2be207642d318aac4d2044c07f0891568f86c1a3ab065e79afce50cc73ad0857b82093d79ac28a4d0451a4ad SHA512 f21d963815e024582e99647a21ebae0b17fc69f75bc34bb72cc3a86cc9ff8502342b31755b5da73e7088b4d0ce430bdd6b4efefc03583cbfcf5156c1849328e1 DIST SU2-7.0.4-Tutorials.tar.gz 64282233 BLAKE2B b0d13a0988d5617868fad6098fe8110e3600415f05784ff04416cb23162fadc8c1d06d50c5200b14f65afb3e97ee766b21dfdcd4ec8ded9026baf510ca829e48 SHA512 604a05e15a8eae1c7255016261a6576a97fc364f66004ecaccaae932e3a97624c2599d354dd874562824caa8f8ea3dac2f03e0105b1c27d66ec0bf59e3a27105 DIST SU2-7.0.4.tar.gz 20516147 BLAKE2B 21f45e4918bbc6a72bf47ad61d3301abed50a7cf569e9e8d4040201ff653e583d50a547853365302671922f023d0cc6f3735c1afcd0f3b6bf3c3fc92dc807787 SHA512 8e69f0e1d335adef0bd98666c98e29bc15ee0d7a0fcbbbc91a1ba02275ca52fda7f8f47434547f7982ce0e73a6ff78bd2ed57ca328d1e87b8afdd3b0a698d262 +DIST SU2-7.0.5-TestCases.tar.gz 444209661 BLAKE2B a7b14a3ee679a28a3a4530ddca45f39fdc2c0bc5f29fe20e6c9f04d03dee6ca08f98648989b0160ee8742621b539e2f4af9e8bdfb802c3e460a9f3b7e1be3dda SHA512 f21acbaccce66685323566a3f856ceb5fbd36764a8dea875af839520b46be8f7e26491ccb855243f93e4ae948534574080e986faafc2a84c86754fe39f74e240 +DIST SU2-7.0.5-Tutorials.tar.gz 64282246 BLAKE2B 9c8823df5bbda1be80f03dfa6d9de4b4263904acbee15f6928d3758a9b25c84ace59bf02847798838cbf3236961f51589e851e342f288961b2f2a62e28de216c SHA512 2b7c98cc4d060c850572e45418d4ddf38843ced3349a3fb807c1d32f0e5aabf578f8944918e3fc63a32161385eaf69b4742d24ef41d21b43006d5b881a89953b +DIST SU2-7.0.5.tar.gz 20526328 BLAKE2B 0c3b16269f9d8356eaecde991853fe184188b98df62186c56780ee34b26995763adbac0acca53db1625ac9b0dfadc3348eac792e700e66be00a174ff056e017d SHA512 283da35aa4f6bac4d7451506c6b84d98a18dfe7630adfc17764511fba8171b15c36ee80807bbfc1c55e39e196f8ed304fff3eb1182dfac15aa6a86a9613e51ad diff --git a/sci-physics/SU2/SU2-7.0.5.ebuild b/sci-physics/SU2/SU2-7.0.5.ebuild new file mode 100644 index 000..d8a4c42 --- /dev/null +++ b/sci-physics/SU2/SU2-7.0.5.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit meson python-single-r1 + +DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" +HOMEPAGE="https://su2code.github.io/"; +SRC_URI=" + https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) + tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +# cgns, metis, parmetis are bundled; +# omp is disable as it's experimental; +# pastix is disabled as it's try to find bundled libs; +IUSE="cgns -mkl +mpi openblas tecio test tutorials" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + mkl? ( !openblas ) +" + +RDEPEND=" + ${PYTHON_DEPS} + mpi? ( virtual/mpi[cxx] ) + mkl? ( sci-libs/mkl ) + openblas? ( sci-libs/openblas ) +" +DEPEND=" + ${RDEPEND} + tecio? ( dev-libs/boost:= ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-fix-env.patch" + "${FILESDIR}/${PN}-7.0.4-unbundle_boost.patch" + "${FILESDIR}/${PN}-7.0.4-fix-python-optimize.patch" +) + +DOCS=( "LICENSE.md" "README.md" "SU2_PY/documentation.txt" ) + +src_unpack() { + unpack "${P}.tar.gz" + if use test ; then + einfo "Unpacking ${P}-TestCases.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/TestCases" + tar -C "${P}"/TestCases --strip-components=1 -xzf "${DISTDIR}/${P}-TestCases.tar.gz" || die + fi + if use tutorials ; then + einfo "Unpacking ${P}-Tutorials.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}" + mkdir "${P}"/Tutorials + tar -C "${P}"/Tutorials --strip-components=1 -xzf "${DISTDIR}/${P}-Tutorials.tar.gz" || die + fi +} + +src_configure() { + local emesonargs=( + -Denable-autodiff=false +
[gentoo-commits] repo/proj/guru:master commit in: sci-physics/SU2/files/, sci-physics/SU2/
commit: 021c7068ab1f61ef171029cbb243d13f1b33237e Author: Sergey Torokhov yandex ru> AuthorDate: Mon May 11 22:56:45 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon May 11 22:56:45 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=021c7068 sci-physics/SU2: new package The SU2 package contains several bunbled libraries that currently aren't unbundled in ebuild. CGNS: Tried to unbundled CNGS but it failed to compiled against system gcnslib-3.3.0; successfully compiled against cgnslib-3.4.0 but related tests are failed. Metis, Parmetis: This packages couldn't be installed simultaneously in Gentoo and required by build system if compiled via meson build system with mpi option being enabled. They could be optionaly chosen if autotools build system is used (ebuild uses meson). Some addidional features disabled due to their experimantal status or due to requirement to download additional third-party libraries. At this moment ebuild doesn't provide such features to be built. They are also will be bundled if implemented and compiled statically. Signed-off-by: Sergey Torokhov yandex.ru> sci-physics/SU2/Manifest |3 + sci-physics/SU2/SU2-7.0.4.ebuild | 112 + sci-physics/SU2/files/SU2-7.0.4-fix-env.patch | 24 + .../SU2/files/SU2-7.0.4-fix-python-optimize.patch | 2302 .../SU2/files/SU2-7.0.4-unbundle_boost.patch | 31 + sci-physics/SU2/metadata.xml | 28 + 6 files changed, 2500 insertions(+) diff --git a/sci-physics/SU2/Manifest b/sci-physics/SU2/Manifest new file mode 100644 index 000..6ebe00f --- /dev/null +++ b/sci-physics/SU2/Manifest @@ -0,0 +1,3 @@ +DIST SU2-7.0.4-TestCases.tar.gz 437960103 BLAKE2B 2469edc23f62589fa18be5fff6e036965f6b5f6e2be207642d318aac4d2044c07f0891568f86c1a3ab065e79afce50cc73ad0857b82093d79ac28a4d0451a4ad SHA512 f21d963815e024582e99647a21ebae0b17fc69f75bc34bb72cc3a86cc9ff8502342b31755b5da73e7088b4d0ce430bdd6b4efefc03583cbfcf5156c1849328e1 +DIST SU2-7.0.4-Tutorials.tar.gz 64282233 BLAKE2B b0d13a0988d5617868fad6098fe8110e3600415f05784ff04416cb23162fadc8c1d06d50c5200b14f65afb3e97ee766b21dfdcd4ec8ded9026baf510ca829e48 SHA512 604a05e15a8eae1c7255016261a6576a97fc364f66004ecaccaae932e3a97624c2599d354dd874562824caa8f8ea3dac2f03e0105b1c27d66ec0bf59e3a27105 +DIST SU2-7.0.4.tar.gz 20516147 BLAKE2B 21f45e4918bbc6a72bf47ad61d3301abed50a7cf569e9e8d4040201ff653e583d50a547853365302671922f023d0cc6f3735c1afcd0f3b6bf3c3fc92dc807787 SHA512 8e69f0e1d335adef0bd98666c98e29bc15ee0d7a0fcbbbc91a1ba02275ca52fda7f8f47434547f7982ce0e73a6ff78bd2ed57ca328d1e87b8afdd3b0a698d262 diff --git a/sci-physics/SU2/SU2-7.0.4.ebuild b/sci-physics/SU2/SU2-7.0.4.ebuild new file mode 100644 index 000..1884b11 --- /dev/null +++ b/sci-physics/SU2/SU2-7.0.4.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit meson python-single-r1 + +DESCRIPTION="SU2: An Open-Source Suite for Multiphysics Simulation and Design" +HOMEPAGE="https://su2code.github.io/"; +SRC_URI=" + https://github.com/su2code/SU2/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/su2code/TestCases/archive/v${PV}.tar.gz -> ${P}-TestCases.tar.gz ) + tutorials? ( https://github.com/su2code/Tutorials/archive/v${PV}.tar.gz -> ${P}-Tutorials.tar.gz ) +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="cgns -mkl +mpi openblas tecio test tutorials" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + mkl? ( !openblas ) +" + +RDEPEND=" + ${PYTHON_DEPS} + mpi? ( virtual/mpi[cxx] ) + mkl? ( sci-libs/mkl ) + openblas? ( sci-libs/openblas ) +" +DEPEND=" + ${RDEPEND} + tecio? ( dev-libs/boost:= ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${P}-fix-env.patch" + "${FILESDIR}/${P}-unbundle_boost.patch" + "${FILESDIR}/${P}-fix-python-optimize.patch" +) + +DOCS=( "LICENSE.md" "README.md" "SU2_PY/documentation.txt" ) + +src_unpack() { + unpack "${P}.tar.gz" + if use test ; then + einfo "Unpacking ${P}-TestCases.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}/TestCases" + tar -C "${P}"/TestCases --strip-components=1 -xzf "${DISTDIR}/${P}-TestCases.tar.gz" || die + fi + if use tutorials ; then + einfo "Unpacking ${P}-Tutorials.tar.gz to /var/tmp/portage/sci-physics/${P}/work/${P}" + mkdir "${P}"/Tutorials + tar -C "${P}"/Tutorials --strip-components=1 -xzf "${DISTDIR}/${P}-Tutorials.tar.gz" || die + fi +} + +src_configure() { + local emesonargs=( + -Denable-autodiff=false + -Denable-directdiff=false + -Denable-pastix=false + -Denable-pywrapper=false +