fix rpm build error

This commit is contained in:
Konrad Kleine 2022-01-24 15:16:39 +01:00
parent 6ca803a724
commit eb45f0184d

View File

@ -108,9 +108,11 @@ export LD_LIBRARY_PATH=%{_builddir}/%{mlir_srcdir}/%{name}/%{_build}/%{_lib}
%files
%license LICENSE.TXT
%if %{without snapshot_build}
%{_libdir}/libmlir_runner_utils.so.%{maj_ver}*
%{_libdir}/libmlir_c_runner_utils.so.%{maj_ver}*
%{_libdir}/libmlir_async_runtime.so.%{maj_ver}*
%endif
%{_libdir}/libMLIR*.so.%{maj_ver}*
%files static
@ -128,9 +130,11 @@ export LD_LIBRARY_PATH=%{_builddir}/%{mlir_srcdir}/%{name}/%{_build}/%{_lib}
%files devel
%{_bindir}/mlir-tblgen
%{_libdir}/libMLIR*.so
%if %{without snapshot_build}
%{_libdir}/libmlir_runner_utils.so
%{_libdir}/libmlir_c_runner_utils.so
%{_libdir}//libmlir_async_runtime.so
%{_libdir}/libmlir_async_runtime.so
%endif
%{_includedir}/mlir
%{_includedir}/mlir-c
%{_libdir}/cmake/mlir