slepc: set up SLEPC_DIR for dependent packages (#26701)

This commit is contained in:
Jose E. Roman
2021-10-13 15:51:08 +02:00
committed by GitHub
parent 8ad608a756
commit c47eb7217e

View File

@@ -147,6 +147,10 @@ def setup_run_environment(self, env):
env.set('SLEPC_DIR', self.prefix)
env.set('PETSC_DIR', self.spec['petsc'].prefix)
def setup_dependent_build_environment(self, env, dependent_spec):
# Set up SLEPC_DIR for dependent packages built with SLEPc
env.set('SLEPC_DIR', self.prefix)
def run_hello_test(self):
"""Run stand alone test: hello"""
test_dir = self.test_suite.current_test_data_dir