rhbz#2127916: Add mlir tools to mlir-devel
This commit is contained in:
parent
2f69e5033c
commit
88268d8e6d
14
mlir.spec
14
mlir.spec
|
@ -7,7 +7,7 @@
|
|||
|
||||
Name: mlir
|
||||
Version: %{mlir_version}%{?rc_ver:~rc%{rc_ver}}
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Multi-Level Intermediate Representation Overview
|
||||
|
||||
License: Apache-2.0 WITH LLVM-exception
|
||||
|
@ -65,6 +65,7 @@ find ../* -maxdepth 0 ! -name '%{name}' -exec rm -rf {} +
|
|||
-DLLVM_BUILD_LLVM_DYLIB=ON \
|
||||
-DCMAKE_PREFIX_PATH=%{_libdir}/cmake/llvm/ \
|
||||
-DLLVM_EXTERNAL_LIT=%{_bindir}/lit \
|
||||
-DLLVM_BUILD_TOOLS:BOOL=ON \
|
||||
-DLLVM_BUILD_UTILS:BOOL=ON \
|
||||
-DMLIR_INCLUDE_DOCS:BOOL=ON \
|
||||
-DMLIR_INCLUDE_TESTS:BOOL=ON \
|
||||
|
@ -109,7 +110,15 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}
|
|||
%{_libdir}/libMLIR*.a
|
||||
|
||||
%files devel
|
||||
%{_bindir}/mlir-cpu-runner
|
||||
%{_bindir}/mlir-linalg-ods-yaml-gen
|
||||
%{_bindir}/mlir-lsp-server
|
||||
%{_bindir}/mlir-opt
|
||||
%{_bindir}/mlir-pdll-lsp-server
|
||||
%{_bindir}/mlir-reduce
|
||||
%{_bindir}/mlir-tblgen
|
||||
%{_bindir}/mlir-translate
|
||||
%{_bindir}/tblgen-lsp-server
|
||||
%{_libdir}/libMLIR*.so
|
||||
%{_libdir}/libmlir_async_runtime.so
|
||||
%{_libdir}/libmlir_c_runner_utils.so
|
||||
|
@ -119,6 +128,9 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}
|
|||
%{_libdir}/cmake/mlir
|
||||
|
||||
%changelog
|
||||
* Mon Sep 19 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-5
|
||||
- rhbz#2127916: Add mlir tools to mlir-devel
|
||||
|
||||
* Thu Sep 15 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-4
|
||||
- Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue