From ec3649f757a4c114e14aa812d5c27f203e2a4807 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Wed, 1 May 2024 19:50:52 +0200 Subject: [PATCH] [14.0.x] Fix unittest link flags for extra micro-arch --- scram-project-build.file | 2 +- scram-tool-conf.file | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scram-project-build.file b/scram-project-build.file index 6d7c50e23c1..91543b30759 100644 --- a/scram-project-build.file +++ b/scram-project-build.file @@ -60,7 +60,7 @@ BuildRequires: dwz %endif %if "%{?configtag:set}" != "set" -%define configtag V09-02-14 +%define configtag V09-02-15 %endif %if "%{?buildarch:set}" != "set" diff --git a/scram-tool-conf.file b/scram-tool-conf.file index cdacd41fbbf..a7fc0433baa 100644 --- a/scram-tool-conf.file +++ b/scram-tool-conf.file @@ -39,6 +39,7 @@ for tool in %requiredtools; do done %{_sourcedir}/scram-tools/bin/get_tools "" "system" %i "systemtools" +default_microarch_flag=$(%{cmsdist_directory}/vectorization/cmsdist_packages.py) for vec in %{package_vectorization}; do \ ucvec=`echo $vec | tr '[a-z-]' '[A-Z_]'` for tool in %{vectorized_packages}; do \ @@ -49,7 +50,7 @@ for vec in %{package_vectorization}; do \ done if [ -f %i/tools/selected/gcc-cxxcompiler.xml ] ; then f=$(%{cmsdist_directory}/vectorization/cmsdist_packages.py $vec) - sed -i -e "s## \n#" %i/tools/selected/gcc-cxxcompiler.xml + sed -i -e "s# *# \n \n #" %i/tools/selected/gcc-cxxcompiler.xml fi done