mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 18:36:50 +00:00
Added pgo_instrumented_build cmake args
This commit is contained in:
parent
6cb4032c02
commit
9bb1431347
1 changed files with 6 additions and 0 deletions
|
@ -318,6 +318,12 @@ 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 \
|
||||||
|
|
Loading…
Reference in a new issue