Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain build process relationship #340

Open
krise86 opened this issue Jul 9, 2023 · 0 comments
Open

Explain build process relationship #340

krise86 opened this issue Jul 9, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@krise86
Copy link

krise86 commented Jul 9, 2023

Luet version:
0.32.5

When building a package that has build dependencies on other packages, if anyone of these packages change in the three luet will rebuild all packages from the changes package.

Let's say we have
pkg a to d

a is base layer
b is file and requires a
c is file and requires a
d requires b and c

if b is changed Luet will rebuild c, even if c is already built and has not changed
if c is changed Luet will rebuild c as it should.

So in cases where i have 15 different packages that is required to to build a single package, if i change anyone of those packages based on what order they are listed in the required section. Luet will rebuild all ascending packages. This causes unnecessary builds. Is this how luet is suppose to function?

The following repo can be used to test this
https://github.com/krise86/luet-test
make a, b c d
change b make d (will rebuild c)

@krise86 krise86 added the bug Something isn't working label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants