Commit Graph

38 Commits

Author SHA1 Message Date
Arkadiusz Hiler
b2b17774e4 make/rules-source.mk: Suppress grep warnings.
The second grep in sequence can exit early (-q, as soon as we have one
match it exits with a success) which makes the first grep unhappy as its
write pipe is closed early, resulting in:

        syncing vulkan-loader... grep: write error: Broken pipe

Let's silence those errors.
2023-02-14 16:07:44 +02:00
Rémi Bernon
4ee7c0c666 glslang: Build from source instead of prebuilt binary. 2022-10-14 18:21:56 +03:00
Rémi Bernon
f3cc9f0610 gst-base: Enable GL video processing plugins.
CW-Bug-Id: #20363
CW-Bug-Id: #20905
CW-Bug-Id: #20981
2022-08-15 17:47:03 +03:00
Andrew Eikum
14ffc4d0f7 Use CARGO_HOME on the host
This lets cargo's cache persist across builds, so there are fewer (often
zero) network pulls during the build process.
2022-03-04 13:30:29 +02:00
Rémi Bernon
6a3c03d64b build: Don't change debug file .text section flags.
This breaks perf ELF symbol tracking somehow.
2022-02-25 13:52:40 +02:00
Rémi Bernon
82b5301d55 build: Remove unnecessary pefixup.py script. 2022-02-25 13:52:40 +02:00
Rémi Bernon
88064f86ee build: Fixup .text section flags using objcopy and assert in pefixup. 2022-02-25 13:52:40 +02:00
Rémi Bernon
47fe4a8063 pefixup: Assert that IMAGE_SCN_ALIGN_MASK isn't required anymore. 2022-02-25 13:52:40 +02:00
Andrew Eikum
a18ffa9b8b Makefile.in: Build dav1d gst plugin
CW-Bug-Id: #19516
2022-01-24 22:53:20 +02:00
Derek Lesho
be0bdb7fb9 proton: Add gst-libav and ffmpeg to build.
Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
2022-01-24 22:53:20 +02:00
Andrew Eikum
bfc4b2330d make: Don't set CMAKE_SYSTEM_NAME=Linux
This broke libaom optimization detection, since cmake appears not to set
vars like CMAKE_SYSTEM_PROCESSOR if CMAKE_SYSTEM_NAME is set.
2022-01-19 11:29:54 +02:00
Paul Gofman
920a2e52f0 makefile: Also pefixup .drv files. 2022-01-19 11:29:54 +02:00
Rémi Bernon
ec2a650072 build: Install builtin libraries to target-arch lib subdirs. 2022-01-19 11:29:54 +02:00
Rémi Bernon
73982eb20f build: Use winebuild --exe mode for fake exe module generation.
This fixes steam.exe.so not being able to start from system32
automatically, as the fake module was flagged with IMAGE_FILE_DLL, which
caused GetBinaryTypeW to fail.
2022-01-19 11:29:54 +02:00
Rémi Bernon
c35122e209 build: Cross-compile Vulkan Loader with Vulkan and SPIRV Headers. 2022-01-19 11:26:04 +02:00
Rémi Bernon
04bf8f150e build: Build vkd3d-shader with cross-compilation rules. 2022-01-19 11:26:04 +02:00
Rémi Bernon
587f86fb9d build: Better support meson cross compilation. 2022-01-19 11:26:04 +02:00
Rémi Bernon
5b8a6c72f9 build: Remove CCACHE_BIN variable, use wrappers in PATH instead.
Container have ccache wrappers in the PATH already, and the two
components CC / CXX just makes it harder to generate meson cross files.
2022-01-19 11:26:04 +02:00
Rémi Bernon
4ade59b2ca build: Better support cross-compilation in common rules. 2022-01-19 11:26:04 +02:00
Rémi Bernon
09568c2159 build: Simplify cargo target replacement. 2022-01-19 11:26:04 +02:00
Rémi Bernon
808b99bd27 build: Use $$(OBJ) consistently in rules macros. 2022-01-19 11:26:04 +02:00
Arkadiusz Hiler
2983a44781 build: Respect concurrency limit when building with cargo. 2021-11-11 18:36:07 +02:00
Zebediah Figura
0d88b6db78 build: Build vkd3d.
CW-Bug-Id: #15810
2021-11-11 18:36:07 +02:00
Zebediah Figura
44d9fb94b2 build: Run autoreconf in the container.
CW-Bug-Id: #15810
2021-11-11 18:36:07 +02:00
Rémi Bernon
c1fc8283d1 build: Use jobs to control xargs parallelism. 2021-06-17 15:10:20 -05:00
Rémi Bernon
bdb6a31e8c build: Make silent builds actually quiet. 2021-06-17 15:10:20 -05:00
Paul Gofman
5b406be13e build: Fixup PE section headers.
For FH4.
2021-06-17 15:10:20 -05:00
Rémi Bernon
b84a7593b7
build: Pass -j flags to ninja build steps too. 2021-05-27 16:57:45 +02:00
Rémi Bernon
8726ea849d
build: Add specified modules to the container build list.
And not only when ending with 32/64.
2021-05-27 16:52:08 +02:00
Rémi Bernon
fef27d08d9 build: Install modules separately and factor debug extraction. 2021-03-31 14:08:10 -05:00
Rémi Bernon
f88ff58f53 build: Use build macros for mediaconv. 2021-03-31 14:08:10 -05:00
Rémi Bernon
fbc77f2eb1 build: Introduce rules-winemaker macro. 2021-03-31 14:08:10 -05:00
Rémi Bernon
8c105d7aa1 build: Introduce rules-autoconf macro. 2021-03-31 14:08:10 -05:00
Rémi Bernon
94fd711e2b build: Introduce rules-cmake macro. 2021-03-31 14:08:10 -05:00
Rémi Bernon
04631339f3 build: Introduce rules-meson macro. 2021-03-31 14:08:10 -05:00
Rémi Bernon
dcb0f60cb7 build: Introduce rules-common macro. 2021-03-31 14:08:10 -05:00
Rémi Bernon
49cfbe9870 build: Introduce rules-source macro. 2021-03-31 14:08:10 -05:00
Rémi Bernon
3d2a7a09af build: Move misc helpers to make/utility.mk. 2021-03-31 14:08:10 -05:00