Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-repo
Commits
a0741fde
Commit
a0741fde
authored
Mar 09, 2021
by
Matthieu Dorier
Browse files
added DRC support to colza
parent
11d60b7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/mochi-colza/package.py
View file @
a0741fde
...
...
@@ -16,6 +16,8 @@ class MochiColza(CMakePackage):
description
=
'Build bedrock module'
)
variant
(
'examples'
,
default
=
True
,
description
=
'Build colza examples'
)
variant
(
'drc'
,
default
=
True
,
description
=
'Build examples with Cray DRC support'
)
depends_on
(
'mpi'
)
depends_on
(
'pkgconfig'
)
...
...
@@ -44,4 +46,9 @@ class MochiColza(CMakePackage):
args
.
append
(
'-DENABLE_EXAMPLES=ON'
)
else
:
args
.
append
(
'-DENABLE_EXAMPLES=OFF'
)
if
'+drc'
in
self
.
spec
:
args
.
append
(
'-DENABLE_DRC=ON'
)
else
:
args
.
append
(
'-DENABLE_DRC=OFF'
)
return
args
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment