explicitly define directories for compat builds

This commit is contained in:
Jan200101 2022-12-06 09:59:10 +01:00
parent 063558e729
commit 154be768ac
No known key found for this signature in database
GPG Key ID: 5B71B1D78B882E05

View File

@ -109,6 +109,7 @@ sed 's/add_subdirectory(tools\/lld)//' -i CMakeLists.txt
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DPYTHON_EXECUTABLE=%{__python3} \
%if %{with compat_build}
-DLLVM_CMAKE_DIR=%{install_libdir}/cmake/llvm \
-DLLVM_INCLUDE_TESTS=OFF \
%else
-DLLVM_INCLUDE_TESTS=ON \