File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ WORKDIR /home/${NONROOT_USER}
9191
9292# Create a default Conan profile.
9393RUN conan profile detect
94+ # Fix the C++ dialect.
95+ RUN sed -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ${CONAN_HOME}/profiles/default
9496# Print the Conan profile to verify the configuration.
9597RUN conan profile show
9698
@@ -135,5 +137,7 @@ tools.build:cxxflags=['-Wno-missing-template-arg-list-after-template-kw']
135137EOT
136138fi
137139EOF
140+ # Fix the C++ dialect.
141+ RUN sed -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ${CONAN_HOME}/profiles/default
138142# Print the Conan profile to verify the configuration.
139143RUN conan profile show
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ ENV CONAN_HOME=/home/${NONROOT_USER}/.conan2
5151
5252# Create a default Conan profile.
5353RUN conan profile detect
54+ # Fix the C++ dialect.
55+ RUN sed -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ${CONAN_HOME}/profiles/default
5456# Print the Conan profile to verify the configuration.
5557RUN conan profile show
5658
@@ -87,5 +89,7 @@ tools.build:cxxflags=['-Wno-missing-template-arg-list-after-template-kw']
8789EOT
8890fi
8991EOF
92+ # Fix the C++ dialect.
93+ RUN sed -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ${CONAN_HOME}/profiles/default
9094# Print the Conan profile to verify the configuration.
9195RUN conan profile show
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ WORKDIR /home/${NONROOT_USER}
6363
6464# Create a default Conan profile.
6565RUN conan profile detect
66+ # Fix the C++ dialect.
67+ RUN sed -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ${CONAN_HOME}/profiles/default
6668# Print the Conan profile to verify the configuration.
6769RUN conan profile show
6870
@@ -98,5 +100,7 @@ tools.build:cxxflags=['-Wno-missing-template-arg-list-after-template-kw']
98100EOT
99101fi
100102EOF
103+ # Fix the C++ dialect.
104+ RUN sed -e 's|^compiler\. cppstd=.*$|compiler.cppstd=20|' ${CONAN_HOME}/profiles/default
101105# Print the Conan profile to verify the configuration.
102106RUN conan profile show
You can’t perform that action at this time.
0 commit comments