Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
35cf52d1
Commit
35cf52d1
authored
8 years ago
by
Todd Gamblin
Browse files
Options
Downloads
Plain Diff
Merge pull request #707 from dhandeo/visit
VisIt v2.10.1
parents
8ce45d21
ef202fbe
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
var/spack/repos/builtin/packages/silo/package.py
+4
-0
4 additions, 0 deletions
var/spack/repos/builtin/packages/silo/package.py
var/spack/repos/builtin/packages/visit/package.py
+31
-0
31 additions, 0 deletions
var/spack/repos/builtin/packages/visit/package.py
with
35 additions
and
0 deletions
var/spack/repos/builtin/packages/silo/package.py
+
4
−
0
View file @
35cf52d1
from
spack
import
*
from
spack
import
*
class
Silo
(
Package
):
class
Silo
(
Package
):
"""
Silo is a library for reading and writing a wide variety of scientific
"""
Silo is a library for reading and writing a wide variety of scientific
data to binary, disk files.
"""
data to binary, disk files.
"""
...
@@ -12,6 +13,7 @@ class Silo(Package):
...
@@ -12,6 +13,7 @@ class Silo(Package):
version
(
'
4.8
'
,
'
b1cbc0e7ec435eb656dc4b53a23663c9
'
)
version
(
'
4.8
'
,
'
b1cbc0e7ec435eb656dc4b53a23663c9
'
)
variant
(
'
fortran
'
,
default
=
True
,
description
=
'
Enable Fortran support
'
)
variant
(
'
fortran
'
,
default
=
True
,
description
=
'
Enable Fortran support
'
)
variant
(
'
shared
'
,
default
=
True
,
description
=
'
Build shared libraries
'
)
variant
(
'
silex
'
,
default
=
False
,
description
=
'
Builds Silex, a GUI for viewing Silo files
'
)
variant
(
'
silex
'
,
default
=
False
,
description
=
'
Builds Silex, a GUI for viewing Silo files
'
)
depends_on
(
'
hdf5
'
)
depends_on
(
'
hdf5
'
)
...
@@ -21,6 +23,7 @@ def install(self, spec, prefix):
...
@@ -21,6 +23,7 @@ def install(self, spec, prefix):
config_args
=
[
config_args
=
[
'
--enable-fortran
'
if
'
+fortran
'
in
spec
else
'
--disable-fortran
'
,
'
--enable-fortran
'
if
'
+fortran
'
in
spec
else
'
--disable-fortran
'
,
'
--enable-silex
'
if
'
+silex
'
in
spec
else
'
--disable-silex
'
,
'
--enable-silex
'
if
'
+silex
'
in
spec
else
'
--disable-silex
'
,
'
--enable-shared
'
if
'
+shared
'
in
spec
else
'
--disable-shared
'
,
]
]
if
'
+silex
'
in
spec
:
if
'
+silex
'
in
spec
:
...
@@ -30,6 +33,7 @@ def install(self, spec, prefix):
...
@@ -30,6 +33,7 @@ def install(self, spec, prefix):
'
--prefix=%s
'
%
prefix
,
'
--prefix=%s
'
%
prefix
,
'
--with-hdf5=%s,%s
'
%
(
spec
[
'
hdf5
'
].
prefix
.
include
,
spec
[
'
hdf5
'
].
prefix
.
lib
),
'
--with-hdf5=%s,%s
'
%
(
spec
[
'
hdf5
'
].
prefix
.
include
,
spec
[
'
hdf5
'
].
prefix
.
lib
),
'
--with-zlib=%s,%s
'
%
(
spec
[
'
zlib
'
].
prefix
.
include
,
spec
[
'
zlib
'
].
prefix
.
lib
),
'
--with-zlib=%s,%s
'
%
(
spec
[
'
zlib
'
].
prefix
.
include
,
spec
[
'
zlib
'
].
prefix
.
lib
),
'
--enable-install-lite-headers
'
,
*
config_args
)
*
config_args
)
make
()
make
()
...
...
This diff is collapsed.
Click to expand it.
var/spack/repos/builtin/packages/visit/package.py
0 → 100644
+
31
−
0
View file @
35cf52d1
from
spack
import
*
class
Visit
(
Package
):
"""
VisIt is an Open Source, interactive, scalable, visualization, animation and analysis tool.
"""
homepage
=
"
https://wci.llnl.gov/simulation/computer-codes/visit/
"
url
=
"
http://portal.nersc.gov/project/visit/releases/2.10.1/visit2.10.1.tar.gz
"
version
(
'
2.10.1
'
,
'
3cbca162fdb0249f17c4456605c4211e
'
)
version
(
'
2.10.2
'
,
'
253de0837a9d69fb689befc98ea4d068
'
)
depends_on
(
"
vtk@6.1.0~opengl2
"
)
depends_on
(
"
qt@4.8.6
"
)
depends_on
(
"
python
"
)
depends_on
(
"
silo+shared
"
)
def
install
(
self
,
spec
,
prefix
):
with
working_dir
(
'
spack-build
'
,
create
=
True
):
feature_args
=
std_cmake_args
[:]
feature_args
.
extend
([
"
-DVTK_MAJOR_VERSION=6
"
,
"
-DVTK_MINOR_VERSION=1
"
,
"
-DVISIT_LOC_QMAKE_EXE:FILEPATH=%s/qmake-qt4
"
%
spec
[
'
qt
'
].
prefix
.
bin
,
"
-DPYTHON_EXECUTABLE:FILEPATH=%s/python
"
%
spec
[
'
python
'
].
prefix
.
bin
,
"
-DVISIT_SILO_DIR:PATH=%s
"
%
spec
[
'
silo
'
].
prefix
,
"
-DVISIT_HDF5_DIR:PATH=%s
"
%
spec
[
'
hdf5
'
].
prefix
])
cmake
(
'
../src
'
,
*
feature_args
)
make
()
make
(
"
install
"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment