Skip to content
Snippets Groups Projects
Unverified Commit 88254a14 authored by Axel Huebl's avatar Axel Huebl
Browse files

Always External MXML; type='build'

- always use `mxml` as an external dependency in spack
- declare `build`-only dependencies correctly
parent e1464ece
No related branches found
No related tags found
No related merge requests found
...@@ -67,14 +67,14 @@ class Adios(Package): ...@@ -67,14 +67,14 @@ class Adios(Package):
# module load cray-hdf5/1.8.14 # module load cray-hdf5/1.8.14
# module load python/2.7.10 # module load python/2.7.10
depends_on('autoconf') depends_on('autoconf', type='build')
depends_on('automake') depends_on('automake', type='build')
depends_on('libtool') depends_on('libtool', type='build')
depends_on('python') depends_on('python', type='build')
depends_on('mpi', when='+mpi') depends_on('mpi', when='+mpi')
# shipped within ADIOS 1.10.0+ # shipped within ADIOS 1.10.0+
depends_on('mxml', when='@:1.9.0') depends_on('mxml@2.9:')
# optional transformations # optional transformations
depends_on('zlib', when='+zlib') depends_on('zlib', when='+zlib')
depends_on('szip', when='+szip') depends_on('szip', when='+szip')
...@@ -100,9 +100,8 @@ def install(self, spec, prefix): ...@@ -100,9 +100,8 @@ def install(self, spec, prefix):
# required, otherwise building its python bindings on ADIOS will fail # required, otherwise building its python bindings on ADIOS will fail
extra_args.append("CFLAGS=-fPIC") extra_args.append("CFLAGS=-fPIC")
# MXML is shipped within ADIOS in 1.10.0+ # always build external MXML, even in ADIOS 1.10.0+
if spec.satisfies('@:1.9.0'): extra_args.append('--with-mxml=%s' % spec['mxml'].prefix)
extra_args.append('--with-mxml=%s' % spec['mxml'].prefix)
if '+shared' in spec: if '+shared' in spec:
extra_args.append('--enable-shared') extra_args.append('--enable-shared')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment