!54 【LLVM平行宇宙】Add toolchain switch support
From: @liyunfei33 Reviewed-by: @wumingchuan Signed-off-by: @wumingchuan
This commit is contained in:
commit
7f248b0611
@ -1,6 +1,6 @@
|
||||
Name: pin-gcc-client
|
||||
Version: 0.4.1
|
||||
Release: 11
|
||||
Release: 12
|
||||
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
|
||||
URL: https://gitee.com/src-openeuler/pin-gcc-client
|
||||
@ -29,13 +29,10 @@ A Pin (Plug-IN framework) client is implemented based on GCC plugin and can exec
|
||||
%prep
|
||||
%autosetup -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
|
||||
@ -64,6 +61,12 @@ find %{buildroot} -type f -name "*.so" -exec strip "{}" ";"
|
||||
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%changelog
|
||||
* Tue Aug 22 2023 liyunfei <liyunfei33@huawei.com> - 0.4.1-12
|
||||
- Type:FIX
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:FIX clang toolchain error
|
||||
|
||||
* Thu Aug 3 2023 dingguangya <dingguangya1@huawei.com> - 0.4.1-11
|
||||
- Type:FIX
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user