lbfgs: removed windows
@@ -12,6 +12,7 @@ source:
build:
number: 0
+ skip: True # [win]
run_exports:
- {{ pin_subpackage('liblbfgs', max_pin='x.x') }}
@@ -19,10 +20,13 @@ requirements:
build:
- {{ compiler('cxx') }}
+# note that liblbfgs builds a sample binary (sample/sample). Infortunately
+# this seems to be linked awkwardly and can not be used in the test.
+# Nevertheless its executed in the build, i.e. the build fails if the sample
+# does not work.
test:
commands:
- - test -f ${PREFIX}/include/lbfgs.h # [not win]
- - if not exist %LIBRARY_INC%/lbfgs.h exit 1 # [win]
+ - test -f ${PREFIX}/include/lbfgs.h
- test -f ${PREFIX}/lib/liblbfgs${SHLIB_EXT}
- test -f ${PREFIX}/share/doc/liblbfgs/README
