Skip to content

Commit 3becbd2

Browse files
committed
workaround
1 parent 93fe672 commit 3becbd2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • src/bootstrap/src/core/build_steps

src/bootstrap/src/core/build_steps/llvm.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,6 +1081,7 @@ impl Step for OmpOffload {
10811081
} else {
10821082
// OpenMP provides some device libraries, so we also compile it for all gpu targets.
10831083
cfg.define("LLVM_USE_LINKER", "lld");
1084+
cfg.define("LIBC_INCLUDE_BENCHMARKS", "OFF");
10841085
cfg.define("LIBC_TARGET_TRIPLE", omp_target);
10851086
cfg.define("LLVM_LIBC_FULL_BUILD", "ON");
10861087
cfg.define("LLVM_ENABLE_RUNTIMES", "openmp;libc");

0 commit comments

Comments
 (0)