diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2021-04-23 19:10:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 11:10:09 -0600 |
commit | fef05621a77ee8b62b318370e1ec7bf39502eb7c (patch) | |
tree | 1d0e5239ef7cf6a2d0efd165652a6474367713c7 | |
parent | ce664f6f5f9dfb16bcecf653b59535e4fb7bc88e (diff) | |
download | spack-fef05621a77ee8b62b318370e1ec7bf39502eb7c.tar.gz spack-fef05621a77ee8b62b318370e1ec7bf39502eb7c.tar.bz2 spack-fef05621a77ee8b62b318370e1ec7bf39502eb7c.tar.xz spack-fef05621a77ee8b62b318370e1ec7bf39502eb7c.zip |
Bootstrap with -O3 in cmake (#23147)
-rw-r--r-- | var/spack/repos/builtin/packages/cmake/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py index 7ed41db45d..c6e9dab670 100644 --- a/var/spack/repos/builtin/packages/cmake/package.py +++ b/var/spack/repos/builtin/packages/cmake/package.py @@ -228,6 +228,8 @@ class Cmake(Package): def bootstrap_args(self): spec = self.spec args = [ + 'CFLAGS=-O3', + 'CXXFLAGS=-O3', '--prefix={0}'.format(self.prefix), '--parallel={0}'.format(make_jobs) ] |