Skip to contentSkip to conversation

support/graph-depends: cut on host-ccache

PATCH New Francois Perrad 3 participants 3 messages Oct 1, 2019 – Oct 2, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/graph-depends: cut on host-ccache

When selected, host-ccache is a dependency of almost all packages. As such, it clutters the dependency graph uselessly.

---
 support/scripts/graph-depends | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/graph-depends +1 -1
index 3de09b1209..d42bebce9d 100755
@@ -115,7 +115,7 @@ def remove_transitive_deps(pkg, deps):
 
 # List of dependencies that all/many packages have, and that we want
 # to trim when generating the dependency graph.
-MANDATORY_DEPS = ['toolchain', 'skeleton', 'host-skeleton', 'host-tar', 'host-gzip']
+MANDATORY_DEPS = ['toolchain', 'skeleton', 'host-skeleton', 'host-tar', 'host-gzip', 'host-ccache']
 
 
 # This function removes the dependency on some 'mandatory' package, like the
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 support/graph-depends: cut on host-ccache

Fran?ois, All,

On 2019-10-01 18:34 +0200, Francois Perrad spake thusly:

Quoted 4 lines

When selected, host-ccache is a dependency of almost all packages. As such, it clutters the dependency graph uselessly.

(Note that this makes the line even longer, and flake8 warns, but that was already the case before, so who cares...)

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 support/scripts/graph-depends | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/graph-depends +1 -1
index 3de09b1209..d42bebce9d 100755
@@ -115,7 +115,7 @@ def remove_transitive_deps(pkg, deps):
 
 # List of dependencies that all/many packages have, and that we want
 # to trim when generating the dependency graph.
-MANDATORY_DEPS = ['toolchain', 'skeleton', 'host-skeleton', 'host-tar', 'host-gzip']
+MANDATORY_DEPS = ['toolchain', 'skeleton', 'host-skeleton', 'host-tar', 'host-gzip', 'host-ccache']
 
 
 # This function removes the dependency on some 'mandatory' package, like the
Signature · 6 lines
2.20.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 support/graph-depends: cut on host-ccache

In reply to Francois Perrad
Quoted 7 lines · On Tue, 1 Oct 2019 18:34:58 +0200 Francois Perrad <[email protected]> wrote:

When selected, host-ccache is a dependency of almost all packages. As such, it clutters the dependency graph uselessly.

---
 support/scripts/graph-depends | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com