Skip to content

Commit

Permalink
Testing if windows misses the add of the .a files
Browse files Browse the repository at this point in the history
  • Loading branch information
makepath-alex committed Jan 9, 2025
1 parent 2de1982 commit 8d5e6f3
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions recipes/rte-rrtmgp/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,30 @@ requirements:
test:
commands:
# Check if the files exists
# Unix & Win (we build with mingw, so it generates .a files)
# General
- test -f $PREFIX/include/rrtmgp_kernels.h
- test -f $PREFIX/include/rte_kernels.h
- test -f $PREFIX/include/rte_types.h
- test -f $PREFIX/lib/librrtmgp.a
- test -f $PREFIX/lib/librte.a
# Unix
- test -f $PREFIX/lib/librte.a # [unix]
- test -f $PREFIX/lib/librrtmgp.a # [unix]
# Win (we build with mingw, so it generates .a files)
- test -f %PREFIX%/lib/librte.a # [win]
- test -f %PREFIX%/lib/librrtmgp.a # [win]

outputs:
- name: rte_rrtmgp
files:
# Unix & Win
# General
- include/rrtmgp_kernels.h
- include/rte_kernels.h
- include/rte_types.h
- lib/librrtmgp.a
- lib/librte.a
# Unix
- lib/librte.a # [unix]
- lib/librrtmgp.a # [unix]
# Win (we build with mingw, so it generates .a files)
- lib/librte.a # [win]
- lib/librrtmgp.a # [win]

about:
home: https://github.com/earth-system-radiation/rte-rrtmgp
Expand Down

0 comments on commit 8d5e6f3

Please sign in to comment.