Skip to content

Commit 2b3384e

Browse files
committed
fix stored fields benchy to also respect localconstants.JAVAC_EXE
1 parent d615d87 commit 2b3384e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python/runStoredFieldsBenchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def run_benchmark(lucene_dir, geonames_csv_in, index_dir, nightly_log_dir, doc_l
3232
lucene_core_jar = lucene_core_jar[0]
3333

3434
# compile
35-
cmd = f"javac -cp {lucene_core_jar} -d build src/extra/perf/StoredFieldsBenchmark.java"
35+
cmd = f"{localconstants.JAVAC_EXE} -cp {lucene_core_jar} -d build src/extra/perf/StoredFieldsBenchmark.java"
3636
print(f"RUN: {cmd}, cwd={os.getcwd()}")
3737
subprocess.check_call(cmd, shell=True)
3838

0 commit comments

Comments
 (0)