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

FR: Expose --per_file_copt to Starlark #14764

Open
brentleyjones opened this issue Feb 9, 2022 · 0 comments
Open

FR: Expose --per_file_copt to Starlark #14764

brentleyjones opened this issue Feb 9, 2022 · 0 comments
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Rules-ObjC Issues for Objective-C maintainers type: feature request

Comments

@brentleyjones
Copy link
Contributor

Description of the problem / feature request:

I would like to get the effective value of --per_file_copt in a Starlark aspect.

Feature requests: what underlying problem are you trying to solve with this feature?

In a Starlark aspect I'm collecting all of the copts that are used to compile Objective-C files. Currently I can get most of them through cc_common.get_memory_inefficent_command_line (is there a better way?), but that doesn't take into account --per_file_copt.

It seems a fully Starlark objc_library would need this as well, as it's currently relying on some native code to allow this flag to influence the compile action.

What's the output of bazel info release?

release 5.0.0

@oquenchil oquenchil added team-Rules-ObjC Issues for Objective-C maintainers untriaged type: feature request labels Feb 14, 2022
phst added a commit to phst/rules_elisp that referenced this issue Dec 12, 2023
phst added a commit to phst/rules_elisp that referenced this issue Dec 12, 2023
@keith keith added P2 We'll consider working on this in future. (Assignee optional) and removed untriaged labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) team-Rules-ObjC Issues for Objective-C maintainers type: feature request
Projects
None yet
Development

No branches or pull requests

3 participants