Use lit from in-source

This commit is contained in:
Konrad Kleine 2024-05-08 06:06:52 +00:00
parent dab3420c0b
commit abce59b8a2

View file

@ -156,7 +156,7 @@ cd llvm
%else %else
-DLLVM_INSTALL_GTEST:BOOL=ON \ -DLLVM_INSTALL_GTEST:BOOL=ON \
%endif %endif
-DLLVM_LIT_ARGS="-vv --path %{_libdir}/llvm" \ -DLLVM_LIT_ARGS="-vv" \
\ \
-DLLVM_INCLUDE_EXAMPLES:BOOL=ON \ -DLLVM_INCLUDE_EXAMPLES:BOOL=ON \
-DLLVM_BUILD_EXAMPLES:BOOL=OFF \ -DLLVM_BUILD_EXAMPLES:BOOL=OFF \
@ -198,7 +198,6 @@ cd llvm
\ \
-DLLVM_DYLIB_COMPONENTS="all" \ -DLLVM_DYLIB_COMPONENTS="all" \
-DLLVM_COMMON_CMAKE_UTILS=%{install_datadir}/llvm/cmake \ -DLLVM_COMMON_CMAKE_UTILS=%{install_datadir}/llvm/cmake \
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
\ \
\ \
%ifarch x86_64 %ifarch x86_64