Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
sds-repo
Commits
f98b4c06
Commit
f98b4c06
authored
Feb 17, 2021
by
Matthieu Dorier
Browse files
added new version of REMI
parent
42845dc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/mochi-remi/package.py
View file @
f98b4c06
...
...
@@ -12,6 +12,7 @@ class MochiRemi(CMakePackage):
version
(
'develop'
,
branch
=
'master'
)
version
(
'master'
,
branch
=
'master'
)
version
(
'0.3'
,
tag
=
'v0.3'
)
version
(
'0.2.3'
,
tag
=
'v0.2.3'
)
version
(
'0.2.2'
,
tag
=
'v0.2.2'
)
version
(
'0.2.1'
,
tag
=
'v0.2.1'
)
...
...
@@ -19,18 +20,29 @@ class MochiRemi(CMakePackage):
version
(
'0.1.1'
,
tag
=
'v0.1.1'
)
version
(
'0.1'
,
tag
=
'v0.1'
)
variant
(
'bedrock'
,
default
=
True
,
description
=
'Enable building Bedrock module'
)
depends_on
(
'libuuid'
)
depends_on
(
'mochi-thallium@0.6.0:+cereal'
,
when
=
'@0.2.3:'
)
depends_on
(
'mochi-thallium@0.4.2:'
,
when
=
'@0.2.2'
)
depends_on
(
'mochi-thallium@0.3:'
,
when
=
'@:0.2.1'
)
depends_on
(
'mochi-abt-io@0.1:'
)
depends_on
(
'mochi-bedrock'
,
when
=
'@0.3: +bedrock'
)
# dependencies for develop version
depends_on
(
'mochi-thallium@develop'
,
when
=
'@develop'
)
depends_on
(
'mochi-abt-io@develop'
,
when
=
'@develop'
)
depends_on
(
'mochi-bedrock@develop'
,
when
=
'@develop +bedrock'
)
patch
(
'0001-explicitly-request-C-14.patch'
)
conflicts
(
'+bedrock'
,
when
=
'@:0.2.3'
,
msg
=
'+bedrock variant only available starting from 0.3'
)
def
cmake_args
(
self
):
args
=
[
"-DBUILD_SHARED_LIBS:BOOL=ON"
]
if
'+bedrock'
in
self
.
spec
:
args
.
append
(
'-DENABLE_BEDROCK=ON'
)
else
:
args
.
append
(
'-DENABLE_BEDROCK=OFF'
)
return
args
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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