[vlc-commits] [Git][videolan/vlc][master] contrib: mingw64: fix libraries building in parallel

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Nov 27 10:08:32 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
635962fd by Steve Lhomme at 2024-11-27T09:27:23+00:00
contrib: mingw64: fix libraries building in parallel

Using the same build folder in parallel results in issues.
The CI works because it reverts to -j1. But it's considerably slower.

- - - - -


1 changed file:

- contrib/src/mingw64/rules.mak


Changes:

=====================================
contrib/src/mingw64/rules.mak
=====================================
@@ -159,6 +159,7 @@ endif
 .sum-alloweduwp: .sum-mingw64
 	touch $@
 
+.alloweduwp: BUILD_DIR=$</vlc_build_alloweduwp
 .alloweduwp: mingw64
 	install -d "$(PREFIX)/include"
 	install $</mingw-w64-headers/include/fileapi.h      "$(PREFIX)/include"
@@ -182,6 +183,7 @@ endif
 .sum-d3d12: .sum-mingw64
 	touch $@
 
+.d3d12: BUILD_DIR=$</vlc_build_d3d12
 .d3d12: mingw64
 	install -d "$(PREFIX)/include"
 	install $</mingw-w64-headers/include/d3d12.h             "$(PREFIX)/include"
@@ -199,6 +201,7 @@ endif
 .sum-uiautomationcore: .sum-mingw64
 	touch $@
 
+.uiautomationcore: BUILD_DIR=$</vlc_build_uiautomationcore
 .uiautomationcore: mingw64
 	install -d "$(PREFIX)/include"
 	install $</mingw-w64-headers/include/uiautomation.h           "$(PREFIX)/include"



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/635962fddc78c414a1b68a633247146c078fef3c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/635962fddc78c414a1b68a633247146c078fef3c
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list