diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2021-09-29 10:16:09 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2022-03-04 11:07:22 +0100 |
commit | f61b5ca803b404f9a4075cde12a7fb6f4b165100 (patch) | |
tree | eb66f118f22bcc033f6c881cd6c887e434c3dd7c /config/windows.config | |
parent | 5ba329880215ff81588c5c59aa55ae6076a5adc7 (diff) |
windows: enable parallel builds with MSYS2
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/743>
Diffstat (limited to 'config/windows.config')
-rw-r--r-- | config/windows.config | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config/windows.config b/config/windows.config index 0dad44aa..ff21c1ab 100644 --- a/config/windows.config +++ b/config/windows.config @@ -187,12 +187,12 @@ env['ac_cv_lib_bz2_BZ2_bzlibVersion'] = 'yes' env['ac_cv_c_attribute_aligned'] = '64' if platform == Platform.WINDOWS and target_arch != Architecture.UNIVERSAL: - # Make's job server is buggy and broken on Windows, which causes it to - # either hang or print server errors like: - # 2068442963 [sig] make 18324 sig_dispatch_pending: Win32 error 298 releasing sigcatch_nosync(0x150) - # Only use one process to make the build more reliable. - allow_parallel_build = False - + if distro == Distro.MSYS: + # Make's job server is buggy and broken on Windows, which causes it to + # either hang or print server errors like: + # 2068442963 [sig] make 18324 sig_dispatch_pending: Win32 error 298 releasing sigcatch_nosync(0x150) + # Only use one process to make the build more reliable. + allow_parallel_build = False from cerbero.ide.vs.env import get_msvc_env, append_path # Always try to fetch msvc env vars on Windows, since we optionally use it |