Skip to content

Commit

Permalink
Merge pull request #430 from hmaarrfk/help_the_bot
Browse files Browse the repository at this point in the history
[ci skip] [skip ci] [cf admin skip] ***NO_CI*** Help the bot a bit more
  • Loading branch information
hmaarrfk authored Sep 29, 2024
2 parents 3264a27 + 1467ff8 commit 0c0e2c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ test:
# Need to specify a default value for CONDA_BUILD_SYSROOT
# otherwise the bot seems to fail to help us update
# https://github.com/conda-forge/opencv-feedstock/issues/280
- export CONDA_BUILD_SYSROOT={{ CONDA_BUILD_SYSROOT if CONDA_BUILD_SYSROOT else '/does/not/exist' }} # [osx]
{%- if CONDA_BUILD_SYSROOT is defined %}
- export CONDA_BUILD_SYSROOT={{ CONDA_BUILD_SYSROOT }} # [osx]
{%- endif %}
- OPENCV_FLAGS=`pkg-config --cflags opencv4` # [unix]
- $CXX -std=c++11 $RECIPE_DIR/test.cpp ${OPENCV_FLAGS} -o test # [unix]
- if [[ $(./test) != $PKG_VERSION ]]; then exit 1 ; fi # [unix]
Expand Down

0 comments on commit 0c0e2c4

Please sign in to comment.