]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
script: add gcc-toolset-11 support to discover_compiler
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 1 Nov 2022 18:58:16 +0000 (14:58 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 18 Feb 2025 22:58:08 +0000 (17:58 -0500)
commit5d0a8a5344f254703a8d628ba3b643aa11124d42
tree22237466b2b43935bae7e719d522e5fd2c181b71
parent8dae1c161c4d3bc3a1ef3cd48de0da9a89e44e65
script: add gcc-toolset-11 support to discover_compiler

In order to configure, build, and run tests in a CentOS 8 (or similar)
container we need a functioning gcc-toolset compiler. This relies on
the environment script being sourced as well. cmake does not appear
to be able to discover this compiler own its own.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 435d4c75386b0b58b33e3e2024983c608b46249c)
src/script/lib-build.sh
src/script/run-make.sh