Stop installing gtest on compat builds

This commit is contained in:
Jan200101 2023-04-12 14:13:53 +02:00
parent a4982d84f3
commit f51436a734
No known key found for this signature in database
GPG Key ID: 5B71B1D78B882E05
1 changed files with 4 additions and 0 deletions

View File

@ -279,7 +279,11 @@ export ASMFLAGS=$CFLAGS
\
-DLLVM_INCLUDE_TESTS:BOOL=ON \
-DLLVM_BUILD_TESTS:BOOL=ON \
%if %{with compat_build}
-DLLVM_INSTALL_GTEST:BOOL=OFF \
%else
-DLLVM_INSTALL_GTEST:BOOL=ON \
%endif
-DLLVM_LIT_ARGS=-v \
\
-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \