diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/gpu-burn/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/gpu-burn/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gpu-burn/package.py b/var/spack/repos/builtin/packages/gpu-burn/package.py index fd11176baa..66af15f085 100644 --- a/var/spack/repos/builtin/packages/gpu-burn/package.py +++ b/var/spack/repos/builtin/packages/gpu-burn/package.py @@ -51,5 +51,5 @@ class GpuBurn(MakefilePackage, CudaPackage): # The gpu_burn program looks for the compare.ptx file in the current # working directory. Create an environment variable that can be pointed to # so that it can be copied or linked. - def setup_environment(self, spack_env, run_env): - run_env.set('COMPARE_PTX', join_path(self.prefix.share, 'compare.ptx')) + def setup_run_environment(self, env): + env.set('COMPARE_PTX', join_path(self.prefix.share, 'compare.ptx')) |