Disable LLVM_UNREACHABLE_OPTIMIZE

This was needed at some point to prevent an assertion failure,
but shouldn't be relevant anymore.
This commit is contained in:
Nikita Popov 2024-08-12 07:23:58 +00:00 committed by Timm Bäder
parent 4866c39eb7
commit 3f9db5634a

View file

@ -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 \