pixi: use clang on Linux.
clang uses considerably less memory on Linux allowing more concurrent instances than with g++. Using clang reduced build times on a machine from 63m to 32m.
This commit is contained in:
committed by
Benjamin Nauck
parent
ac02a9a39d
commit
7b759aae1a
@@ -119,6 +119,14 @@
|
||||
},
|
||||
"cmakeExecutable": "${sourceDir}/conda/cmake.sh",
|
||||
"cacheVariables": {
|
||||
"CMAKE_C_COMPILER": {
|
||||
"type": "STRING",
|
||||
"value": "clang"
|
||||
},
|
||||
"CMAKE_CXX_COMPILER": {
|
||||
"type": "STRING",
|
||||
"value": "clang++"
|
||||
},
|
||||
"CMAKE_EXE_LINKER_FLAGS": {
|
||||
"type": "STRING",
|
||||
"value": "-fuse-ld=mold"
|
||||
|
||||
Reference in New Issue
Block a user