Skip to content

Commit

Permalink
fix: correctly specify and copy the conanprofile for arm architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
Taepper committed Dec 18, 2024
1 parent 2a29074 commit f3d3573
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile_linter_dependencies
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ubuntu:22.04

ARG TARGETPLATFORM

WORKDIR /src

RUN apt update \
Expand All @@ -13,7 +15,7 @@ RUN apt update \

RUN pip install conan==2.8.1

COPY conanfile.py conanprofile.docker ./
COPY conanfile.py conanprofile.docker conanprofile.docker_arm ./
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
mv conanprofile.docker_arm conanprofile; \
else \
Expand Down
1 change: 1 addition & 0 deletions conanprofile.docker_arm
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ arch=armv8
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=13.2
compiler.cppstd=20
build_type=Release
[options]

0 comments on commit f3d3573

Please sign in to comment.