From 601f585adf0d86b7275e528c519f0d9e391d6b10 Mon Sep 17 00:00:00 2001 From: liyunfei Date: Tue, 22 Aug 2023 15:50:43 +0800 Subject: [PATCH] Add toolchain switch support (cherry picked from commit a795308f95e5cb30062c2c8cda5b28640bb6475e) --- pin-gcc-client.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pin-gcc-client.spec b/pin-gcc-client.spec index cf6369a..dd2ea3e 100644 --- a/pin-gcc-client.spec +++ b/pin-gcc-client.spec @@ -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 - 0.4.1-12 +- Type:FIX +- ID:NA +- SUG:NA +- DESC:FIX clang toolchain error + * Thu Aug 3 2023 dingguangya - 0.4.1-11 - Type:FIX - ID:NA -- Gitee