From f16b823086f92a826974ff15014ad291d7d7610c Mon Sep 17 00:00:00 2001 From: Arnstein Ressem Date: Fri, 23 Aug 2024 11:41:31 +0200 Subject: [PATCH] Select cpu --- screwdriver/release-generic-container-image.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/screwdriver/release-generic-container-image.sh b/screwdriver/release-generic-container-image.sh index 3337b4aec3f4..597cc5926426 100755 --- a/screwdriver/release-generic-container-image.sh +++ b/screwdriver/release-generic-container-image.sh @@ -11,7 +11,7 @@ fi readonly VESPA_VERSION=$1 TMPDIR=$(mktemp -d) -#trap "rm -rf $TMPDIR" EXIT +trap "rm -rf $TMPDIR" EXIT pushd $TMPDIR git clone -q --filter tree:0 https://github.com/vespa-engine/vespa @@ -24,10 +24,9 @@ rpmbuild --rebuild \ --define="_topdir $TMPDIR/vespa-rpmbuild" \ --define "debug_package %{nil}" \ --define "_debugsource_template %{nil}" \ + --define '_cmake_extra_opts "-DDEFAULT_VESPA_CPU_ARCH_FLAGS=-msse3 -mcx16 -mtune=intel"' \ *.src.rpm -# --define '_cmake_extra_opts "-DDEFAULT_VESPA_CPU_ARCH_FLAGS=-msse3 -mcx16 -mtune=intel"' \ - rm -f *.src.rpm mv $TMPDIR/vespa-rpmbuild/RPMS/*/*.rpm .