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

Verbose make #46

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Verbose make #46

merged 1 commit into from
Nov 22, 2023

Conversation

Blackhex
Copy link
Member

Makes make output verbose and allows overriding the BUILD_MAKE_OPTIONS from outside of scripts.

@@ -4,7 +4,7 @@ BINUTILS_VERSION=${BINUTILS_VERSION:-binutils-master}

TARGET=${TARGET:-aarch64-w64-mingw32}
BUILD_PATH=${BUILD_PATH:-$PWD/build-$TARGET}
BUILD_MAKE_OPTIONS=-j$(nproc)
BUILD_MAKE_OPTIONS=${BUILD_MAKE_OPTIONS:V=1 -j$(nproc)}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about moving these almost the same settings out? Less changes for adjustment, less chances to forget something.

Copy link
Member Author

@Blackhex Blackhex Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default value here serves only the purpose when the script is called alone, e.g. locally. Any suggestion how to kill those two birds with one stone?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for instance to move BUILD_MAKE_OPTIONS to a separate bash script
include the script everywhere where it is needed.
Overwriting default value will be working the same way, however default value will be placed only in one place.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, let me try whether this approach will be feasible. Thank you for the suggestion.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The feedback adressed in the #49. This PR will be updated to contain only make options change once that one will be merged.

@Blackhex Blackhex merged commit c58111c into main Nov 22, 2023
4 checks passed
@Blackhex Blackhex deleted the verbose-make branch November 22, 2023 09:29
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.

2 participants