Skip to content

Commit 7a0f922

Browse files
authored
Merge pull request #68581 from eeckstein/module-cache-in-benchmarks
benchmarks: use dedicated module-cache directory for building the benchmarks
2 parents c9e633c + 8953d68 commit 7a0f922

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ function (swift_benchmark_compile_archopts)
354354
set(common_options
355355
"-c"
356356
"-target" "${target}"
357+
"-module-cache-path" "${CMAKE_CURRENT_BINARY_DIR}/modulecache"
357358
"-${BENCH_COMPILE_ARCHOPTS_OPT}" ${PAGE_ALIGNMENT_OPTION})
358359
#"-Xfrontend" "-enable-experimental-feature"
359360
#"-Xfrontend" "LayoutPrespecialization")

0 commit comments

Comments
 (0)