Fix pkgconf on Crays (#7171)

This updates Cray.setup_platform_environment to use cray-specific
pkgconfig paths so that all providers of 'pkgconfig' have access
to them (previously the 'pkg-config' provider had this but the
'pkgconf' provider did not).
This commit is contained in:
Mario Melara
2018-03-05 12:08:11 -08:00
committed by scheibelp
parent 89a591eb3b
commit ccb24b1438
2 changed files with 3 additions and 5 deletions

View File

@@ -53,11 +53,6 @@ def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
Adds the ACLOCAL path for autotools."""
spack_env.append_path('ACLOCAL_PATH',
join_path(self.prefix.share, 'aclocal'))
if 'platform=cray' in self.spec:
spack_env.append_path('PKG_CONFIG_PATH',
'/usr/lib64/pkgconfig')
spack_env.append_path('PKG_CONFIG_PATH',
'/usr/local/lib64/pkgconfig')
def configure_args(self):
config_args = ['--enable-shared']