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

[SR-6639] [Driver] Support for response files in the compiler #49188

Closed
dcci mannequin opened this issue Dec 19, 2017 · 1 comment
Closed

[SR-6639] [Driver] Support for response files in the compiler #49188

dcci mannequin opened this issue Dec 19, 2017 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@dcci
Copy link
Mannequin

dcci mannequin commented Dec 19, 2017

Previous ID SR-6639
Radar None
Original Reporter @dcci
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: f1e48723bb08888f4a725169d9981836

duplicates:

  • SR-4517 Teach the driver (and frontend?) to handle response files

Issue Description:

I spend a fair amount of time reducing test cases, and this sometimes involves reducing cmdline invocations to minimize the number of arguments.

In clang, I generally run:

$ cat run.sh
clang @$1 file.cpp

which makes reducing easier, through, e.g. delta. I tried to do the same with swift, but it turns out I can't find the swiftc equivalent:

bash-3.2$ ./run.sh blah.rsp
<unknown>:0: error: no such file or directory: '@blah.rsp'

@belkadan Jordan, do you happen to know if the driver supports such an option? And, if not, how hard would it be to implement (or desirable)?

Thanks!

@belkadan
Copy link
Contributor

Probably not too hard, seems fine to do, see SR-4517. ;-)

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

1 participant