Skip to content

Commit

Permalink
Update eb_hooks.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kenneth Hoste <[email protected]>
  • Loading branch information
TopRichard and boegel authored Sep 18, 2023
1 parent 536b879 commit f2d8bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def pre_configure_hook_wrf_aarch64(self, *args, **kwargs):
if get_cpu_architecture() == AARCH64:
pattern = "Linux x86_64 ppc64le, gfortran"
repl = "Linux x86_64 aarch64 ppc64le, gfortran"
if wrfversion <= 39:
if LooseVersion(self.version) <= LooseVersion('3.9.0'):
self.cfg.update('preconfigopts', "sed -i 's/%s/%s/g' arch/configure_new.defaults && " % (pattern, repl))
print_msg("Using custom preconfigopts for %s: %s", self.name, self.cfg['preconfigopts'])

Expand Down

0 comments on commit f2d8bc6

Please sign in to comment.