nalu package: update dependency (#7245)
Yaml-cpp hasn't tagged a release in over 2 years, yet they have fixed many things and now have the ability to use find_package in CMake. Since we use this feature in Nalu, we require the latest yaml-cpp until they tag a new release. I have also deprecated the now unnecessary ENABLE_INSTALL flag.
This commit is contained in:
parent
c4fcc245e2
commit
d7b826a0aa
@ -48,7 +48,7 @@ class Nalu(CMakePackage):
|
|||||||
git='https://github.com/NaluCFD/Nalu.git', branch='master')
|
git='https://github.com/NaluCFD/Nalu.git', branch='master')
|
||||||
|
|
||||||
# Currently Nalu only builds with certain libraries statically
|
# Currently Nalu only builds with certain libraries statically
|
||||||
depends_on('yaml-cpp+pic~shared@0.5.3:')
|
depends_on('yaml-cpp+pic~shared@develop')
|
||||||
depends_on('trilinos~shared+exodus+tpetra+muelu+belos+ifpack2+amesos2+zoltan+stk+boost~superlu-dist+superlu+hdf5+zlib+pnetcdf+shards@master,12.12.1:')
|
depends_on('trilinos~shared+exodus+tpetra+muelu+belos+ifpack2+amesos2+zoltan+stk+boost~superlu-dist+superlu+hdf5+zlib+pnetcdf+shards@master,12.12.1:')
|
||||||
depends_on('openfast+cxx', when='+openfast')
|
depends_on('openfast+cxx', when='+openfast')
|
||||||
depends_on('tioga', when='+tioga')
|
depends_on('tioga', when='+tioga')
|
||||||
@ -60,8 +60,7 @@ def cmake_args(self):
|
|||||||
|
|
||||||
options.extend([
|
options.extend([
|
||||||
'-DTrilinos_DIR:PATH=%s' % spec['trilinos'].prefix,
|
'-DTrilinos_DIR:PATH=%s' % spec['trilinos'].prefix,
|
||||||
'-DYAML_DIR:PATH=%s' % spec['yaml-cpp'].prefix,
|
'-DYAML_DIR:PATH=%s' % spec['yaml-cpp'].prefix
|
||||||
'-DENABLE_INSTALL:BOOL=ON'
|
|
||||||
])
|
])
|
||||||
|
|
||||||
if '+openfast' in spec:
|
if '+openfast' in spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user