Skip to content

Commit

Permalink
Select cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
aressem committed Aug 23, 2024
1 parent 1ca12cd commit f16b823
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions screwdriver/release-generic-container-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .

Expand Down

0 comments on commit f16b823

Please sign in to comment.