From 61be82478c4c2e2980ebda223339e9a833244b2e Mon Sep 17 00:00:00 2001 From: liyunfei Date: Wed, 15 Oct 2025 14:43:14 +0800 Subject: [PATCH] update target triples for all openEuler based distribution --- llvm.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index b24000c..1819a59 100644 --- a/llvm.spec +++ b/llvm.spec @@ -164,7 +164,7 @@ Name: llvm Name: llvm-toolset-%{maj_ver} %endif Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 54 +Release: 55 Summary: The Low Level Virtual Machine License: NCSA @@ -804,6 +804,11 @@ execution profile gathered by sampling profiler, such as Linux `perf` tool. # shebang_fix part removed +# update Gnu target triples, make it friendly to all openEuler based distribution +%if "%{_vendor}" != "openEuler" +sed -i 's/"\([a-zA-Z0-9_-]\+\)-openEuler-linux"/"\1-openEuler-linux", "\1-%{_vendor}-linux"/g' %{build_src_dir}/clang/lib/Driver/ToolChains/Gnu.cpp +%endif + #endregion prep #region build @@ -3010,6 +3015,9 @@ fi #endregion files %changelog +* Wed Oct 15 2025 Jia Chao - 17.0.6-55 +- update target triples for all openEuler based distribution. + * Thu Oct 09 2025 liyunfei - 17.0.6-54 - Backport cmake fix for bolt libraries -- Gitee