Do not set CPATH in nvhpc package (#22652)

Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
This commit is contained in:
Scott McMillan 2021-03-31 13:19:17 -05:00 committed by GitHub
parent 2196c24e97
commit 25747a037a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,6 @@ def setup_run_environment(self, env):
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 @@ def setup_run_environment(self, env):
'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 @@ def setup_dependent_build_environment(self, env, dependent_spec):
'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 @@ def setup_dependent_build_environment(self, env, dependent_spec):
'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):