diff --git a/0003-Move-AI4C-to-lib64_public.patch b/0003-Move-AI4C-to-lib64_public.patch new file mode 100644 index 0000000000000000000000000000000000000000..2dbb0c1aa6b410c50385f1a9655619158444d7ee --- /dev/null +++ b/0003-Move-AI4C-to-lib64_public.patch @@ -0,0 +1,29 @@ +From 38f74ce1182b0352cefc766b97f4a7f0dde218e9 Mon Sep 17 00:00:00 2001 +From: yinchuang +Date: Thu, 10 Apr 2025 09:41:04 +0800 +Subject: [PATCH] Move AI4C to lib64_public. + +--- + build/hcc_arm64le_native/install_ai4c.sh | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/build/hcc_arm64le_native/install_ai4c.sh b/build/hcc_arm64le_native/install_ai4c.sh +index 78a1e27..ad60a5f 100644 +--- a/build/hcc_arm64le_native/install_ai4c.sh ++++ b/build/hcc_arm64le_native/install_ai4c.sh +@@ -3,9 +3,9 @@ + cur_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd)" + + # Locate the .whl files to install. +-ai4cglob=( $cur_dir/../lib64/AI4C/ai4c-*.whl ) +-opentunerglob=( $cur_dir/../lib64/AI4C/huawei_opentuner-*.whl ) +-autotunerglob=( $cur_dir/../lib64/AI4C/autotuner-*.whl ) ++ai4cglob=( $cur_dir/../lib64_public/AI4C/ai4c-*.whl ) ++opentunerglob=( $cur_dir/../lib64_public/AI4C/huawei_opentuner-*.whl ) ++autotunerglob=( $cur_dir/../lib64_public/AI4C/autotuner-*.whl ) + + python3=$(type -p python3) + $python3 -m pip install "${ai4cglob[-1]}" +-- +2.33.0 + diff --git a/gcc-for-openEuler.spec b/gcc-for-openEuler.spec index 099a3d30f26500d6a6986ff1d2ee70480371ea51..d87f222474b25f135d50c361cd9d969ebfe53782 100644 --- a/gcc-for-openEuler.spec +++ b/gcc-for-openEuler.spec @@ -1,6 +1,6 @@ Name: gcc-for-openEuler Version: 2.0.2 -Release: 3 +Release: 4 Summary: GCC released as a binary package for openEuler and other OSes. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2 and BSD @@ -18,6 +18,7 @@ BuildRequires: chrpath centos-release-scl devtoolset-7 python3 zlib-devel lksctp Patch1: 0001-Change-branch-name-for-mathlib-and-jemalloc.patch Patch2: 0002-Move-libmathlib.so-to-lib64_public.patch +Patch3: 0003-Move-AI4C-to-lib64_public.patch %description GCC released as a binary package for openEuler and other OSes. @@ -47,6 +48,9 @@ sha256sum %{build_name}.tar.gz > %{build_name}.tar.gz.sha256 %attr(755, root, root) /%{build_name}.tar.gz.sha256 %changelog +* Thu Apr 10 2025 Zheng Chenhui - 2.0.2-4 +- -Move AI4C to lib64_public. + * Thu Mar 20 2025 Zheng Chenhui - 2.0.2-3 - Move libmathlib.so to lib64_public.