Skip to content

Commit

Permalink
added memory limitation for Clang build
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Top committed Jul 11, 2024
1 parent 340be43 commit a1a869c
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 @@ -82,7 +82,7 @@ def post_ready_hook(self, *args, **kwargs):
# 'parallel' easyconfig parameter is set via EasyBlock.set_parallel in ready step based on available cores.
# here we reduce parallellism to only use half of that for selected software,
# to avoid failing builds/tests due to out-of-memory problems
if self.name in ['TensorFlow', 'libxc']:
if self.name in ['Clang', 'TensorFlow', 'libxc']:
parallel = self.cfg['parallel']
if parallel > 1:
self.cfg['parallel'] = parallel // 2
Expand Down

0 comments on commit a1a869c

Please sign in to comment.