Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 18 additions & 17 deletions recipes/recipes_emscripten/libevalhyd/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
context:
name: libevalhyd
version: 0.1.2

package:
name: libevalhyd
version: ${{ version }}

source:
url: https://gitlab.irstea.fr/HYCAR-Hydro/evalhyd/evalhyd-cpp/-/archive/v${{ version }}/evalhyd-cpp-v${{ version }}.tar.gz
url: https://gitlab.irstea.fr/HYCAR-Hydro/evalhyd/evalhyd-cpp/-/archive/v${{ version }}/evalhyd-cpp-v${{ version
}}.tar.gz
sha256: 637ba5a227d890fc559fecf41a2c90ffe45629fc756e2d34ec1906b6c2a21b26

build:
number: 0
number: 1
script:
- if: win
then: |
Expand All @@ -23,30 +24,30 @@ build:

requirements:
build:
- ${{ compiler('cxx') }}
- cmake >=3.15
- ninja
- ${{ compiler('cxx') }}
- cmake >=3.15
- ninja
host:
- xtl >=0.7.5
- xtensor >=0.24.6
- xtl >=0.7.5
- xtensor >=0.24.6
run:
- xtl >=0.7.5
- xtensor >=0.24.6
- xtl >=0.7.5
- xtensor >=0.24.6

tests:
- script:
- if: unix or emscripten
then:
- test -d ${PREFIX}/include/evalhyd
- test -f ${PREFIX}/include/evalhyd/evald.hpp
- test -f ${PREFIX}/include/evalhyd/evalp.hpp
- test -f ${PREFIX}/lib/cmake/EvalHyd/EvalHydConfig.cmake
- test -d ${PREFIX}/include/evalhyd
- test -f ${PREFIX}/include/evalhyd/evald.hpp
- test -f ${PREFIX}/include/evalhyd/evalp.hpp
- test -f ${PREFIX}/lib/cmake/EvalHyd/EvalHydConfig.cmake
- test -f ${PREFIX}/lib/cmake/EvalHyd/EvalHydConfigVersion.cmake
- if: win
then:
- if not exist %LIBRARY_PREFIX%\include\evalhyd\evald.hpp (exit 1)
- if not exist %LIBRARY_PREFIX%\include\evalhyd\evalp.hpp (exit 1)
- if not exist %LIBRARY_PREFIX%\lib\cmake\EvalHyd\EvalHydConfig.cmake (exit 1)
- if not exist %LIBRARY_PREFIX%\include\evalhyd\evald.hpp (exit 1)
- if not exist %LIBRARY_PREFIX%\include\evalhyd\evalp.hpp (exit 1)
- if not exist %LIBRARY_PREFIX%\lib\cmake\EvalHyd\EvalHydConfig.cmake (exit 1)
- if not exist %LIBRARY_PREFIX%\lib\cmake\EvalHyd\EvalHydConfigVersion.cmake (exit 1)

about:
Expand Down