Skip to content

Commit e8230f7

Browse files
committed
Merge branch 'main' of github.com:EESSI/software-layer-scripts into a64fx_rust_1.65.0
2 parents f2b40e1 + 28c1750 commit e8230f7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

eb_hooks.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,20 @@
6767
}
6868

6969

70+
# Ensure that we don't print any messages in --terse mode
71+
orig_print_msg = print_msg
72+
orig_print_warning = print_warning
73+
74+
def print_msg(*args, **kwargs):
75+
if not build_option('terse'):
76+
orig_print_msg(*args, **kwargs)
77+
78+
79+
def print_warning(*args, **kwargs):
80+
if not build_option('terse'):
81+
orig_print_warning(*args, **kwargs)
82+
83+
7084
def is_gcccore_1220_based(**kwargs):
7185
# ecname, ecversion, tcname, tcversion):
7286
"""

0 commit comments

Comments
 (0)