We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
5.3, Xcode 12
md5: b1aca7b2908f3273e1e306847e76442d
Issue Description:
Currently swift build -c release uses -O for swift and -O2 for C, and building a package in Xcode uses -O for swift and -Os for C.
swift build -c release
-O
-O2
-Os
We should be able to customize the optimization level of release builds.
Swift supports:
-Onone, -O, -Osize, -Ounchecked -whole-module-optimization, -no-whole-module-optimization
Clang supports:
-O0, -O1, -O2, -O3, -Ofast, -Os, -Oz, -Og -flto, -flto=full, -flto=thin
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
No branches or pull requests
Environment
5.3, Xcode 12
Additional Detail from JIRA
md5: b1aca7b2908f3273e1e306847e76442d
Issue Description:
Currently
swift build -c release
uses-O
for swift and-O2
for C, and building a package in Xcode uses-O
for swift and-Os
for C.We should be able to customize the optimization level of release builds.
Swift supports:
Clang supports:
The text was updated successfully, but these errors were encountered: