From 6c5b0512152321336421f1156adf89f6772a0b77 Mon Sep 17 00:00:00 2001 From: krande Date: Mon, 28 Aug 2023 10:19:11 +0200 Subject: [PATCH 01/18] initial commit --- recipes/mgis/build.sh | 28 +++++++++++++ recipes/mgis/conda_build_config.yaml | 31 ++++++++++++++ recipes/mgis/meta.yaml | 60 ++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 recipes/mgis/build.sh create mode 100644 recipes/mgis/conda_build_config.yaml create mode 100644 recipes/mgis/meta.yaml diff --git a/recipes/mgis/build.sh b/recipes/mgis/build.sh new file mode 100644 index 0000000000000..57bbebda40e93 --- /dev/null +++ b/recipes/mgis/build.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +mkdir build +cd build + +export TFELHOME="${PREFIX}" +python_version="${CONDA_PY:0:1}.${CONDA_PY:1:2}" + +cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -Denable-c-bindings=OFF \ + -Denable-fortran-bindings=OFF \ + -Denable-python-bindings=ON \ + -Denable-portable-build=ON \ + -Denable-julia-bindings=OFF \ + -Denable-website=OFF \ + -Denable-broken-boost-python-module-visibility-handling=ON \ + -DPYTHONLIBS_VERSION_STRING="${CONDA_PY}" \ + -DPython_ADDITIONAL_VERSIONS="${python_version}" \ + -DPYTHON_EXECUTABLE:FILEPATH="${PREFIX}/bin/python" \ + -DPYTHON_LIBRARY:FILEPATH="${PREFIX}/lib/libpython${python_version}.so" \ + -DPYTHON_LIBRARY_PATH:PATH="${PREFIX}/lib" \ + -DPYTHON_INCLUDE_DIRS:PATH="${PREFIX}/include" \ + -DUSE_EXTERNAL_COMPILER_FLAGS=ON \ + -DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" + +make +make install \ No newline at end of file diff --git a/recipes/mgis/conda_build_config.yaml b/recipes/mgis/conda_build_config.yaml new file mode 100644 index 0000000000000..90fe72ac8a70e --- /dev/null +++ b/recipes/mgis/conda_build_config.yaml @@ -0,0 +1,31 @@ +c_compiler: + - gcc # [unix] +c_compiler_version: + - 8 # [unix] +cxx_compiler: + - gxx # [unix] +cxx_compiler_version: + - 8 # [unix] +fortran_compiler: + - gfortran # [unix] +fortran_compiler_version: + - 8 # [unix] + +pin_run_as_build: + gcc: + max_pin: x.x + gxx: + max_pin: x.x + gfortran: + max_pin: x.x + numpy: + max_pin: x.x + boost: + max_pin: x.x.x + mfront: + max_pin: x.x.x + +numpy: + - '1.23' +boost: + - 1.78 diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml new file mode 100644 index 0000000000000..112db147998bb --- /dev/null +++ b/recipes/mgis/meta.yaml @@ -0,0 +1,60 @@ +{% set name = "mgis" %} +{% set version = "2.1" %} +{% set mfront_ver = "4.1.0" %} + +package: + name: '{{ name|lower }}' + version: '{{ version }}' + +source: + - fn: '{{ name }}_{{ version }}.tar.gz' + url: https://github.com/thelfer/MFrontGenericInterfaceSupport/archive/refs/tags/MFrontGenericInterfaceSupport-{{ version }}.tar.gz + sha256: f5b556aab130da0c423f395fe4c35d6bf509dd8fc958242f2e37ea788464aea9 + +build: + number: 2 + detect_binary_files_with_prefix: true + skip: true # [py2k or osx or win or (python_impl == 'pypy')] + +requirements: + build: + - "{{ compiler('c') }}" + - "{{ compiler('cxx') }}" + - "{{ compiler('fortran') }}" + - cmake >=3.26.4 + - autoconf + - python + - numpy + + host: + - python + - numpy + - boost + - mfront {{ mfront_ver }} + + run: + - numpy + - boost + - mfront {{ mfront_ver }} + - python + +test: + commands: + # Check for libMFrontGenericInterface.so library + - test -f $PREFIX/lib/libMFrontGenericInterface.so + # Check for mgis and mgis-version executables + - mgis --version # or whatever command to verify its presence +# + + +about: + home: https://thelfer.github.io/mgis/web/index.html + license: LGPL-3.0 and CeCILL-C_V1 + summary: 'MGIS - MFrontGenericInterfaceSupport ' + description: | + This project aims at proving tools (functions, classes, bindings, etc…) to handle behaviours written using MFront generic interface + doc_url: https://github.com/thelfer/MFrontGenericInterfaceSupport + +extra: + recipe-maintainers: + - Krande \ No newline at end of file From 0e34b2addbb7e93e5c3f36880dbe6d576aee4677 Mon Sep 17 00:00:00 2001 From: krande Date: Mon, 28 Aug 2023 10:23:46 +0200 Subject: [PATCH 02/18] add references to license files --- recipes/mgis/meta.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index 112db147998bb..d4af20a8a5492 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -50,6 +50,10 @@ test: about: home: https://thelfer.github.io/mgis/web/index.html license: LGPL-3.0 and CeCILL-C_V1 + license_file: + - LGPL-3.0.txt + - CeCILL-C_V1-en.txt + - CeCILL-C_V1-fr.txt summary: 'MGIS - MFrontGenericInterfaceSupport ' description: | This project aims at proving tools (functions, classes, bindings, etc…) to handle behaviours written using MFront generic interface From 1c084e7ebe6030d6ac21a9f012d69b3566e258bf Mon Sep 17 00:00:00 2001 From: krande Date: Mon, 28 Aug 2023 10:25:15 +0200 Subject: [PATCH 03/18] reset build number --- recipes/mgis/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index d4af20a8a5492..c0299bc0bd952 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -12,7 +12,7 @@ source: sha256: f5b556aab130da0c423f395fe4c35d6bf509dd8fc958242f2e37ea788464aea9 build: - number: 2 + number: 0 detect_binary_files_with_prefix: true skip: true # [py2k or osx or win or (python_impl == 'pypy')] From 0be892c8465db1772bb26a2e0e658c4b271449bc Mon Sep 17 00:00:00 2001 From: krande Date: Mon, 28 Aug 2023 10:35:33 +0200 Subject: [PATCH 04/18] update tests so they are passing --- recipes/mgis/meta.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index c0299bc0bd952..7328bb25e3ebe 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -42,9 +42,6 @@ test: commands: # Check for libMFrontGenericInterface.so library - test -f $PREFIX/lib/libMFrontGenericInterface.so - # Check for mgis and mgis-version executables - - mgis --version # or whatever command to verify its presence -# about: From e022f675da882cf733f25dab0337e646b6a4affa Mon Sep 17 00:00:00 2001 From: krande Date: Mon, 28 Aug 2023 10:42:05 +0200 Subject: [PATCH 05/18] make linter happy --- recipes/mgis/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index 7328bb25e3ebe..2d76b38d053d4 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -46,7 +46,7 @@ test: about: home: https://thelfer.github.io/mgis/web/index.html - license: LGPL-3.0 and CeCILL-C_V1 + license: LGPL-3.0-or-later and CECILL-C license_file: - LGPL-3.0.txt - CeCILL-C_V1-en.txt @@ -58,4 +58,4 @@ about: extra: recipe-maintainers: - - Krande \ No newline at end of file + - Krande From c461942bad9047f747134d3618d8347ddecd2eb8 Mon Sep 17 00:00:00 2001 From: krande Date: Mon, 28 Aug 2023 13:08:42 +0200 Subject: [PATCH 06/18] move from conda build config to meta --- recipes/mgis/conda_build_config.yaml | 7 ------- recipes/mgis/meta.yaml | 7 ++----- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/recipes/mgis/conda_build_config.yaml b/recipes/mgis/conda_build_config.yaml index 90fe72ac8a70e..c4541f8e20aa0 100644 --- a/recipes/mgis/conda_build_config.yaml +++ b/recipes/mgis/conda_build_config.yaml @@ -18,14 +18,7 @@ pin_run_as_build: max_pin: x.x gfortran: max_pin: x.x - numpy: - max_pin: x.x boost: max_pin: x.x.x mfront: max_pin: x.x.x - -numpy: - - '1.23' -boost: - - 1.78 diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index 2d76b38d053d4..35e3d738a1a78 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -24,17 +24,14 @@ requirements: - cmake >=3.26.4 - autoconf - python - - numpy host: - python - - numpy - - boost + - boost 1.78 + - numpy 1.23 - mfront {{ mfront_ver }} run: - - numpy - - boost - mfront {{ mfront_ver }} - python From 1b358875ff204b14bd5db7cae89f875f31bc6d08 Mon Sep 17 00:00:00 2001 From: krande Date: Mon, 28 Aug 2023 13:23:14 +0200 Subject: [PATCH 07/18] add make as a build dep --- recipes/mgis/build.sh | 4 ++++ recipes/mgis/cross-linux.cmake | 23 +++++++++++++++++++++++ recipes/mgis/meta.yaml | 1 + 3 files changed, 28 insertions(+) create mode 100644 recipes/mgis/cross-linux.cmake diff --git a/recipes/mgis/build.sh b/recipes/mgis/build.sh index 57bbebda40e93..2d27ff5da5e1f 100644 --- a/recipes/mgis/build.sh +++ b/recipes/mgis/build.sh @@ -6,6 +6,9 @@ cd build export TFELHOME="${PREFIX}" python_version="${CONDA_PY:0:1}.${CONDA_PY:1:2}" +# https://docs.conda.io/projects/conda-build/en/latest/resources/compiler-tools.html#an-aside-on-cmake-and-sysroots +CMAKE_PLATFORM_FLAGS+=(-DCMAKE_TOOLCHAIN_FILE="${RECIPE_DIR}/cross-linux.cmake") + cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -Denable-c-bindings=OFF \ @@ -22,6 +25,7 @@ cmake .. \ -DPYTHON_LIBRARY_PATH:PATH="${PREFIX}/lib" \ -DPYTHON_INCLUDE_DIRS:PATH="${PREFIX}/include" \ -DUSE_EXTERNAL_COMPILER_FLAGS=ON \ + ${CMAKE_PLATFORM_FLAGS[@]} \ -DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" make diff --git a/recipes/mgis/cross-linux.cmake b/recipes/mgis/cross-linux.cmake new file mode 100644 index 0000000000000..84c42d8964062 --- /dev/null +++ b/recipes/mgis/cross-linux.cmake @@ -0,0 +1,23 @@ +# this one is important +set(CMAKE_SYSTEM_NAME Linux) +set(CMAKE_PLATFORM Linux) +#this one not so much +set(CMAKE_SYSTEM_VERSION 1) + +# specify the cross compiler +set(CMAKE_C_COMPILER $ENV{CC}) + +# where is the target environment +set(CMAKE_FIND_ROOT_PATH $ENV{PREFIX} $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot) + +# search for programs in the build host directories +set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +# for libraries and headers in the target directories +set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) + +# god-awful hack because it seems to not run correct tests to determine this: +set(__CHAR_UNSIGNED___EXITCODE 1) + +# tentative to disable cmake for overlinking error in conda (binary repackaging) +set(CMAKE_SKIP_RPATH ON) \ No newline at end of file diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index 35e3d738a1a78..138f8c87ed059 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -24,6 +24,7 @@ requirements: - cmake >=3.26.4 - autoconf - python + - make host: - python From 35ce25b2fcd3cf007f0060bf116c0a40b69af384 Mon Sep 17 00:00:00 2001 From: krande Date: Mon, 28 Aug 2023 13:33:46 +0200 Subject: [PATCH 08/18] add boost as a run req --- recipes/mgis/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index 138f8c87ed059..c1ef0108d2e85 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -33,7 +33,8 @@ requirements: - mfront {{ mfront_ver }} run: - - mfront {{ mfront_ver }} + - mfront + - boost - python test: From 674adcd01ba89d406b4c6fa94b953030df12c36d Mon Sep 17 00:00:00 2001 From: krande Date: Mon, 28 Aug 2023 19:49:25 +0200 Subject: [PATCH 09/18] align cross-linux.cmake with anaconda example --- recipes/mgis/cross-linux.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/recipes/mgis/cross-linux.cmake b/recipes/mgis/cross-linux.cmake index 84c42d8964062..32dc6b222082b 100644 --- a/recipes/mgis/cross-linux.cmake +++ b/recipes/mgis/cross-linux.cmake @@ -17,7 +17,4 @@ set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) # god-awful hack because it seems to not run correct tests to determine this: -set(__CHAR_UNSIGNED___EXITCODE 1) - -# tentative to disable cmake for overlinking error in conda (binary repackaging) -set(CMAKE_SKIP_RPATH ON) \ No newline at end of file +set(__CHAR_UNSIGNED___EXITCODE 1) \ No newline at end of file From 56816cbc1241f6baf91f33fa9794abfae09bdf33 Mon Sep 17 00:00:00 2001 From: Kristoffer Andersen Date: Sun, 22 Oct 2023 11:37:33 +0200 Subject: [PATCH 10/18] Update recipes/mgis/build.sh Co-authored-by: Uwe L. Korn --- recipes/mgis/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/mgis/build.sh b/recipes/mgis/build.sh index 2d27ff5da5e1f..df4bc20809e7b 100644 --- a/recipes/mgis/build.sh +++ b/recipes/mgis/build.sh @@ -26,7 +26,7 @@ cmake .. \ -DPYTHON_INCLUDE_DIRS:PATH="${PREFIX}/include" \ -DUSE_EXTERNAL_COMPILER_FLAGS=ON \ ${CMAKE_PLATFORM_FLAGS[@]} \ - -DCMAKE_INSTALL_PREFIX:PATH="${PREFIX}" + ${CMAKE_ARGS} make make install \ No newline at end of file From 4d5fa4f1db5ad7a03f4a04d76dfb8685ae4466d8 Mon Sep 17 00:00:00 2001 From: Kristoffer Andersen Date: Sun, 22 Oct 2023 11:37:54 +0200 Subject: [PATCH 11/18] Update recipes/mgis/build.sh Co-authored-by: Uwe L. Korn --- recipes/mgis/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/mgis/build.sh b/recipes/mgis/build.sh index df4bc20809e7b..a8bd7986676be 100644 --- a/recipes/mgis/build.sh +++ b/recipes/mgis/build.sh @@ -28,5 +28,5 @@ cmake .. \ ${CMAKE_PLATFORM_FLAGS[@]} \ ${CMAKE_ARGS} -make +make -j$CPU_COUNT make install \ No newline at end of file From 0d484cd815b7885ba9077e2842dd97884f4f9ee8 Mon Sep 17 00:00:00 2001 From: Kristoffer Andersen Date: Sun, 22 Oct 2023 11:38:09 +0200 Subject: [PATCH 12/18] Update recipes/mgis/meta.yaml Co-authored-by: Uwe L. Korn --- recipes/mgis/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index c1ef0108d2e85..3ebedeed2a733 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -23,7 +23,6 @@ requirements: - "{{ compiler('fortran') }}" - cmake >=3.26.4 - autoconf - - python - make host: From 6cfb67385482084eec285132cc5b846977db5c31 Mon Sep 17 00:00:00 2001 From: Kristoffer Andersen Date: Sun, 22 Oct 2023 11:50:06 +0200 Subject: [PATCH 13/18] Update recipes/mgis/meta.yaml Co-authored-by: Uwe L. Korn --- recipes/mgis/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index 3ebedeed2a733..c331fee08cb46 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -28,7 +28,7 @@ requirements: host: - python - boost 1.78 - - numpy 1.23 + - numpy - mfront {{ mfront_ver }} run: From 8b7e14eff3c9da2a54ab7247375c6c12bea2d6cd Mon Sep 17 00:00:00 2001 From: krande Date: Sun, 22 Oct 2023 11:55:55 +0200 Subject: [PATCH 14/18] remove template mfront_ver and remove cross-linux.cmake --- recipes/mgis/cross-linux.cmake | 20 -------------------- recipes/mgis/meta.yaml | 3 +-- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 recipes/mgis/cross-linux.cmake diff --git a/recipes/mgis/cross-linux.cmake b/recipes/mgis/cross-linux.cmake deleted file mode 100644 index 32dc6b222082b..0000000000000 --- a/recipes/mgis/cross-linux.cmake +++ /dev/null @@ -1,20 +0,0 @@ -# this one is important -set(CMAKE_SYSTEM_NAME Linux) -set(CMAKE_PLATFORM Linux) -#this one not so much -set(CMAKE_SYSTEM_VERSION 1) - -# specify the cross compiler -set(CMAKE_C_COMPILER $ENV{CC}) - -# where is the target environment -set(CMAKE_FIND_ROOT_PATH $ENV{PREFIX} $ENV{BUILD_PREFIX}/$ENV{HOST}/sysroot) - -# search for programs in the build host directories -set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) -# for libraries and headers in the target directories -set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) -set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) - -# god-awful hack because it seems to not run correct tests to determine this: -set(__CHAR_UNSIGNED___EXITCODE 1) \ No newline at end of file diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index 3ebedeed2a733..6f917973ab77e 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -1,6 +1,5 @@ {% set name = "mgis" %} {% set version = "2.1" %} -{% set mfront_ver = "4.1.0" %} package: name: '{{ name|lower }}' @@ -29,7 +28,7 @@ requirements: - python - boost 1.78 - numpy 1.23 - - mfront {{ mfront_ver }} + - mfront 4.1.0 run: - mfront From 619d45d5bc3ae4c0fbbfd3e514d2a2cc192da423 Mon Sep 17 00:00:00 2001 From: krande Date: Sun, 22 Oct 2023 13:55:22 +0200 Subject: [PATCH 15/18] remove inclusion of cmake cross linux --- recipes/mgis/build.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/recipes/mgis/build.sh b/recipes/mgis/build.sh index a8bd7986676be..daed96e43f369 100644 --- a/recipes/mgis/build.sh +++ b/recipes/mgis/build.sh @@ -6,9 +6,6 @@ cd build export TFELHOME="${PREFIX}" python_version="${CONDA_PY:0:1}.${CONDA_PY:1:2}" -# https://docs.conda.io/projects/conda-build/en/latest/resources/compiler-tools.html#an-aside-on-cmake-and-sysroots -CMAKE_PLATFORM_FLAGS+=(-DCMAKE_TOOLCHAIN_FILE="${RECIPE_DIR}/cross-linux.cmake") - cmake .. \ -DCMAKE_BUILD_TYPE=Release \ -Denable-c-bindings=OFF \ @@ -25,7 +22,6 @@ cmake .. \ -DPYTHON_LIBRARY_PATH:PATH="${PREFIX}/lib" \ -DPYTHON_INCLUDE_DIRS:PATH="${PREFIX}/include" \ -DUSE_EXTERNAL_COMPILER_FLAGS=ON \ - ${CMAKE_PLATFORM_FLAGS[@]} \ ${CMAKE_ARGS} make -j$CPU_COUNT From 7e22e63c9b53486adfc3bac72a29bb5cf08b8d64 Mon Sep 17 00:00:00 2001 From: krande Date: Sun, 22 Oct 2023 14:58:58 +0200 Subject: [PATCH 16/18] cleanup conda_build_config.yaml --- recipes/mgis/conda_build_config.yaml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/recipes/mgis/conda_build_config.yaml b/recipes/mgis/conda_build_config.yaml index c4541f8e20aa0..5c3f9a903e18b 100644 --- a/recipes/mgis/conda_build_config.yaml +++ b/recipes/mgis/conda_build_config.yaml @@ -1,24 +1,6 @@ -c_compiler: - - gcc # [unix] c_compiler_version: - - 8 # [unix] -cxx_compiler: - - gxx # [unix] + - 8 # [unix] cxx_compiler_version: - - 8 # [unix] -fortran_compiler: - - gfortran # [unix] + - 8 # [unix] fortran_compiler_version: - - 8 # [unix] - -pin_run_as_build: - gcc: - max_pin: x.x - gxx: - max_pin: x.x - gfortran: - max_pin: x.x - boost: - max_pin: x.x.x - mfront: - max_pin: x.x.x + - 8 # [unix] \ No newline at end of file From 7bbd575b807a256bd40290a826130030e8a99ca8 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Tue, 24 Oct 2023 13:12:26 -0500 Subject: [PATCH 17/18] Check for functioning python module --- recipes/mgis/meta.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index 819495c42a209..afa23e5abd88e 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -36,7 +36,12 @@ requirements: - python test: + imports: + - mgis + requires: + - pip commands: + - pip check # Check for libMFrontGenericInterface.so library - test -f $PREFIX/lib/libMFrontGenericInterface.so From 802c8834dfdc854dfc2678c038cda5639cf190a8 Mon Sep 17 00:00:00 2001 From: Daniel Ching Date: Tue, 24 Oct 2023 13:12:36 -0500 Subject: [PATCH 18/18] Check for artifacts --- recipes/mgis/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/mgis/meta.yaml b/recipes/mgis/meta.yaml index afa23e5abd88e..8549d46603363 100644 --- a/recipes/mgis/meta.yaml +++ b/recipes/mgis/meta.yaml @@ -44,6 +44,8 @@ test: - pip check # Check for libMFrontGenericInterface.so library - test -f $PREFIX/lib/libMFrontGenericInterface.so + - test -f $PREFIX/include/MGIS/Config.hxx + - test -f $PREFIX/share/mgis/cmake/MFrontGenericInterfaceConfig.cmake about: