summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorScott McMillan <scott.andrew.mcmillan@gmail.com>2021-03-31 13:19:17 -0500
committerGitHub <noreply@github.com>2021-03-31 12:19:17 -0600
commit25747a037aa2223249dc385b00a103177c4f4915 (patch)
treee8983fab2ce79cc1747be78d9f89d14b4e112afe /var
parent2196c24e9746488f5e6d2da852560ee4c670cf97 (diff)
downloadspack-25747a037aa2223249dc385b00a103177c4f4915.tar.gz
spack-25747a037aa2223249dc385b00a103177c4f4915.tar.bz2
spack-25747a037aa2223249dc385b00a103177c4f4915.tar.xz
spack-25747a037aa2223249dc385b00a103177c4f4915.zip
Do not set CPATH in nvhpc package (#22652)
Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/nvhpc/package.py4
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):