julia: New variant +simd (#3458)
This commit is contained in:
parent
83fe65e121
commit
2eda08f192
1 changed files with 5 additions and 0 deletions
|
@ -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 @@ def install(self, spec, prefix):
|
|||
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()')
|
||||
|
|
Loading…
Reference in a new issue