diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-05-19 20:25:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 12:25:36 -0600 |
commit | b018eb041f074537005c5c577811cf575c330b96 (patch) | |
tree | c4dbe5b921f630b073a5ef529a0665b67f83e7b9 | |
parent | 3f4398dd6707bdd6090c2e733f8bad85bb978120 (diff) | |
download | spack-b018eb041f074537005c5c577811cf575c330b96.tar.gz spack-b018eb041f074537005c5c577811cf575c330b96.tar.bz2 spack-b018eb041f074537005c5c577811cf575c330b96.tar.xz spack-b018eb041f074537005c5c577811cf575c330b96.zip |
python: more +optimizations (#30742)
-rw-r--r-- | var/spack/repos/builtin/packages/python/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py index 845f4c6743..a579358897 100644 --- a/var/spack/repos/builtin/packages/python/package.py +++ b/var/spack/repos/builtin/packages/python/package.py @@ -578,6 +578,8 @@ class Python(Package): if spec.satisfies('@2.7.13:2.8,3.5.3:', strict=True) \ and '+optimizations' in spec: config_args.append('--enable-optimizations') + config_args.append('--with-lto') + config_args.append('--with-computed-gotos') if spec.satisfies('%gcc platform=darwin'): config_args.append('--disable-toolbox-glue') |