clang,flang: update CC, CXX environment in installation module (#6737)
This commit is contained in:

committed by
Massimiliano Culpo

parent
d1786779c4
commit
937f68c359
@@ -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'))
|
||||
|
Reference in New Issue
Block a user