mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
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:
parent
4866c39eb7
commit
3f9db5634a
1 changed files with 1 additions and 2 deletions
|
@ -50,7 +50,6 @@ popd
|
||||||
|
|
||||||
# TODO(kkleine): Follow more closely the Distribution guidelines found here: https://llvm.org/docs/BuildingADistribution.html
|
# 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.
|
# force off shared libs as cmake macros turns it on.
|
||||||
# TODO: Disable LLVM_UNREACHABLE_OPTIMIZE.
|
|
||||||
%cmake -G Ninja \
|
%cmake -G Ninja \
|
||||||
-DLLVM_ENABLE_PROJECTS="%{projects}" \
|
-DLLVM_ENABLE_PROJECTS="%{projects}" \
|
||||||
\
|
\
|
||||||
|
@ -162,7 +161,7 @@ popd
|
||||||
-DLLVM_VERSION_SUFFIX='' \
|
-DLLVM_VERSION_SUFFIX='' \
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
-DLLVM_UNREACHABLE_OPTIMIZE:BOOL=ON \
|
-DLLVM_UNREACHABLE_OPTIMIZE:BOOL=OFF \
|
||||||
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
|
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
|
||||||
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
||||||
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
|
-DLLVM_BUILD_EXTERNAL_COMPILER_RT:BOOL=ON \
|
||||||
|
|
Loading…
Reference in a new issue