swift-llbuild
swift-llbuild copied to clipboard
[SR-2161] llbuild/swiftpm are building in debug despite --release being used when compiling with --xcode
| Previous ID | SR-2161 |
| Radar | rdar://problem/28109011 |
| Original Reporter | @gottesmm |
| Type | Improvement |
| Status | Reopened |
| Resolution |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | llbuild |
| Labels | Improvement, BuildScript |
| Assignee | None |
| Priority | Medium |
md5: c586e785cf2b1d1b933b5b647350d7e7
Issue Description:
When compiling with "buildbot_incremental,tools=RA,stdlib=RA,xcode", swiftpm, llbuild both build in Xcode debug mode even though release is specified.
I worked around this by disabling the building of llbuild/swiftpm with that preset.
I'm not sure build-script's notion of "release" or "debug" is forwarded on to any subprojects other than Swift or LLVM.
This should be fixed for swiftpm by https://github.com/apple/swift/pull/6432