Skip to content

Commit

Permalink
fixup (and slightly cleanup) mainly tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seberg committed Apr 6, 2023
1 parent ec9529a commit dd6a1dd
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions recipes/libcufft/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,16 @@ outputs:
- arm-variant * {{ arm_variant_type }} # [aarch64]
test:
commands:
- test -f $PREFIX/lib/libcufft.so.{{ version }} # [linux]
- if not exist %LIBRARY_BIN%\cufft64_{{ version.split(".")[0] }}.dll exit 1 # [win]
- test -L $PREFIX/lib/libcufft.so.{{ version }} # [linux]
- test -L $PREFIX/lib/libcufft.so.{{ version.split(".")[0] }} # [linux]
- test -L $PREFIX/targets/{{ target_name }}/lib/libcufft.so.{{ version.split(".")[0] }} # [linux]
- test -f $PREFIX/targets/{{ target_name }}/lib/libcufft.so.{{ version }} # [linux]
- if not exist %LIBRARY_BIN%\cufft64_{{ version.split(".")[0] }}.dll exit 1 # [win]
- if not exist %LIBRARY_BIN%\cufftw64_{{ version.split(".")[0] }}.dll exit 1 # [win]
- test -L $PREFIX/lib/libcufft.so.{{ version }} # [linux]
- test -L $PREFIX/lib/libcufftw.so.{{ version }} # [linux]
- test -L $PREFIX/lib/libcufft.so.{{ version.split(".")[0] }} # [linux]
- test -L $PREFIX/lib/libcufftw.so.{{ version.split(".")[0] }} # [linux]
- test -L $PREFIX/targets/{{ target_name }}/lib/libcufft.so.{{ version.split(".")[0] }} # [linux]
- test -L $PREFIX/targets/{{ target_name }}/lib/libcufftw.so.{{ version.split(".")[0] }} # [linux]
- test -f $PREFIX/targets/{{ target_name }}/lib/libcufft.so.{{ version }} # [linux]
- test -f $PREFIX/targets/{{ target_name }}/lib/libcufftw.so.{{ version }} # [linux]
- if not exist %LIBRARY_BIN%\cufft64_{{ version.split(".")[0] }}.dll exit 1 # [win]
- if not exist %LIBRARY_BIN%\cufftw64_{{ version.split(".")[0] }}.dll exit 1 # [win]
about:
home: https://developer.nvidia.com/cufft
license: LicenseRef-NVIDIA-End-User-License-Agreement
Expand Down Expand Up @@ -97,14 +99,14 @@ outputs:
commands:
- test -L $PREFIX/lib/libcufft.so # [linux]
- test -L $PREFIX/lib/libcufftw.so # [linux]
- test -f targets/{{ target_name }}/include/cudalibxt.h # [linux]
- test -f targets/{{ target_name }}/include/cufft.h # [linux]
- test -f targets/{{ target_name }}/include/cufftw.h # [linux]
- test -f targets/{{ target_name }}/include/cufftXt.h # [linux]
- test -f $PREFIX/targets/{{ target_name }}/include/cudalibxt.h # [linux]
- test -f $PREFIX/targets/{{ target_name }}/include/cufft.h # [linux]
- test -f $PREFIX/targets/{{ target_name }}/include/cufftw.h # [linux]
- test -f $PREFIX/targets/{{ target_name }}/include/cufftXt.h # [linux]
- test -L $PREFIX/targets/{{ target_name }}/lib/libcufft.so # [linux]
- test -L $PREFIX/targets/{{ target_name }}/lib/libcufftw.so # [linux]
- test -L $PREFIX/targets/{{ target_name }}/lib/stubs/libcufft.so # [linux]
- test -L $PREFIX/targets/{{ target_name }}/lib/stubs/libcufftw.so # [linux]
- test -f $PREFIX/targets/{{ target_name }}/lib/stubs/libcufft.so # [linux]
- test -f $PREFIX/targets/{{ target_name }}/lib/stubs/libcufftw.so # [linux]
- if not exist %LIBRARY_INC%\cudalibxt.h exit 1 # [win]
- if not exist %LIBRARY_INC%\cufft.h exit 1 # [win]
- if not exist %LIBRARY_INC%\cufftw.h exit 1 # [win]
Expand All @@ -126,8 +128,8 @@ outputs:
build:
skip: True # [not linux]
files:
- targets/*/lib/libcufft*_static.a
- targets/*/lib/libcufft_static_nocallback.a
- targets/{{ target_name }}/lib/libcufft*_static.a
- targets/{{ target_name }}/lib/libcufft_static_nocallback.a
requirements:
build:
- {{ compiler("c") }}
Expand All @@ -142,8 +144,8 @@ outputs:
- arm-variant * {{ arm_variant_type }} # [aarch64]
test:
commands:
- test -f $PREFIX/targets/*/lib/libcufft_static.a
- test -f $PREFIX/targets/*/lib/libcufftw_static.a
- test -f $PREFIX/targets/{{ target_name }}/lib/libcufft_static.a
- test -f $PREFIX/targets/{{ target_name }}/lib/libcufftw_static.a
about:
home: https://developer.nvidia.com/cufft
license: LicenseRef-NVIDIA-End-User-License-Agreement
Expand Down

0 comments on commit dd6a1dd

Please sign in to comment.