1
0
mirror of https://github.com/nlohmann/json synced 2024-11-23 20:40:08 +00:00

👷 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": {
"jessie-i386": {
"buildenv": "jessie-i386",
"builddeps": ["build-essential", "cmake"],
"buildcmd": ["mkdir cm", "cd cm", "cmake ..", "cmake --build .", "ctest --output-on-failure"]
"builddeps": ["build-essential", "cmake", "clang"],
"buildcmd": ["mkdir cm", "cd cm", "CXX=clang++ cmake ..", "cmake --build .", "ctest --output-on-failure"]
},
"precise-i386": {
"buildenv": "precise-i386",
@ -17,13 +17,13 @@
},
"trusty-i386": {
"buildenv": "trusty-i386",
"builddeps": ["build-essential", "cmake"],
"buildcmd": ["make check"]
"builddeps": ["build-essential", "cmake", "clang"],
"buildcmd": ["make check CXX=clang++"]
},
"trusty-amd64": {
"buildenv": "trusty-amd64",
"builddeps": ["build-essential", "cmake"],
"buildcmd": ["make check"]
"builddeps": ["build-essential", "cmake", "clang"],
"buildcmd": ["make check CXX=clang++"]
},
"xenial-i386": {
"buildenv": "xenial-i386",