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