!54 【LLVM平行宇宙】Add toolchain switch support
From: @liyunfei33 Reviewed-by: @wumingchuan Signed-off-by: @wumingchuan
This commit is contained in:
commit
cf6aaf2eb6
@ -1,6 +1,6 @@
|
||||
Name: pin-server
|
||||
Version: 0.4.0
|
||||
Release: 13
|
||||
Release: 14
|
||||
Summary: Pin (Plug-IN framework) server provides plugin APIs for compiler optimization developers to develop optimization pass.
|
||||
License: Apache 2.0
|
||||
URL: https://gitee.com/openeuler/pin-server
|
||||
@ -57,12 +57,10 @@ A demo for pin-server
|
||||
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
mkdir -p _build
|
||||
cd _build
|
||||
%{cmake} .. -DCMAKE_INSTALL_PREFIX=%{_usr} -DCMAKE_INSTALL_LIBDIR=%{_libdir} -DCMAKE_SKIP_RPATH=ON -DMLIR_DIR=/usr/lib64/cmake/mlir -DLLVM_DIR=/usr/lib64/cmake/llvm
|
||||
|
||||
%build
|
||||
cd _build
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -96,6 +94,12 @@ find %{_libdir} -type f -name "libMLIRServerAPI.so" -exec strip "{}" ";"
|
||||
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%changelog
|
||||
* Tue Aug 22 2023 liyunfei <liyunfei33@huawei.com> - 0.4.0-14
|
||||
- Type:FIX
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Add toolchain switch support
|
||||
|
||||
* Mon Aug 14 2023 dingguangya <dingguangya1@huawei.com> - 0.4.0-13
|
||||
- Type:FIX
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user