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

Add transition to force opt for command tools #2

Merged
merged 1 commit into from
Jul 27, 2022

Conversation

keith
Copy link
Owner

@keith keith commented Jul 27, 2022

These tools are using the target configuration because theoretically in
the case you had remote execution on Linux with macOS hosts, you need
the target to match your machine for when its run. But in this specific
case these commands should likely always use the opt configuration, but
you may not want to force that on the command line to avoid analysis
cache trashing. This adds a custom transition to the targets in order to
force opt.

These tools are using the target configuration because theoretically in
the case you had remote execution on Linux with macOS hosts, you need
the target to match your machine for when its run. But in this specific
case these commands should likely always use the opt configuration, but
you may not want to force that on the command line to avoid analysis
cache trashing. This adds a custom transition to the targets in order to
force opt.
Copy link

@jpsim jpsim left a comment

Choose a reason for hiding this comment

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

Nice

@keith keith marked this pull request as ready for review July 27, 2022 20:27
@keith keith merged commit 4756b6b into main Jul 27, 2022
@keith keith deleted the ks/add-transition-to-force-opt-for-command-tools branch July 27, 2022 20:27
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