Skip to content

Commit

Permalink
Add corretto.jmh to build microbenchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
lutkerd committed Sep 18, 2024
1 parent cc5414e commit c3a121d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ allprojects {
correttoCommonFlags += ["--with-gtest=${gtest}"]
}

// This should be public so we can know if we should build the micro-benchmarks
jmh = project.findProperty("corretto.jmh")
if (jmh) {
correttoCommonFlags += ["--with-jmh=${jmh}"]
}

// Valid value: null, release, debug, fastdebug, slowdebug
correttoDebugLevel = "release" // Default: release
switch(project.findProperty("corretto.debug_level")) {
Expand Down

0 comments on commit c3a121d

Please sign in to comment.