Skip to content
Snippets Groups Projects
Commit c6b58435 authored by Moritz Maxeiner's avatar Moritz Maxeiner
Browse files

Expose triplet as well

parent a176f44b
No related branches found
No related tags found
No related merge requests found
...@@ -38,21 +38,22 @@ RUN $vcpkg_dir = 'C:/vcpkg'; \ ...@@ -38,21 +38,22 @@ RUN $vcpkg_dir = 'C:/vcpkg'; \
[Environment]::SetEnvironmentVariable('VCPKG_DIR', "\"$vcpkg_dir\"", [EnvironmentVariableTarget]::Machine); [Environment]::SetEnvironmentVariable('VCPKG_DIR', "\"$vcpkg_dir\"", [EnvironmentVariableTarget]::Machine);
RUN cd $Env:VCPKG_DIR; \ RUN cd $Env:VCPKG_DIR; \
$vcpkg_triple = x64-windows; \ $vcpkg_triplet = x64-windows; \
./vcpkg install \ ./vcpkg install \
zlib:$vcpkg_triple \ zlib:$vcpkg_triplet \
libepoxy[egl]:$vcpkg_triple \ libepoxy[egl]:$vcpkg_triplet \
glm:$vcpkg_triple \ glm:$vcpkg_triplet \
cgal:$vcpkg_triple \ cgal:$vcpkg_triplet \
hdf5:$vcpkg_triple \ hdf5:$vcpkg_triplet \
openblas:$vcpkg_triple \ openblas:$vcpkg_triplet \
pybind11:$vcpkg_triple; \ pybind11:$vcpkg_triplet; \
./vcpkg install opencv:$vcpkg_triple; \ ./vcpkg install opencv:$vcpkg_triplet; \
./vcpkg install mxnet[cpp,opencv]:$vcpkg_triple; \ ./vcpkg install mxnet[cpp,opencv]:$vcpkg_triplet; \
Remove-Item -Recurse -Force -Path ./downloads; \ Remove-Item -Recurse -Force -Path ./downloads; \
Remove-Item -Recurse -Force -Path ./buildtrees; \ Remove-Item -Recurse -Force -Path ./buildtrees; \
Remove-Item -Recurse -Force -Path ./packages; \ Remove-Item -Recurse -Force -Path ./packages; \
[Environment]::SetEnvironmentVariable('VCPKG_INSTALL_DIR', "\"$Env:VCPKG_DIR/installed/$vcpkg_triple\"", [EnvironmentVariableTarget]::Machine); [Environment]::SetEnvironmentVariable('VCPKG_TRIPLET', "\"$vcpkg_triplet\"", [EnvironmentVariableTarget]::Machine); \
[Environment]::SetEnvironmentVariable('VCPKG_INSTALL_DIR', "\"$Env:VCPKG_DIR/installed/$vcpkg_triplet\"", [EnvironmentVariableTarget]::Machine);
RUN python -m pip --no-cache-dir install --no-warn-script-location \ RUN python -m pip --no-cache-dir install --no-warn-script-location \
numpy \ numpy \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment