]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
install-deps.sh: use gcc-12 for ubuntu jammy 63232/head
authorAishwarya Mathuria <amathuri@redhat.com>
Tue, 8 Jul 2025 06:20:32 +0000 (06:20 +0000)
committerAishwarya Mathuria <amathuri@redhat.com>
Mon, 14 Jul 2025 07:45:22 +0000 (07:45 +0000)
commit0f3b651fcc1736cf484ca9881ba36985ea87242d
tree08026caea940cb2737397fa788e47e64bc0df36d
parent7107c3283acb0097abae92c11eb962adc0bcbfd4
install-deps.sh: use gcc-12 for ubuntu jammy

Clang relies on the system's libstdc++ headers for standard C++
features. On Ubuntu Jammy, gcc-11 is the default and it's libstdc++ is
missing some of the newer features supported by C++20.

This causes build failures as certain standard headers are incomplete.
To fix this, we install gcc-12 explicitly so that Clang can pick up the
newer libstdc++ headers.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
install-deps.sh