summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2020-03-16 15:55:16 -0400
committerGitHub <noreply@github.com>2020-03-16 20:55:16 +0100
commitc9a715b190c7ac077ca29143b57ec0b7445bc9c1 (patch)
tree3e1d6c28c30cea5bcfb32cee459a2af1542840f0 /var
parent3029dde7ec96a33769d420f6b1f5c58086795931 (diff)
downloadspack-c9a715b190c7ac077ca29143b57ec0b7445bc9c1.tar.gz
spack-c9a715b190c7ac077ca29143b57ec0b7445bc9c1.tar.bz2
spack-c9a715b190c7ac077ca29143b57ec0b7445bc9c1.tar.xz
spack-c9a715b190c7ac077ca29143b57ec0b7445bc9c1.zip
veccore: added package at v0.6.0 (#15472)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/veccore/package.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/veccore/package.py b/var/spack/repos/builtin/packages/veccore/package.py
new file mode 100644
index 0000000000..a339358a08
--- /dev/null
+++ b/var/spack/repos/builtin/packages/veccore/package.py
@@ -0,0 +1,40 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Veccore(CMakePackage, CudaPackage):
+ """SIMD Vectorization Library for VecGeom and GeantV"""
+
+ homepage = "https://gitlab.cern.ch/VecGeom/VecCore"
+ url = "https://gitlab.cern.ch/VecGeom/VecCore/-/archive/v0.6.0/VecCore-v0.6.0.tar.gz"
+ git = "https://gitlab.cern.ch/VecGeom/VecCore.git"
+
+ maintainers = ['drbenmorgan', 'sethrj']
+
+ version('master', branch='master')
+ version('0.6.0', sha256='e7ff874ba2a8201624795cbe11c84634863e4ac7da691a936772d4202ef54413')
+ version('0.5.2', sha256='0cfaa830b9d10fb9df4ced5208a742623da08520fea5949461fe81637a27db15')
+ version('0.5.1', sha256='5ef3a8d8692d8f82641aae76b58405b8b3a1539a8f21b23d66a5df8327eeafc4')
+ version('0.5.0', sha256='aba3e0217c0cd829290c9fe63f1db865838aa25312ae0a09effdcb186f7771be')
+ version('0.4.2', sha256='4a3bb944bce63dc1dc9757ba53624b822e1aff5ed088d542039a20227ed2b715')
+
+ variant('cxxstd',
+ default='11',
+ values=('11', '14', '17'),
+ multi=False,
+ description='Use the specified C++ standard when building.')
+ conflicts('cxxstd=14', when='@:0.5')
+ conflicts('cxxstd=17', when='@:0.5')
+
+ def cmake_args(self):
+ define = CMakePackage.define
+ return [
+ define('VC', False),
+ define('UMESIMD', False),
+ self.define_from_variant('CMAKE_CXX_STANDARD', 'cxxstd'),
+ self.define_from_variant('CUDA'),
+ ]