ADIOS 2.1.0 (#7240)
Adds the first stable API release of ADIOS2, v.2.1.0. Also adds a missing `pybind11` CMake flag for proper Python selection (needed in both the new and previous version).
This commit is contained in:
parent
277ab2d355
commit
001106884b
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,7 @@ class Adios2(CMakePackage):
|
||||||
version('develop', branch='master',
|
version('develop', branch='master',
|
||||||
git='https://github.com/ornladios/ADIOS2.git')
|
git='https://github.com/ornladios/ADIOS2.git')
|
||||||
|
|
||||||
|
version('2.1.0', '431fa5b015349f1838b96b8f5a1cc8f8')
|
||||||
version('2.0.0', 'da39655b51745d2c5f3f1e46c5abc4d7')
|
version('2.0.0', 'da39655b51745d2c5f3f1e46c5abc4d7')
|
||||||
|
|
||||||
variant('shared', default=True,
|
variant('shared', default=True,
|
||||||
|
@ -117,4 +118,7 @@ def cmake_args(self):
|
||||||
'-DADIOS2_USE_Python={0}'.format(
|
'-DADIOS2_USE_Python={0}'.format(
|
||||||
'ON' if '+python' in spec else 'OFF')
|
'ON' if '+python' in spec else 'OFF')
|
||||||
]
|
]
|
||||||
|
if spec.satisfies('+python'):
|
||||||
|
args.append('-DPYTHON_EXECUTABLE:FILEPATH=%s'
|
||||||
|
% self.spec['python'].command.path)
|
||||||
return args
|
return args
|
||||||
|
|
Loading…
Reference in a new issue