-
Notifications
You must be signed in to change notification settings - Fork 19
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
Can I pass additional flags when building benchmark? #246
Comments
I think just adding them to your binary target in Package.swift should do what you want - did you try it? |
Only the swiftc flags can be passed in |
To illustrate with the example given in my first comment, |
Ah. Good question, will need to investigate if there's support in the swiftpm api for specifying this for builds, as that's what we're using to build the targets... |
I often use LTO with
swift bulid --experimental-lto-mode=full -Xswiftc -experimental-hermetic-seal-at-link
.Can I pass these flags to
swift-build
when runningswift package benchmark
? If so, how do I do?The text was updated successfully, but these errors were encountered: