diff --git a/bsc/llvm-ompss2/clang.nix b/bsc/llvm-ompss2/clang.nix index 4caabc1..0e0f215 100644 --- a/bsc/llvm-ompss2/clang.nix +++ b/bsc/llvm-ompss2/clang.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { cmakeBuildType = if enableDebug then "Debug" else "Release"; dontUseCmakeBuildDir = true; + enableAssertions = "OFF"; preConfigure = '' mkdir -p build @@ -52,7 +53,7 @@ stdenv.mkDerivation rec { "-DCMAKE_EXE_LINKER_FLAGS_DEBUG=-Wl,-gdb-index" "-DLLVM_LIT_ARGS=-sv --xunit-xml-output=xunit.xml" "-DLLVM_ENABLE_PROJECTS=clang;openmp;compiler-rt" - "-DLLVM_ENABLE_ASSERTIONS=ON" + "-DLLVM_ENABLE_ASSERTIONS=${enableAssertions}" "-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON" ) '';