clang,flang: update CC, CXX environment in installation module (#6737)

This commit is contained in:
Andrey Prokopenko
2017-12-22 01:32:10 -05:00
committed by Massimiliano Culpo
parent d1786779c4
commit 937f68c359
2 changed files with 9 additions and 0 deletions

View File

@@ -80,3 +80,8 @@ def post_install(self):
out.close()
chmod = which('chmod')
chmod('+x', flang)
def setup_environment(self, spack_env, run_env):
run_env.set('FC', join_path(self.spec.prefix.bin, 'flang'))
run_env.set('F77', join_path(self.spec.prefix.bin, 'flang'))
run_env.set('F90', join_path(self.spec.prefix.bin, 'flang'))