mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-25 01:35:17 +00:00
Move bcond in cmake down in case we want to override stuff
This commit is contained in:
parent
4da1592fc5
commit
731a65703c
1 changed files with 6 additions and 6 deletions
12
llvm.spec
12
llvm.spec
|
@ -322,12 +322,6 @@ LLVM's modified googletest sources.
|
||||||
%if %{without compat_build}
|
%if %{without compat_build}
|
||||||
-DLLVM_VERSION_SUFFIX='' \
|
-DLLVM_VERSION_SUFFIX='' \
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
%if %{with pgo_instrumented_build}
|
|
||||||
-DLLVM_BUILD_INSTRUMENTED=IR \
|
|
||||||
-DLLVM_BUILD_RUNTIME=No \
|
|
||||||
-DCMAKE_C_COMPILER=/usr/bin/clang \
|
|
||||||
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
|
|
||||||
%endif
|
%endif
|
||||||
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
|
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \
|
||||||
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
|
||||||
|
@ -339,6 +333,12 @@ LLVM's modified googletest sources.
|
||||||
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
|
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
|
||||||
-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
|
-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
|
||||||
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
|
-DLLVM_INSTALL_SPHINX_HTML_DIR=%{_pkgdocdir}/html \
|
||||||
|
%if %{with pgo_instrumented_build}
|
||||||
|
-DLLVM_BUILD_INSTRUMENTED=IR \
|
||||||
|
-DLLVM_BUILD_RUNTIME=No \
|
||||||
|
-DCMAKE_C_COMPILER=/usr/bin/clang \
|
||||||
|
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
|
||||||
|
%endif
|
||||||
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
|
-DSPHINX_EXECUTABLE=%{_bindir}/sphinx-build-3
|
||||||
|
|
||||||
# Build libLLVM.so first. This ensures that when libLLVM.so is linking, there
|
# Build libLLVM.so first. This ensures that when libLLVM.so is linking, there
|
||||||
|
|
Loading…
Reference in a new issue