Finish documenting UDLs and making them available - #724
Open
chiphogg wants to merge 1 commit into
Open
Conversation
We landed UDLs that make `Constant` (which is amazing!), but we didn't fully propagate them everywhere that makes sense. This PR adds the UDL include files to the installation instructions, and explains how to get them, linking to the UDL docs. We also add `--literals` and `--all-literals` command line parameters to the single file script in the obvious way. And since the "all units" files are pretty clearly playing the role of "just give me everything; I don't care about compilation speed", I enabled `--all-literals` in the all-units files, rather than adding a "yes/no literals" variant of each, which would explode us from 4 to 8 published headers. This will make literals available in godbolt now, which is great. (As an aside, for calibration purposes: even though this is the "don't care about compilation speed" option, we should still be dramatically faster than mp-units.)
chiphogg
marked this pull request as ready for review
August 13, 2026 20:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We landed UDLs that make
Constant(which is amazing!), but we didn'tfully propagate them everywhere that makes sense. This PR adds the UDL
include files to the installation instructions, and explains how to get
them, linking to the UDL docs.
We also add
--literalsand--all-literalscommand line parameters tothe single file script in the obvious way. And since the "all units"
files are pretty clearly playing the role of "just give me everything; I
don't care about compilation speed", I enabled
--all-literalsin theall-units files, rather than adding a "yes/no literals" variant of each,
which would explode us from 8 to 16 published headers. This will make
literals available in godbolt now, which is great. (As an aside, for
calibration purposes: even though this is the "don't care about
compilation speed" option, we should still be dramatically faster than
mp-units.)