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

Idempotent deterministic build #470

Merged
merged 2 commits into from
Jul 25, 2023

Conversation

avtobiff
Copy link
Collaborator

  • Add phony targets for deps when building deterministically

    The paths for dependencies in the generated dependency Makefiles are
    removed when using the +deterministic erlc option. This makes subsequent
    builds fail because the dependency Makefile is read.

    Adding the -MP erlc option to generate phony targets when building
    deterministically enables several subsequent builds.

    Fixes Fail when make install and deterministic build is enabled #465

  • Add smoke test to PR for deterministic build

The paths for dependencies in the generated dependency Makefiles are
removed when using the +deterministic erlc option. This makes subsequent
builds fail because the dependency Makefile is read.

Adding the -MP erlc option to generate phony targets when building
deterministically enables several subsequent builds.

Fixes erlyaws#465
@vinoski vinoski merged commit 8f633ee into erlyaws:master Jul 25, 2023
16 checks passed
@vinoski
Copy link
Collaborator

vinoski commented Jul 25, 2023

Thanks!

@avtobiff avtobiff deleted the deterministic-build-phony-deps branch March 12, 2024 13:42
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.

Fail when make install and deterministic build is enabled
2 participants