diff options
author | Zhilin Zheng <DeeliNuno@163.com> | 2022-08-23 18:13:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 12:13:47 +0200 |
commit | b307d6e7664b1cbdeae4971d3015ae6e7875eb3f (patch) | |
tree | e8afa48713abaf86c4ed2786f7841684905d25a7 | |
parent | abdecd2a9b2320bd55f59ef1d4de0813815aac71 (diff) | |
download | spack-b307d6e7664b1cbdeae4971d3015ae6e7875eb3f.tar.gz spack-b307d6e7664b1cbdeae4971d3015ae6e7875eb3f.tar.bz2 spack-b307d6e7664b1cbdeae4971d3015ae6e7875eb3f.tar.xz spack-b307d6e7664b1cbdeae4971d3015ae6e7875eb3f.zip |
remove compiler optimize level limit of O2 for GCC (#32303)
gfortran can make it with O3, it might be better to remove this limitation.
-rw-r--r-- | var/spack/repos/builtin/packages/libxc/package.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/libxc/package.py b/var/spack/repos/builtin/packages/libxc/package.py index a1dbc3ad6c..4ee0c3e4ef 100644 --- a/var/spack/repos/builtin/packages/libxc/package.py +++ b/var/spack/repos/builtin/packages/libxc/package.py @@ -72,11 +72,6 @@ class Libxc(AutotoolsPackage, CudaPackage): # microarchitecture-specific optimization flags should be controlled # by Spack, otherwise we may end up with contradictory or invalid flags # see https://github.com/spack/spack/issues/17794 - # libxc on the other hand only sets the generic -O2 when it detects GCC - - optflags = "-O2" - env.append_flags("CFLAGS", optflags) - env.append_flags("FCFLAGS", optflags) if "%intel" in self.spec: env.append_flags("CFLAGS", "-std=c99") |