Only build clangOmpss2 to target the host

This commit is contained in:
Rodrigo Arias 2023-09-05 17:55:38 +02:00
parent ee24b910a1
commit 4b06175b42

View File

@ -70,6 +70,7 @@ stdenv.mkDerivation rec {
cmakeDir="../llvm" cmakeDir="../llvm"
cmakeFlagsArray=( cmakeFlagsArray=(
"-DLLVM_HOST_TRIPLE=${stdenv.targetPlatform.config}" "-DLLVM_HOST_TRIPLE=${stdenv.targetPlatform.config}"
"-DLLVM_TARGETS_TO_BUILD=host"
"-DLLVM_ENABLE_LLD=ON" "-DLLVM_ENABLE_LLD=ON"
"-DCMAKE_CXX_FLAGS_DEBUG=-g -ggnu-pubnames" "-DCMAKE_CXX_FLAGS_DEBUG=-g -ggnu-pubnames"
"-DCMAKE_EXE_LINKER_FLAGS_DEBUG=-Wl,-gdb-index" "-DCMAKE_EXE_LINKER_FLAGS_DEBUG=-Wl,-gdb-index"