Skip to content

Commit

Permalink
build: conditional vcpkg tools for aarch64 (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexallmont committed Nov 20, 2024
1 parent 45ce89c commit 9276568
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ RUN pip install \
pytest \
pytest-cov

# FIXME make conditional on arm, s390x, ppc64le and riscv
ENV VCPKG_FORCE_SYSTEM_BINARIES=1
# Use system tools for vcpkg when building aarch64 (Linux on MacOS)
RUN if [ "$(uname -m)" = "aarch64" ]; then \
echo "Setting VCPKG_FORCE_SYSTEM_BINARIES for MacOS"; \
export VCPKG_FORCE_SYSTEM_BINARIES=1; \
fi

# Install vcpkg in checkout location
RUN git clone https://github.com/Microsoft/vcpkg.git /tools/vcpkg
Expand Down

0 comments on commit 9276568

Please sign in to comment.