-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
compiler_param_file does not use custom flag prefix from "flag_groups" #16168
Comments
Hello @Warchant, Could you please provide complete steps to reproduce the above request. Thanks! |
@sgowroji Looks like the use of |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team ( |
not stale Issue still exists |
@bazelbuild/triage |
Similar issue was solved for linker_param_file in #18074 (see b5cfea5) Maybe it could be solved by similar logic here as well? (cc @comius) New linker_param_file logic: bazel/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java Line 154 in 2544063
Current compiler_param_file logic: bazel/src/main/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLine.java Line 95 in 2544063
|
Description of the bug:
On Windows there is a need to enable "compiler_param_file" feature to solve 32k chars CreateProcessW limit.
If compiler does not support @ synax (
g++ @file.txt
) but requires custom flag, default feature implementation should be changed.My version:
Feature is enabled, but I still see
@
prefix instead of--cmd_file
:What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
Windows
What is the output of
bazel info release
?5.1.1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
No
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: