Skip to content

Rename tmpdir to target and always preserve it, dropping --preserve - #368

Merged
fosslinux merged 1 commit into
fosslinux:masterfrom
Googulator:always-preserve
Dec 27, 2023
Merged

Rename tmpdir to target and always preserve it, dropping --preserve#368
fosslinux merged 1 commit into
fosslinux:masterfrom
Googulator:always-preserve

Conversation

@Googulator

Copy link
Copy Markdown
Collaborator

There is nothing temporary about our "tmpdir" - its sole purpose is to contain the final product of the bootstrap process. Thus, removing it at the end of bootstrap amounts to doing the entire process for nothing.

To remedy this, --tmpdir is renamed --target, keeping the -t short form, and defaulting to "target" instead of "tmp" to make its purpose clearer. The --preserve option is removed, as the target is now always preserved.

@Googulator
Googulator force-pushed the always-preserve branch 3 times, most recently from 8e0ba23 to 66c205c Compare December 26, 2023 06:52
There is nothing temporary about our "tmpdir" - its sole purpose is to
contain the final product of the bootstrap process. Thus, removing it
at the end of bootstrap amounts to doing the entire process for nothing.

To remedy this, --tmpdir is renamed --target, keeping the -t short form,
and defaulting to "target" instead of "tmp" to make its purpose clearer.
The --preserve option is removed, as the target is now always preserved.
@Googulator

Copy link
Copy Markdown
Collaborator Author

rebased on top of the gprof fix so we can actually get a green CI run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants