bml: Add build dependency on python (#18489) (#18491)

At some point in the build phase a script
spack-src/scripts/convert-template
has a shebang looking for python in the path.

Currently this picks up system python if in invoker's path, but should
be using python from spack, so add a build dependency on python.
This commit is contained in:
Tom Payerle 2020-09-04 17:12:53 -04:00 committed by GitHub
parent 518372ccd1
commit 2cc7718edd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,7 @@ class Bml(CMakePackage):
depends_on("blas") depends_on("blas")
depends_on("lapack") depends_on("lapack")
depends_on('mpi', when='+mpi') depends_on('mpi', when='+mpi')
depends_on('python', type='build')
def cmake_args(self): def cmake_args(self):
args = [ args = [