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
c8092b3a
Commit
c8092b3a
authored
6 years ago
by
dorier
Committed by
Peter Scheibel
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
damaris: add support for VisIt and Catalyst (#9651)
parent
91aed716
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/damaris/package.py
+17
-5
17 additions, 5 deletions
var/spack/repos/builtin/packages/damaris/package.py
with
17 additions
and
5 deletions
var/spack/repos/builtin/packages/damaris/package.py
+
17
−
5
View file @
c8092b3a
...
@@ -15,12 +15,13 @@ class Damaris(CMakePackage):
...
@@ -15,12 +15,13 @@ class Damaris(CMakePackage):
url
=
"
https://gitlab.inria.fr/Damaris/damaris
"
url
=
"
https://gitlab.inria.fr/Damaris/damaris
"
version
(
'
master
'
,
git
=
'
https://gitlab.inria.fr/Damaris/damaris.git
'
)
version
(
'
master
'
,
git
=
'
https://gitlab.inria.fr/Damaris/damaris.git
'
)
version
(
'
1.3.1
'
,
git
=
'
https://gitlab.inria.fr/Damaris/damaris.git
'
,
version
(
'
1.3.1
'
,
git
=
'
https://gitlab.inria.fr/Damaris/damaris.git
'
,
tag
=
'
v1.3.1
'
,
preferred
=
True
)
commit
=
'
98c27e99458c10b834c4e59753f4ce5a42337c6f
'
,
preferred
=
True
)
variant
(
'
fortran
'
,
default
=
True
,
description
=
'
Enable Fortran support
'
)
variant
(
'
fortran
'
,
default
=
True
,
description
=
'
Enables Fortran support
'
)
variant
(
'
hdf5
'
,
default
=
False
,
description
=
'
Enable the HDF5 storage plugin
'
)
variant
(
'
hdf5
'
,
default
=
False
,
description
=
'
Enables the HDF5 storage plugin
'
)
variant
(
'
static
'
,
default
=
False
,
description
=
'
Builds a static version of the library
'
)
variant
(
'
static
'
,
default
=
False
,
description
=
'
Builds a static version of the library
'
)
variant
(
'
catalyst
'
,
default
=
False
,
description
=
'
Enables the Catalyst visualization plugin
'
)
variant
(
'
visit
'
,
default
=
False
,
description
=
'
Enables the VisIt visualization plugin
'
)
depends_on
(
'
mpi
'
)
depends_on
(
'
mpi
'
)
depends_on
(
'
cmake@3.12.0:
'
,
type
=
(
'
build
'
))
depends_on
(
'
cmake@3.12.0:
'
,
type
=
(
'
build
'
))
...
@@ -28,6 +29,8 @@ class Damaris(CMakePackage):
...
@@ -28,6 +29,8 @@ class Damaris(CMakePackage):
depends_on
(
'
xsd
'
)
depends_on
(
'
xsd
'
)
depends_on
(
'
xerces-c
'
)
depends_on
(
'
xerces-c
'
)
depends_on
(
'
hdf5@1.8.20:
'
,
when
=
'
+hdf5
'
)
depends_on
(
'
hdf5@1.8.20:
'
,
when
=
'
+hdf5
'
)
depends_on
(
'
catalyst+python
'
,
when
=
'
+catalyst
'
)
depends_on
(
'
visit+mpi
'
,
when
=
'
+visit
'
)
def
cmake_args
(
self
):
def
cmake_args
(
self
):
...
@@ -49,4 +52,13 @@ def cmake_args(self):
...
@@ -49,4 +52,13 @@ def cmake_args(self):
if
(
self
.
spec
.
variants
[
'
hdf5
'
].
value
):
if
(
self
.
spec
.
variants
[
'
hdf5
'
].
value
):
args
.
extend
([
'
-DENABLE_HDF5:BOOL=ON
'
])
args
.
extend
([
'
-DENABLE_HDF5:BOOL=ON
'
])
args
.
extend
([
'
-DHDF5_ROOT:PATH=%s
'
%
self
.
spec
[
'
hdf5
'
].
prefix
])
args
.
extend
([
'
-DHDF5_ROOT:PATH=%s
'
%
self
.
spec
[
'
hdf5
'
].
prefix
])
if
(
self
.
spec
.
variants
[
'
catalyst
'
].
value
):
args
.
extend
([
'
-DENABLE_CATALYST:BOOL=ON
'
])
args
.
extend
([
'
-DParaView_ROOT:PATH=%s
'
%
self
.
spec
[
'
catalyst
'
].
prefix
])
if
(
self
.
spec
.
variants
[
'
visit
'
].
value
):
args
.
extend
([
'
-DENABLE_VISIT:BOOL=ON
'
])
args
.
extend
([
'
-DVisIt_ROOT:PATH=%s
'
%
self
.
spec
[
'
visit
'
].
prefix
])
return
args
return
args
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