From 931181581d1ba53fe09d8d97e20fe3cf59b604cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=99=A8=E5=8D=89?= Date: Tue, 11 Feb 2025 06:32:40 +0000 Subject: [PATCH] Fix cmake build error. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: éƒ‘æ™šć‰ (cherry picked from commit 8cac860e8201045987a4071d5afb5722b027629a) --- pin-gcc-client.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pin-gcc-client.spec b/pin-gcc-client.spec index 5666266..68fa655 100644 --- a/pin-gcc-client.spec +++ b/pin-gcc-client.spec @@ -1,6 +1,6 @@ Name: pin-gcc-client Version: 0.4.1 -Release: 15 +Release: 16 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 @@ -33,6 +33,7 @@ A Pin (Plug-IN framework) client is implemented based on GCC plugin and can exec %autosetup -p1 %build +DESTDIR="%{buildroot}" %{cmake} -DCMAKE_SKIP_RPATH=ON -DMLIR_DIR=/usr/lib64/cmake/mlir -DLLVM_DIR=/usr/lib64/cmake/llvm %cmake_build @@ -51,6 +52,11 @@ find %{buildroot} -type f -name "*.so" -exec strip "{}" ";" %attr(0644,root,root) %{_bindir}/pin-gcc-client.json %changelog +* Tue Feb 11 2025 zhengchenhui - 0.4.1-16 +- Type:Bugfix +- SUG:NA +- DESC:Fix cmake build error. + * Wed Nov 13 2024 Funda Wang - 0.4.1-15 - adopt to new cmake macro - drop useless scriptlets -- Gitee