workaround make -Otarget bug on windows

Sometimes triggers "invalid output sync mutex" error from make.
This commit is contained in:
Michael Davidsaver
2023-10-22 13:26:08 -07:00
parent 8e0cb61c12
commit 899b18336b

4
cue.py
View File

@@ -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']