Skip to content

Conversation

@wiwa
Copy link
Contributor

@wiwa wiwa commented Sep 21, 2022

Description

Include runtime_jdk as an an attr on jmh_support:benchmark_generator.
scala_benchmark_jmh can now specify a Java runtime to build its scala_binary with.

To test whether our changes work for different specified JDKs, we include [email protected] as an http_archive.
We don't override our Bazel's (@.bazelversion) rules_java and instead pull in the newer rules_java as @rules_java_extra.

This allows us to use remote_jdk8 runtimes specified here.

Motivation

We want to be able to use JMH benchmarking on different Java runtimes.

Co-authored-by: Shane Delmore [email protected]

Copy link
Collaborator

@liucijus liucijus left a comment

Choose a reason for hiding this comment

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

Thanks, @wiwa!

@wiwa
Copy link
Contributor Author

wiwa commented Sep 22, 2022

@simuons

Copy link
Collaborator

@simuons simuons left a comment

Choose a reason for hiding this comment

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

Thanks and sorry for the delay.

@liucijus liucijus merged commit b92d555 into bazel-contrib:master Sep 26, 2022
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.

3 participants