Skip to content
Snippets Groups Projects
Commit 8dc11fd8 authored by calrama's avatar calrama
Browse files

Try to fail if any vcpkg install fails

parent 67badf91
No related branches found
No related tags found
No related merge requests found
......@@ -79,8 +79,11 @@ RUN cd $Env:VCPKG_DIR; \
boost-property-tree:$vcpkg_triplet \
jsoncpp:$vcpkg_triplet \
websocketpp:$vcpkg_triplet; \
if (! $?) { exit 1 }; \
./vcpkg install opencv[ffmpeg,ximea,cuda,opengl]:$vcpkg_triplet; \
if (! $?) { exit 1 }; \
./vcpkg install mxnet[cpp,opencv,cuda,cudnn]:$vcpkg_triplet; \
if (! $?) { exit 1 }; \
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/flang.dll ./installed/$vcpkg_triplet/bin/; \
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/flangrti.dll ./installed/$vcpkg_triplet/bin/; \
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/libomp.dll ./installed/$vcpkg_triplet/bin/; \
......@@ -100,8 +103,11 @@ RUN cd $Env:VCPKG_DIR; \
boost-property-tree:$vcpkg_triplet \
jsoncpp:$vcpkg_triplet \
websocketpp:$vcpkg_triplet; \
if (! $?) { exit 1 }; \
./vcpkg install opencv[ffmpeg,ximea,opengl]:$vcpkg_triplet; \
if (! $?) { exit 1 }; \
./vcpkg install mxnet[cpp,opencv]:$vcpkg_triplet; \
if (! $?) { exit 1 }; \
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/flang.dll ./installed/$vcpkg_triplet/bin/; \
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/flangrti.dll ./installed/$vcpkg_triplet/bin/; \
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/libomp.dll ./installed/$vcpkg_triplet/bin/; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment