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

Adding a new module takes a full clean and recompile before working #28561

Open
GiudGiud opened this issue Sep 6, 2024 · 0 comments
Open

Adding a new module takes a full clean and recompile before working #28561

GiudGiud opened this issue Sep 6, 2024 · 0 comments
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: defect An anomaly, which is anything that deviates from expectations.

Comments

@GiudGiud
Copy link
Contributor

GiudGiud commented Sep 6, 2024

Bug Description

If you turn on an extra module in the makefile of an app, it takes a git clean -Xfd and a recompile to get its objects.
The new module will get re-compiled but wont be linked properly probably.

I think we are missing some makefile logic to get this right, and be able to

  • add a module in the Makefile
  • recompile
  • be done

possbily all we need to do is modify a rule to react to changes in a specific section of the makefile, or move that list of modules somewhere else

Steps to Reproduce

Create an app, compile with 0 modules, add PHASE_FIELD, compile, try to use a phase field object and get a registration error

Impact

Common issue for users

[Optional] Diagnostics

No response

@GiudGiud GiudGiud added T: defect An anomaly, which is anything that deviates from expectations. P: normal A defect affecting operation with a low possibility of significantly affects. C: Framework labels Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: defect An anomaly, which is anything that deviates from expectations.
Projects
None yet
Development

No branches or pull requests

1 participant