diff options
author | iarspider <iarspider@gmail.com> | 2020-02-20 22:26:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 15:26:07 -0600 |
commit | 8b72cb64dd30cb3976626ab70854b677c9ba392a (patch) | |
tree | 588ce19db5b0353d21ce1e7acbb22368c840a360 /var | |
parent | dd0e18d7b82ea592e972fa15880acd64cefaf262 (diff) | |
download | spack-8b72cb64dd30cb3976626ab70854b677c9ba392a.tar.gz spack-8b72cb64dd30cb3976626ab70854b677c9ba392a.tar.bz2 spack-8b72cb64dd30cb3976626ab70854b677c9ba392a.tar.xz spack-8b72cb64dd30cb3976626ab70854b677c9ba392a.zip |
Add extra version of vc (#15119)
* Add extra version of vc
* Update package.py
* Update package.py
* Update var/spack/repos/builtin/packages/vc/package.py
Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
* Update package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/vc/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vc/package.py b/var/spack/repos/builtin/packages/vc/package.py index 1b06477899..7d975c352b 100644 --- a/var/spack/repos/builtin/packages/vc/package.py +++ b/var/spack/repos/builtin/packages/vc/package.py @@ -12,6 +12,7 @@ class Vc(CMakePackage): homepage = "https://github.com/VcDevel/Vc" url = "https://github.com/VcDevel/Vc/archive/1.3.0.tar.gz" + version('1.4.1', sha256='7e8b57ed5ff9eb0835636203898c21302733973ff8eaede5134dd7cb87f915f6') version('1.3.0', sha256='2309a19eea136e1f9d5629305b2686e226093e23fe5b27de3d6e3d6084991c3a') version('1.2.0', sha256='9cd7b6363bf40a89e8b1d2b39044b44a4ce3f1fd6672ef3fc45004198ba28a2b') version('1.1.0', sha256='281b4c6152fbda11a4b313a0a0ca18565ee049a86f35f672f1383967fef8f501') @@ -20,3 +21,9 @@ class Vc(CMakePackage): description='The build type to build', values=('Debug', 'Release', 'RelWithDebug', 'RelWithDebInfo', 'MinSizeRel')) + + def cmake_args(self): + if self.run_tests: + return ['-DBUILD_TESTING=ON'] + else: + return ['-DBUILD_TESTING=OFF'] |