diff --git a/pin-gcc-client-0.2.0.tar.gz b/pin-gcc-client-0.2.0.tar.gz deleted file mode 100644 index f368e63e4b3805c64d8b86b603b38c612d10652d..0000000000000000000000000000000000000000 Binary files a/pin-gcc-client-0.2.0.tar.gz and /dev/null differ diff --git a/pin-gcc-client-0.3.0.tar.gz b/pin-gcc-client-0.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5782dcd3be229bfb67de15246e567e629e3dff9b Binary files /dev/null and b/pin-gcc-client-0.3.0.tar.gz differ diff --git a/pin-gcc-client.spec b/pin-gcc-client.spec index 1f9ea5fd4749cc14f5a2bc255d09dcbe9c24eeb8..8a3369f6adee6953a36fe383002a4a16212c84ac 100644 --- a/pin-gcc-client.spec +++ b/pin-gcc-client.spec @@ -1,12 +1,13 @@ Name: pin-gcc-client -Version: 0.2.0 +Version: 0.3.0 Release: 1 Summary: A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC. -License: Apache 2.0 +License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD URL: https://gitee.com/src-openeuler/pin-gcc-client Source0: %{name}-%{version}.tar.gz BuildRequires: gcc gcc-c++ gcc-plugin-devel cmake make pkgconfig grpc grpc-plugins grpc-devel protobuf-devel jsoncpp-devel +BuildRequires: llvm-mlir llvm-mlir-static llvm-mlir-devel llvm-devel Requires: gcc grpc protobuf %description @@ -19,7 +20,8 @@ A Pin (Plug-IN framework) client is implemented based on GCC plugin and can exec %setup -q mkdir -p _build cd _build -%{cmake} .. -DCMAKE_INSTALL_PREFIX=%{_usr} -DCMAKE_INSTALL_LIBDIR=%{_libdir} +%{cmake} .. -DCMAKE_INSTALL_PREFIX=%{_usr} -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DMLIR_DIR=/usr/lib64/cmake/mlir -DLLVM_DIR=/usr/lib64/cmake/llvm + %build cd _build @@ -32,9 +34,19 @@ cd _build %files %license LICENSE %attr(0755,root,root) %{_libdir}/libpin_gcc_client.so +%attr(0755,root,root) %{_libdir}/libMLIRClientAPI.so +%attr(0755,root,root) %{_libdir}/libMLIRClientAPI.so.12 +%attr(0755,root,root) %{_libdir}/libMLIRPlugin.so +%attr(0755,root,root) %{_libdir}/libMLIRPlugin.so.12 %attr(0644,root,root) %{_bindir}/pin-gcc-client.json %changelog +* Thu Dec 01 2022 wumingchuan - 0.3.0-1 +- Type:Update +- ID:NA +- SUG:NA +- DESC:Update to v0.3.0 + * Thu Sep 29 2022 wumingchuan - 0.2.0-1 - Type:Update - ID:NA