From b11f236eb9e2e505f6200b6d85a3abcbc4aa1827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Mon, 20 May 2024 13:53:13 +0200 Subject: [PATCH] meson: limit concurrent link jobs to 16 Statically linking, especially with LTO can use a lot of memory. Limit to 16 jobs by default, which is more than enough. Only fuzzers are affected as we don't produce that much binaries otherwise. --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 46ae2d1861..c14bf47d56 100644 --- a/meson.build +++ b/meson.build @@ -4,6 +4,7 @@ project('mpv', version: files('./VERSION'), meson_version: '>=0.62.0', default_options: [ + 'backend_max_links=16', 'buildtype=debugoptimized', 'b_lundef=false', 'c_std=c11',