Skip to content

Commit 3f9db56

Browse files
nikictbaederr
authored andcommitted
Disable LLVM_UNREACHABLE_OPTIMIZE
This was needed at some point to prevent an assertion failure, but shouldn't be relevant anymore.
1 parent 4866c39 commit 3f9db56

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build.spec.inc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ popd
5050

5151
# TODO(kkleine): Follow more closely the Distribution guidelines found here: https://llvm.org/docs/BuildingADistribution.html
5252
# force off shared libs as cmake macros turns it on.
53-
# TODO: Disable LLVM_UNREACHABLE_OPTIMIZE.
5453
%cmake -G Ninja \
5554
-DLLVM_ENABLE_PROJECTS="%{projects}" \
5655
\
@@ -162,7 +161,7 @@ popd
162161
-DLLVM_VERSION_SUFFIX='' \
163162
%endif
164163
%endif
165-
-DLLVM_UNREACHABLE_OPTIMIZE:BOOL=ON \
164+
-DLLVM_UNREACHABLE_OPTIMIZE:BOOL=OFF \
166165
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
167166
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
168167
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \

0 commit comments

Comments
 (0)