From 3f9db5634ad43292f4ed8e7bd9815c136531b890 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 12 Aug 2024 07:23:58 +0000 Subject: [PATCH] Disable LLVM_UNREACHABLE_OPTIMIZE This was needed at some point to prevent an assertion failure, but shouldn't be relevant anymore. --- build.spec.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.spec.inc b/build.spec.inc index 3621702..39814fa 100644 --- a/build.spec.inc +++ b/build.spec.inc @@ -50,7 +50,6 @@ popd # TODO(kkleine): Follow more closely the Distribution guidelines found here: https://llvm.org/docs/BuildingADistribution.html # force off shared libs as cmake macros turns it on. -# TODO: Disable LLVM_UNREACHABLE_OPTIMIZE. %cmake -G Ninja \ -DLLVM_ENABLE_PROJECTS="%{projects}" \ \ @@ -162,7 +161,7 @@ popd -DLLVM_VERSION_SUFFIX='' \ %endif %endif - -DLLVM_UNREACHABLE_OPTIMIZE:BOOL=ON \ + -DLLVM_UNREACHABLE_OPTIMIZE:BOOL=OFF \ -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \ -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \ -DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \