summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJed Brown <jed@jedbrown.org>2019-09-23 11:38:44 -0600
committerPeter Scheibel <scheibel1@llnl.gov>2019-09-23 10:38:44 -0700
commit958b81a5649c0bef525ef7cd55f405606ff66c17 (patch)
treeb5c01a6561d19b72405115cfe0a3e776f151764b /var
parent08e77e1b41738abda7613247c7fcf64734c70039 (diff)
downloadspack-958b81a5649c0bef525ef7cd55f405606ff66c17.tar.gz
spack-958b81a5649c0bef525ef7cd55f405606ff66c17.tar.bz2
spack-958b81a5649c0bef525ef7cd55f405606ff66c17.tar.xz
spack-958b81a5649c0bef525ef7cd55f405606ff66c17.zip
libceed package: add version 0.5 (#12875)
Also enable vectorization via -O3 for gcc/clang
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libceed/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/libceed/package.py b/var/spack/repos/builtin/packages/libceed/package.py
index ecce991e8f..5eb11a6ef8 100644
--- a/var/spack/repos/builtin/packages/libceed/package.py
+++ b/var/spack/repos/builtin/packages/libceed/package.py
@@ -13,6 +13,7 @@ class Libceed(Package):
git = "https://github.com/CEED/libCEED.git"
version('develop', branch='master')
+ version('0.5', tag='v0.5')
version('0.4', tag='v0.4')
version('0.2', tag='v0.2')
version('0.1', tag='v0.1')
@@ -60,7 +61,7 @@ class Libceed(Package):
if '+debug' in spec:
opt = '-g'
elif compiler.name == 'gcc':
- opt = '-O -g -ffp-contract=fast'
+ opt = '-O3 -g -ffp-contract=fast'
if compiler.target in ['x86_64']:
opt += ' -march=native'
elif compiler.target in ['ppc64le']:
@@ -68,7 +69,7 @@ class Libceed(Package):
if compiler.version >= ver(4.9):
opt += ' -fopenmp-simd'
elif compiler.name == 'clang':
- opt = '-O -g -march=native -ffp-contract=fast'
+ opt = '-O3 -g -march=native -ffp-contract=fast'
if compiler.version.string.endswith('-apple'):
if compiler.version >= ver(10):
opt += ' -fopenmp-simd'