Skip to content

makefiles are recreated every time a build is started #1397

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

Closed
ArminJo opened this issue Oct 18, 2021 · 5 comments
Closed

makefiles are recreated every time a build is started #1397

ArminJo opened this issue Oct 18, 2021 · 5 comments
Labels
domain: build The build does not work as the Arduino IDE. Help wanted If you want to become a active contributor, start looking at this issue. importance: improvement request OS: all status: known limitation This is soimething we can live with

Comments

@ArminJo
Copy link

ArminJo commented Oct 18, 2021

Every time I start a new build, all makefiles are recreated. This takes a few seconds - for nothing 😞
makefilebuildInSloeber
I cross checked it with the AVR Eclipse plugin, it does not recreate the makefiles!
What is the trigger for this recreation and how can I avoid it?
Thanks
Armin

@jantje
Copy link
Member

jantje commented Oct 18, 2021

I can reproduce the issue here.
FYI
Basically Sloeber does not trigger makefile creation. Sloeber provides a makefile generator and CDT calls the generator when it thinks it is appropriate.
Therefore I think this has the same rootcause as #1396

@jantje
Copy link
Member

jantje commented Oct 18, 2021

I turned off the rootcause of #1396 and even turned off the automatic library adding.
This makes Sloeber basically do nothing interactively and the makefiles are still recreated :-(

@jantje jantje added domain: build The build does not work as the Arduino IDE. Help wanted If you want to become a active contributor, start looking at this issue. importance: improvement request OS: all labels Oct 18, 2021
@ArminJo
Copy link
Author

ArminJo commented Oct 18, 2021

Oh what a mess ...

@jantje
Copy link
Member

jantje commented Oct 18, 2021

I may have shortcut the complex partial update code to simple always generate everything

@jantje
Copy link
Member

jantje commented Dec 8, 2021

I may have shortcut the complex partial update code to simple always generate everything

I have shortcut the complex partial update code to simple always generate everything.
So this behaviour has been in Sloeber for a very long time.
I'm not really feeling confident nor eager to fix this as I think this whole makefile generation should be done differently but it works so ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: build The build does not work as the Arduino IDE. Help wanted If you want to become a active contributor, start looking at this issue. importance: improvement request OS: all status: known limitation This is soimething we can live with
Projects
None yet
Development

No branches or pull requests

2 participants