Add CMPLR options gcc-6 and gcc-7
(works on trusty and xenial)
This commit is contained in:
1 parent
3175ab9a7d
commit
fb95b95f4f
1 file changed
+18
@@ -78,6 +78,24 @@ EOF
|
|||||||
|
|
||||||
clang --version
|
clang --version
|
||||||
;;
|
;;
|
||||||
|
gcc-6)
|
||||||
|
echo "Host compiler is gcc-6"
|
||||||
|
cat << EOF >> epics-base/configure/os/CONFIG_SITE.Common.$EPICS_HOST_ARCH
|
||||||
|
CC = gcc-6
|
||||||
|
CCC = g++-6
|
||||||
|
EOF
|
||||||
|
|
||||||
|
gcc-6 --version
|
||||||
|
;;
|
||||||
|
gcc-7)
|
||||||
|
echo "Host compiler is gcc-7"
|
||||||
|
cat << EOF >> epics-base/configure/os/CONFIG_SITE.Common.$EPICS_HOST_ARCH
|
||||||
|
CC = gcc-7
|
||||||
|
CCC = g++-7
|
||||||
|
EOF
|
||||||
|
|
||||||
|
gcc-7 --version
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Host compiler is default"
|
echo "Host compiler is default"
|
||||||
gcc --version
|
gcc --version
|
||||||
|
|||||||
Reference in new issue
Block a user