From 899b18336b4ce3bd9328fd30c33621224c78a4d7 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sun, 22 Oct 2023 13:26:08 -0700 Subject: [PATCH] workaround make -Otarget bug on windows Sometimes triggers "invalid output sync mutex" error from make. --- cue.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cue.py b/cue.py index 40ba7c6..0f03bad 100644 --- a/cue.py +++ b/cue.py @@ -452,7 +452,9 @@ def call_make(args=None, **kws): makeargs = [] else: makeargs = ['-j{0}'.format(parallel)] - if not is_make3: + if not is_make3 and ci['os'] != 'windows': + # not available until make 3 + # buggy on windows https://github.com/epics-base/ci-scripts/issues/84 makeargs += ['-Otarget'] if silent: makeargs += ['-s']