[mutter/wip/carlosg/libmutter-dep-sources] build: Do not provide built sources as libmutter_dep sources
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/libmutter-dep-sources] build: Do not provide built sources as libmutter_dep sources
- Date: Wed, 30 Sep 2020 14:40:35 +0000 (UTC)
commit 3e92878b1517cc1b50aa707c34a075125e7b1b02
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Sep 30 01:21:23 2020 +0200
build: Do not provide built sources as libmutter_dep sources
This is essentially a revert of
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/326. This commit
had the unintended side effect that the built sources are actually
rebuilt for every individual user of libmutter_dep. With there being more
tests and generated files, the number of targets to build is increasing
squarely.
Not doing this reduces the number of targets from 2044 to 874, thus
saving man hours and CI burnt cycles in the long run. There's the slight
risk of reintroducing the random build breaks, but mutter is essentially
doing as suggested at https://github.com/mesonbuild/meson/issues/1084
(the only difference being addressed in the previous commit), so meson
ought to behave as expected.
src/meson.build | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/meson.build b/src/meson.build
index 8fe484ec2d..e7c99caeed 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -955,7 +955,6 @@ libmutter = shared_library(libmutter_name,
libmutter_dep = declare_dependency(
link_with: libmutter,
include_directories: mutter_includes,
- sources: mutter_built_sources,
dependencies: [
libmutter_cogl_dep,
libmutter_clutter_dep,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]