diff options
-rw-r--r-- | var/spack/repos/builtin/packages/nvhpc/package.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/nvhpc/package.py b/var/spack/repos/builtin/packages/nvhpc/package.py index abbfc7cc80..f3338d14ef 100644 --- a/var/spack/repos/builtin/packages/nvhpc/package.py +++ b/var/spack/repos/builtin/packages/nvhpc/package.py @@ -110,7 +110,6 @@ class Nvhpc(Package): env.set('FC', join_path(prefix.bin, 'nvfortran')) env.prepend_path('PATH', prefix.bin) - env.prepend_path('CPATH', prefix.include) env.prepend_path('LIBRARY_PATH', prefix.lib) env.prepend_path('LD_LIBRARY_PATH', prefix.lib) env.prepend_path('MANPATH', prefix.man) @@ -120,7 +119,6 @@ class Nvhpc(Package): 'Linux_%s' % self.spec.target.family, self.version, 'comm_libs', 'mpi')) env.prepend_path('PATH', mpi_prefix.bin) - env.prepend_path('CPATH', mpi_prefix.include) env.prepend_path('LD_LIBRARY_PATH', mpi_prefix.lib) def setup_dependent_build_environment(self, env, dependent_spec): @@ -128,7 +126,6 @@ class Nvhpc(Package): 'Linux_%s' % self.spec.target.family, self.version, 'compilers')) - env.prepend_path('CPATH', prefix.include) env.prepend_path('LIBRARY_PATH', prefix.lib) env.prepend_path('LD_LIBRARY_PATH', prefix.lib) @@ -137,7 +134,6 @@ class Nvhpc(Package): 'Linux_%s' % self.spec.target.family, self.version, 'comm_libs', 'mpi')) - env.prepend_path('CPATH', mpi_prefix.include) env.prepend_path('LD_LIBRARY_PATH', mpi_prefix.lib) def setup_dependent_package(self, module, dependent_spec): |