pixi: Use the mold linker on Linux.

This commit is contained in:
Jacob Oursland
2025-04-14 10:07:02 -07:00
committed by Benjamin Nauck
parent 61758e5786
commit bc2aba9618
3 changed files with 66 additions and 0 deletions

View File

@@ -119,6 +119,10 @@
},
"cmakeExecutable": "${sourceDir}/conda/cmake.sh",
"cacheVariables": {
"CMAKE_EXE_LINKER_FLAGS": {
"type": "STRING",
"value": "-fuse-ld=mold"
},
"CMAKE_INSTALL_PREFIX": {
"type": "FILEPATH",
"value": "$env{CONDA_PREFIX}"
@@ -127,6 +131,10 @@
"type": "FILEPATH",
"value": "$env{CONDA_PREFIX}"
},
"CMAKE_SHARED_LINKER_FLAGS": {
"type": "STRING",
"value": "-fuse-ld=mold"
},
"OCC_INCLUDE_DIR": {
"type": "FILEPATH",
"value": "$env{CONDA_PREFIX}/include/opencascade"