removed commented-out code

This commit is contained in:
Gregory Becker 2016-07-20 11:36:47 -07:00
parent f4fb9a0771
commit 7db4170062

View file

@ -249,11 +249,6 @@ def set_build_environment_variables(pkg, env, dirty=False):
if os.path.isdir(ci): if os.path.isdir(ci):
env_paths.append(ci) env_paths.append(ci)
# for item in pkg.spec.platform.env_paths:
# env_paths.append(item)
# TODO: move platform-specific knowledge to platform.
# (join_path(spack.build_env_path, 'cray'))
for item in reversed(env_paths): for item in reversed(env_paths):
env.prepend_path('PATH', item) env.prepend_path('PATH', item)
env.set_path(SPACK_ENV_PATH, env_paths) env.set_path(SPACK_ENV_PATH, env_paths)