Added pgo_instrumented_build cmake args

This commit is contained in:
Konrad Kleine 2022-05-19 17:17:03 +02:00
parent 6cb4032c02
commit 9bb1431347

View file

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