Revert "enable lto for release builds (#10717)" (#10721)

This reverts commit 44161874ff.
This commit is contained in:
David 2019-06-05 11:57:09 +02:00 committed by GitHub
parent 44161874ff
commit f7dae48c17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -119,13 +119,8 @@ name = "parity"
[profile.dev] [profile.dev]
[profile.test]
lto = false
opt-level = 3 # makes tests slower to compile, but faster to run
[profile.release] [profile.release]
debug = false debug = false
lto = true
[workspace] [workspace]
# This should only list projects that are not # This should only list projects that are not

View File

@ -6,7 +6,7 @@ set -e # fail on any error
set -u # treat unset variables as error set -u # treat unset variables as error
FEATURES="json-tests,ci-skip-tests" FEATURES="json-tests,ci-skip-tests"
OPTIONS="" OPTIONS="--release"
#use nproc `linux only #use nproc `linux only
THREADS=$(nproc) THREADS=$(nproc)