Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork110
build: add BUILDMODE#150
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
We currently have 2 "popular" kinds of release modes:- `ReleaseFast` without debug symbols. Existing behaviour, will be used to cut releases.- `ReleaseSafe` with debug symbols. New behaviour, will be used for "new nightlies". See [ziglang/zig#15194][15194]This script intends to be as prescriptive as possible, so wespecifically avoid other valid combinations (e.g. `ReleaseSmall`).Therefore no such things like unvalidated "extra args" for zig.If you want to add a new build mode and feel like a wide populationwould benefit from it, submit a new issue and let's talk.Example invocation: $ ./build x86_64-linux-gnu.2.28 baseline ReleaseSafeDbgSym Build configuration: Version: 0.11.0-dev.2680+a1aa55ebe Target: x86_64-linux-gnu.2.28 MCPU: baseline Optimize: ReleaseSafe Debug symbols: Yes <... build output ...>[15194]:ziglang/zig#15194
Since I like compressing things and comparing see how well they do it: The first one is |
| ReleaseFastStrip) | ||
| OPTIMIZE=ReleaseFast | ||
| DBGSYM=No | ||
| ZIG_STRIP=-D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
should this be -Dstrip?
We currently have 2 "popular" kinds of release modes:
ReleaseFastwithout debug symbols. Existing behaviour, will be used to cut releases.ReleaseSafewith debug symbols. New behaviour, will be used for "new nightlies". Seeziglang/zig#15194This script intends to be as prescriptive as possible, so we specifically avoid other valid combinations (e.g.
ReleaseSmall). Therefore no such things like unvalidated "extra args" for zig.If you want to add a new build mode and feel like a wide population would benefit from it, submit a new issue and let's talk.
Example invocation: