use a simpleer test
@@ -113,7 +113,7 @@ outputs:
doc_url: https://software.intel.com/en-us/mkl/documentation
test:
commands:
- - if [ -z "`ls -A $PREFIX/lib`" ]; then exit 1; fi # [unix]
+ - test -f $PREFIX/lib/* # [unix]
- name: mkl-include
script: repack.sh # [unix]
@@ -130,7 +130,7 @@ outputs:
doc_url: https://software.intel.com/en-us/mkl/documentation
test:
commands:
- - if [ -z "`ls -A $PREFIX/include`" ]; then exit 1; fi # [unix]
+ - test -f $PREFIX/include/* # [unix]
{% if 'conda-forge' not in channel_targets %}
- name: intel-openmp
@@ -150,7 +150,7 @@ outputs:
doc_url: https://software.intel.com/en-us/node/522690
test:
commands:
- - if [ -z "`ls -A $PREFIX/lib`" ]; then exit 1; fi # [unix]
+ - test -f $PREFIX/lib/* # [unix]
# mutex package to keep only one blas implementation in a given env
- name: blas
@@ -195,8 +195,8 @@ outputs:
license_file: mkl/info/LICENSE.txt
test:
commands:
- - if [ -z "`ls -A $PREFIX/lib`" ]; then exit 1; fi # [unix]
- - if [ -z "`ls -A $PREFIX/include`" ]; then exit 1; fi # [unix]
+ - test -f $PREFIX/lib/* # [unix]
+ - test -f $PREFIX/include/* # [unix]
- name: daal
script: repack.sh # [unix]
@@ -240,7 +240,7 @@ outputs:
license_file: mkl/info/LICENSE.txt
test:
commands:
- - if [ -z "`ls -A $PREFIX/lib`" ]; then exit 1; fi # [unix]
+ - test -f $PREFIX/lib/* # [unix]
- name: daal-include
script: repack.sh # [unix]
@@ -255,7 +255,7 @@ outputs:
license_file: mkl/info/LICENSE.txt
test:
commands:
- - if [ -z "`ls -A $PREFIX/include`" ]; then exit 1; fi # [unix]
+ - test -f $PREFIX/include/* # [unix]
- name: daal-static
script: repack.sh # [unix]
@@ -274,7 +274,7 @@ outputs:
license_file: mkl/info/LICENSE.txt
test:
commands:
- - if [ -z "`ls -A $PREFIX/lib`" ]; then exit 1; fi # [unix]
+ - test -f $PREFIX/lib/* # [unix]
- name: daal-devel
script: repack.sh # [unix]
@@ -295,8 +295,8 @@ outputs:
license_file: mkl/info/LICENSE.txt
test:
commands:
- - if [ -z "`ls -A $PREFIX/lib`" ]; then exit 1; fi # [unix]
- - if [ -z "`ls -A $PREFIX/include`" ]; then exit 1; fi # [unix]
+ - test -f $PREFIX/lib/* # [unix]
+ - test -f $PREFIX/include/* # [unix]
# please the linter
about:
