diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gpu-burn/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/gpu-burn/package.py b/var/spack/repos/builtin/packages/gpu-burn/package.py index 15d2dd5b8f..87a2832842 100644 --- a/var/spack/repos/builtin/packages/gpu-burn/package.py +++ b/var/spack/repos/builtin/packages/gpu-burn/package.py @@ -32,9 +32,9 @@ class GpuBurn(MakefilePackage, CudaPackage): fh.write('drv:\n') fh.write('\tnvcc {0} -fatbin ' 'compare.cu -o compare.ptx\n'.format(archflag)) - fh.write('\tg++ -O3 -c gpu_burn-drv.cpp\n') - fh.write('\tg++ -o gpu_burn gpu_burn-drv.o -O3 -lcuda ' - '-lcublas -lcudart -o gpu_burn\n') + fh.write('\t{0} -O3 -c gpu_burn-drv.cpp\n'.format(spack_cxx)) + fh.write('\t{0} -o gpu_burn gpu_burn-drv.o -O3 -lcuda ' + '-lcublas -lcudart -o gpu_burn\n'.format(spack_cxx)) filter_file('compare.ptx', join_path(prefix.share, |