Skip to content

Commit d05327c

Browse files
jbachorikclaude
andcommitted
Use buildrelease task for release builds
Changed from 'build' to 'buildrelease' to ensure release artifacts are built at the expected path. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent ac68e22 commit d05327c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ddprof-lib/benchmarks/branch-prediction/compare_branch_prediction.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ main() {
140140
# Build baseline
141141
log_step "3/6: Building baseline version..."
142142
cd "${BASELINE_WORKTREE}"
143-
./gradlew ddprof-lib:build -x test
143+
./gradlew ddprof-lib:buildrelease -x test
144144

145145
# Find the baseline library (prefer release, fallback to any .so)
146146
local baseline_lib_check="${BASELINE_WORKTREE}/ddprof-lib/build/lib/main/release/linux/x64/libjavaProfiler.so"
@@ -160,7 +160,7 @@ main() {
160160
# Build optimized
161161
log_step "4/6: Building optimized version..."
162162
cd "${OPTIMIZED_WORKTREE}"
163-
./gradlew ddprof-lib:build -x test
163+
./gradlew ddprof-lib:buildrelease -x test
164164

165165
# Find the optimized library (prefer release, fallback to any .so)
166166
local optimized_lib_check="${OPTIMIZED_WORKTREE}/ddprof-lib/build/lib/main/release/linux/x64/libjavaProfiler.so"

0 commit comments

Comments
 (0)