diff --git a/llvm.spec b/llvm.spec index b24000cf5f7cf27fc32ccecf95876dae075436de..1819a597f4ad826ebd59abbbd7c5f66b1dfeb987 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