Skip to content

set compilation_mode in cc_binary rule #20089

Answered by keith
sonicxml asked this question in Q&A
Discussion options

You must be logged in to vote

You can do this with transitions, there is a bit of a guide on how to do this in https://bazel.build/extending/config. Here's an example you can copy doing this too https://github.com/apple/swift-syntax/blob/098b177830c0d2e614b3757241b2572d758f9143/utils/bazel/opt_wrapper.bzl

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@fmeum
Comment options

@sonicxml
Comment options

Answer selected by sonicxml
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants