Skip to content
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

build: add compiler information to gamescope_version #1501

Merged

Conversation

matte-schwartz
Copy link

Seems helpful for diagnosing future issues that may come up in one build that may not be present in the same build with a different compiler.

Reports as:

❯ gamescope --version
[gamescope] [Info]  console: gamescope version 3.15.5 (clang 18.1.8)

for tagged versions but still captures git information properly when between tags or when the tree is dirty

❯ gamescope --version
[gamescope] [Info]  console: gamescope version 3.15.0-5-g81d8f8e+ (gcc 14.2.1)

could also drop off the compiler version number to keep it cleaner if that's preferable

Seems helpful for diagnosing issues that comes up in one build that may
not be present in the same build with a different compiler.
@misyltoad misyltoad merged commit dfd8479 into ValveSoftware:master Sep 7, 2024
1 check passed
@matte-schwartz matte-schwartz deleted the gamescope-compiler-version branch September 7, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants