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

set library version in bazel #1746

Merged
merged 4 commits into from
Jan 29, 2024
Merged

set library version in bazel #1746

merged 4 commits into from
Jan 29, 2024

Conversation

dmah42
Copy link
Member

@dmah42 dmah42 commented Jan 29, 2024

note if bzlmod is disabled the version will be an empty string

@dmah42 dmah42 requested a review from LebedevRI January 29, 2024 13:34
@LebedevRI
Copy link
Collaborator

Also drop the hello, bazel fallback from code?

@@ -752,7 +752,7 @@ std::string GetBenchmarkVersiom() {
#if defined(BENCHMARK_VERSION)
return {BENCHMARK_VERSION};
#else
return "hello, bazel!";
Copy link
Collaborator

@LebedevRI LebedevRI Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, just return {BENCHMARK_VERSION};

LebedevRI
LebedevRI previously approved these changes Jan 29, 2024
Copy link
Collaborator

@LebedevRI LebedevRI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me.
Thank you

@dmah42 dmah42 merged commit 30a37e1 into main Jan 29, 2024
96 of 98 checks passed
@dmah42 dmah42 deleted the bazel_version branch January 29, 2024 13:48
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