File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ RUN sed -i -e 's|^compiler\.cppstd=.*$|compiler.cppstd=20|' $(conan config home)
139139RUN <<EOF
140140cat >> $(conan config home)/global.conf <<EOT
141141tools.build:compiler_executables={"c" : "${CC}" , "cpp" : "${CXX}" }
142+ tools.info.package_id:confs+=["Debian" , "${DEBIAN_VERSION}" ]
142143EOT
143144EOF
144145# Print the Conan profile to verify the configuration.
@@ -231,6 +232,7 @@ CXX_VER=$(${CXX} -dumpversion)
231232CXX_VER=${CXX_VER%%.*}
232233cat >> $(conan config home)/global.conf <<EOT
233234tools.build:compiler_executables={"c" : "${CC}" , "cpp" : "${CXX}" }
235+ tools.info.package_id:confs+=["Debian" , "${DEBIAN_VERSION}" ]
234236EOT
235237EOF
236238
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ RUN sed -i -e 's|^compiler\.cppstd=.*$|compiler.cppstd=20|' $(conan config home)
105105RUN <<EOF
106106cat >> $(conan config home)/global.conf <<EOT
107107tools.build:compiler_executables={"c" : "${CC}" , "cpp" : "${CXX}" }
108+ tools.info.package_id:confs+=["RHEL" , "${RHEL_VERSION}" ]
108109EOT
109110EOF
110111
@@ -180,6 +181,7 @@ CXX_VER=$(${CXX} -dumpversion)
180181CXX_VER=${CXX_VER%%.*}
181182cat >> $(conan config home)/global.conf <<EOT
182183tools.build:compiler_executables={"c" : "${CC}" , "cpp" : "${CXX}" }
184+ tools.info.package_id:confs+=["RHEL" , "${RHEL_VERSION}" ]
183185EOT
184186EOF
185187
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ RUN sed -i -e 's|^compiler\.cppstd=.*$|compiler.cppstd=20|' $(conan config home)
123123RUN <<EOF
124124cat >> $(conan config home)/global.conf <<EOT
125125tools.build:compiler_executables={"c" : "${CC}" , "cpp" : "${CXX}" }
126+ tools.info.package_id:confs+=["Ubuntu" , "${UBUNTU_VERSION}" ]
126127EOT
127128EOF
128129
@@ -211,6 +212,7 @@ CXX_VER=$(${CXX} -dumpversion)
211212CXX_VER=${CXX_VER%%.*}
212213cat >> $(conan config home)/global.conf <<EOT
213214tools.build:compiler_executables={"c" : "${CC}" , "cpp" : "${CXX}" }
215+ tools.info.package_id:confs+=["Ubuntu" , "${UBUNTU_VERSION}" ]
214216EOT
215217EOF
216218
You can’t perform that action at this time.
0 commit comments