[mutter/wip/carlosg/libmutter-dep-sources] build: Do not provide built sources as libmutter_dep sources




commit f7cb2241ec92b2e6c06b11d02363403f3b3de461
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, the number of targets to build is getting too high.
    
    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 it
    should work on the meson side.

 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]