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

[Makefile] Clean generated headers out of SRCDIR #47755

Closed
wants to merge 1 commit into from

Conversation

vchuravy
Copy link
Member

After wasting yet another 30min staring at my out-of-tree being borked and remembering that weird errors
can occur when one accidentially hit make in the source tree, and then switched backed to an out-of-tree
build dir.

The issue is that one can easily have a remnant of a jl_internal_funcs.inc laying around, which will take
precedent over the new one generate in the out-of-tree builddir.

@vtjnash
Copy link
Member

vtjnash commented Nov 30, 2022

It is unclear to me that we should be changing the SRC directory in make clean. That would be unexpected to me when building. Why is the build picking up the wrong file? While usually ./configure systems will refuse to build out-of-tree with dirty src trees, we have so far tried to be compatible with that configuration

@brenhinkeller brenhinkeller added the building Build system, or building Julia or its dependencies label Nov 30, 2022
@vchuravy vchuravy closed this Dec 2, 2022
@vchuravy vchuravy deleted the vc/oot_gencode branch December 2, 2022 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants