summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2020-01-23 17:35:45 -0800
committerGitHub <noreply@github.com>2020-01-23 17:35:45 -0800
commitb0fce56d5b491a9888ad55ed7251892f128af1ac (patch)
tree741828d9bf7cb9b73b2a265cc7fa77518f5a4ce9
parent04a6a55cf8c0539ffe02f38162622a789fb8ad1f (diff)
downloadspack-b0fce56d5b491a9888ad55ed7251892f128af1ac.tar.gz
spack-b0fce56d5b491a9888ad55ed7251892f128af1ac.tar.bz2
spack-b0fce56d5b491a9888ad55ed7251892f128af1ac.tar.xz
spack-b0fce56d5b491a9888ad55ed7251892f128af1ac.zip
openPMD-api: adios_config to run env (#14610)
Popular CMake find-scripts for ADIOS1 search for this binary instead of looking up `CMAKE_PREFIX_PATH`.
-rw-r--r--var/spack/repos/builtin/packages/openpmd-api/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openpmd-api/package.py b/var/spack/repos/builtin/packages/openpmd-api/package.py
index f18a153b24..31dfe541c1 100644
--- a/var/spack/repos/builtin/packages/openpmd-api/package.py
+++ b/var/spack/repos/builtin/packages/openpmd-api/package.py
@@ -104,6 +104,7 @@ class OpenpmdApi(CMakePackage):
env.prepend_path('CMAKE_PREFIX_PATH', spec['mpi'].prefix)
if spec.satisfies("+adios1"):
env.prepend_path('CMAKE_PREFIX_PATH', spec['adios'].prefix)
+ env.prepend_path('PATH', spec['adios'].prefix.bin) # adios-config
if spec.satisfies("+adios2"):
env.prepend_path('CMAKE_PREFIX_PATH', spec['adios2'].prefix)
if spec.satisfies("+hdf5"):