]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script: add discover_compiler function to lib-build.sh
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 1 Nov 2022 18:51:57 +0000 (14:51 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 7 Feb 2023 19:17:10 +0000 (14:17 -0500)
commit561bf4ea9b4dd8f6710a959c5bd38eb4085a9d52
tree0a11e8599198a7baf22f7df57df7e091902c71fa
parent7edc4309f4781362f86fd83fd2d53eba42e5f73f
script: add discover_compiler function to lib-build.sh

The discover_compiler function is an abstraction over the current
compiler detection code in run-make.sh. It is intended to be flexible
enough to work on {centos,rhel} systems, but currently is just an
updated version of the logic from run-make.sh. The intent is that this
function will grow and become useful for other scripts used for
building (possibly do_cmake.sh for example).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/script/lib-build.sh
src/script/run-make.sh