[Update] Update to v0.3.0
This commit is contained in:
parent
4cf5c53896
commit
37f9a9e6da
@ -1,27 +0,0 @@
|
|||||||
From 598ff3f688c14a5c17cc8f71d75c48767797ddd1 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mingchuan Wu <wumingchuan1992@foxmail.com>
|
|
||||||
Date: Thu, 29 Sep 2022 11:57:54 +0800
|
|
||||||
Subject: [PATCH] [Pin-server] Fixed incorrect installation path in
|
|
||||||
CMakeLists.txt Fixed incorrect installation path for libpin_user.sha256 in
|
|
||||||
CMakeLists.txt.
|
|
||||||
|
|
||||||
---
|
|
||||||
CMakeLists.txt | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 44dfd32..7615077 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -58,7 +58,7 @@ target_link_libraries(pin_server
|
|
||||||
install(TARGETS pin_server RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
|
||||||
install(TARGETS pin_user LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
||||||
include(GNUInstallDirs)
|
|
||||||
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libpin_user.sha256" DESTINATION lib)
|
|
||||||
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libpin_user.sha256" DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
|
||||||
|
|
||||||
# uninstall target
|
|
||||||
if(NOT TARGET uninstall)
|
|
||||||
--
|
|
||||||
2.33.0
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
pin-server-0.3.0.tar.gz
Normal file
BIN
pin-server-0.3.0.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,13 @@
|
|||||||
Name: pin-server
|
Name: pin-server
|
||||||
Version: 0.2.0
|
Version: 0.3.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Pin (Plug-IN framework) server provides plugin APIs for compiler optimization developers to develop optimization pass.
|
Summary: Pin (Plug-IN framework) server provides plugin APIs for compiler optimization developers to develop optimization pass.
|
||||||
License: Apache 2.0
|
License: Apache 2.0
|
||||||
URL: https://gitee.com/openeuler/pin-server
|
URL: https://gitee.com/openeuler/pin-server
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
Patch0: 0001-fixed-incorrect-installation-path.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc gcc-c++ cmake make pkgconfig grpc grpc-plugins grpc-devel protobuf-devel jsoncpp-devel
|
BuildRequires: gcc gcc-c++ cmake make pkgconfig grpc grpc-plugins grpc-devel protobuf-devel jsoncpp-devel
|
||||||
|
BuildRequires: llvm-mlir llvm-mlir-static llvm-mlir-devel llvm-devel
|
||||||
Requires: grpc protobuf
|
Requires: grpc protobuf
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -26,10 +26,9 @@ A demo for pin-server
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
mkdir -p _build
|
mkdir -p _build
|
||||||
cd _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
|
%build
|
||||||
cd _build
|
cd _build
|
||||||
@ -45,9 +44,19 @@ cd _build
|
|||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%attr(0755,root,root) %{_libdir}/libpin_user.so
|
%attr(0755,root,root) %{_libdir}/libpin_user.so
|
||||||
|
%attr(0755,root,root) %{_libdir}/libMLIRPlugin.so
|
||||||
|
%attr(0755,root,root) %{_libdir}/libMLIRPlugin.so.12
|
||||||
|
%attr(0755,root,root) %{_libdir}/libMLIRServerAPI.so
|
||||||
|
%attr(0755,root,root) %{_libdir}/libMLIRServerAPI.so.12
|
||||||
%attr(0644,root,root) %{_libdir}/libpin_user.sha256
|
%attr(0644,root,root) %{_libdir}/libpin_user.sha256
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 01 2022 wumingchuan <wumingchuan1992@foxmail.com> - 0.3.0-1
|
||||||
|
- Type:Update
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:Update to v0.3.0
|
||||||
|
|
||||||
* Thu Sep 29 2022 wumingchuan <wumingchuan1992@foxmail.com> - 0.2.0-1
|
* Thu Sep 29 2022 wumingchuan <wumingchuan1992@foxmail.com> - 0.2.0-1
|
||||||
- Type:Update
|
- Type:Update
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user