Skip to content

Commit 4e818c9

Browse files
committed
workaround
1 parent bb3ec5a commit 4e818c9

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
@@ -1088,6 +1088,7 @@ impl Step for OmpOffload {
10881088
} else {
10891089
// OpenMP provides some device libraries, so we also compile it for all gpu targets.
10901090
cfg.define("LLVM_USE_LINKER", "lld");
1091+
cfg.define("LIBC_INCLUDE_BENCHMARKS", "OFF");
10911092
cfg.define("LIBC_TARGET_TRIPLE", omp_target);
10921093
cfg.define("LLVM_LIBC_FULL_BUILD", "ON");
10931094
cfg.define("LLVM_ENABLE_RUNTIMES", "openmp;libc");

0 commit comments

Comments
 (0)