Skip to content

Commit

Permalink
Improve packaged Linux binary performance (#1755)
Browse files Browse the repository at this point in the history
In order to address problems on older CPUs with "illegal instruction"
errors, we set the target CPU to x86-64 for Deb and RPM release builds.
Original issue is #1682 and the PR to implement was #1686.

As part of #1682, we discussed that we should also build using
-mtune=intel to get better performance.
  • Loading branch information
SeanTAllen authored and killerswan committed Mar 25, 2017
1 parent 077c276 commit e248c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis_script.bash
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ponyc-build-packages(){
PACKAGE_ITERATION="${TRAVIS_BUILD_NUMBER}.$(git rev-parse --short --verify 'HEAD^{commit}')"

echo "Building ponyc packages for deployment..."
make verbose=1 arch=x86-64 config=release package_name="ponyc" package_base_version="$(cat VERSION)" package_iteration="${PACKAGE_ITERATION}" deploy
make CC="$CC1" CXX="$CXX1" verbose=1 arch=x86-64 tune=intel config=release package_name="ponyc" package_base_version="$(cat VERSION)" package_iteration="${PACKAGE_ITERATION}" deploy
}

ponyc-build-docs(){
Expand Down

0 comments on commit e248c3b

Please sign in to comment.