👷 using clang where GCC is too old

This commit is contained in:
Niels Lohmann 2016-12-21 10:13:59 +01:00
parent 937cca762f
commit 2cf0f299ad

View file

@ -2,8 +2,8 @@
"targets": { "targets": {
"jessie-i386": { "jessie-i386": {
"buildenv": "jessie-i386", "buildenv": "jessie-i386",
"builddeps": ["build-essential", "cmake"], "builddeps": ["build-essential", "cmake", "clang"],
"buildcmd": ["mkdir cm", "cd cm", "cmake ..", "cmake --build .", "ctest --output-on-failure"] "buildcmd": ["mkdir cm", "cd cm", "CXX=clang++ cmake ..", "cmake --build .", "ctest --output-on-failure"]
}, },
"precise-i386": { "precise-i386": {
"buildenv": "precise-i386", "buildenv": "precise-i386",
@ -17,13 +17,13 @@
}, },
"trusty-i386": { "trusty-i386": {
"buildenv": "trusty-i386", "buildenv": "trusty-i386",
"builddeps": ["build-essential", "cmake"], "builddeps": ["build-essential", "cmake", "clang"],
"buildcmd": ["make check"] "buildcmd": ["make check CXX=clang++"]
}, },
"trusty-amd64": { "trusty-amd64": {
"buildenv": "trusty-amd64", "buildenv": "trusty-amd64",
"builddeps": ["build-essential", "cmake"], "builddeps": ["build-essential", "cmake", "clang"],
"buildcmd": ["make check"] "buildcmd": ["make check CXX=clang++"]
}, },
"xenial-i386": { "xenial-i386": {
"buildenv": "xenial-i386", "buildenv": "xenial-i386",