diff options
author | Erik Schnetter <schnetter@gmail.com> | 2017-03-16 12:49:37 -0400 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-03-16 11:49:37 -0500 |
commit | 2eda08f192330f835722626f533ba8fa2583af7e (patch) | |
tree | a0890144e371ace9032377a699e974f18edbfe10 /var | |
parent | 83fe65e121d3537229b01dbd21975e34f08f79ac (diff) | |
download | spack-2eda08f192330f835722626f533ba8fa2583af7e.tar.gz spack-2eda08f192330f835722626f533ba8fa2583af7e.tar.bz2 spack-2eda08f192330f835722626f533ba8fa2583af7e.tar.xz spack-2eda08f192330f835722626f533ba8fa2583af7e.zip |
julia: New variant +simd (#3458)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/julia/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py index d25a9a9b91..7650bfc6ca 100644 --- a/var/spack/repos/builtin/packages/julia/package.py +++ b/var/spack/repos/builtin/packages/julia/package.py @@ -54,6 +54,7 @@ class Julia(Package): description="Install Julia plotting packages") variant("python", default=False, description="Install Julia Python package") + variant("simd", default=False, description="Install Julia SIMD package") patch('gc.patch', when='@0.4:0.4.5') patch('openblas.patch', when='@0.4:0.4.5') @@ -234,4 +235,8 @@ unicodeplots() plot(x->sin(x)*cos(x), linspace(0, 2pi)) """) + # Install SIMD + if "+simd" in spec: + julia("-e", 'Pkg.add("SIMD"); using SIMD') + julia("-e", 'Pkg.status()') |