[MLIR17] Adaptation to llvm17/mlir17.

(cherry picked from commit bf9e23eb68fa92213eddde71fee88662e44512e8)
This commit is contained in:
Mingchuan Wu 2024-04-10 17:34:04 +08:00 committed by openeuler-sync-bot
parent f5300c7704
commit ec9e6c7fc6
2 changed files with 1226 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
Name: pin-gcc-client Name: pin-gcc-client
Version: 0.4.1 Version: 0.4.1
Release: 13 Release: 14
Summary: A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC. Summary: A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC.
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
URL: https://gitee.com/src-openeuler/pin-gcc-client URL: https://gitee.com/src-openeuler/pin-gcc-client
@ -24,6 +24,7 @@ Patch11: 0011-Pin-gcc-client-Adaptation-to-llvm15-mlir15-only-solv.patch
Patch12: 0012-Pin-gcc-client-Adaptation-to-gcc12-only-solves-the-b.patch Patch12: 0012-Pin-gcc-client-Adaptation-to-gcc12-only-solves-the-b.patch
Patch13: 0013-pin-gcc-client-Add-DataFlow-APIs.patch Patch13: 0013-pin-gcc-client-Add-DataFlow-APIs.patch
Patch14: 0014-PluginClient-Bugfix-for-semaphore-exception-and-port.patch Patch14: 0014-PluginClient-Bugfix-for-semaphore-exception-and-port.patch
Patch15: 0015-MLIR17-Adaptation-to-llvm17-mlir17.patch
%description %description
A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC. A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC.
@ -56,13 +57,19 @@ find %{buildroot} -type f -name "*.so" -exec strip "{}" ";"
%license LICENSE %license LICENSE
%attr(0755,root,root) %{_libdir}/libpin_gcc_client.so %attr(0755,root,root) %{_libdir}/libpin_gcc_client.so
%attr(0755,root,root) %{_libdir}/libMLIRClientAPI.so %attr(0755,root,root) %{_libdir}/libMLIRClientAPI.so
%attr(0755,root,root) %{_libdir}/libMLIRClientAPI.so.15 %attr(0755,root,root) %{_libdir}/libMLIRClientAPI.so.17
%attr(0755,root,root) %{_libdir}/libMLIRPlugin.so %attr(0755,root,root) %{_libdir}/libMLIRPlugin.so
%attr(0755,root,root) %{_libdir}/libMLIRPlugin.so.15 %attr(0755,root,root) %{_libdir}/libMLIRPlugin.so.17
%attr(0644,root,root) %{_bindir}/pin-gcc-client.json %attr(0644,root,root) %{_bindir}/pin-gcc-client.json
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf %config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
%changelog %changelog
* Wed Apr 10 2024 wumingchuan <wumingchuan1992@foxmail.com> - 0.4.1-14
- Type:Update
- ID:NA
- SUG:NA
- DESC:Adaptation to llvm17/mlir17.
* Wed Apr 10 2024 wumingchuan <wumingchuan1992@foxmail.com> - 0.4.1-13 * Wed Apr 10 2024 wumingchuan <wumingchuan1992@foxmail.com> - 0.4.1-13
- Type:Update - Type:Update
- ID:NA - ID:NA