Skip to content

Commit cf07201

Browse files
committed
Fix CI LLVM to work on NixOS out of the box
1 parent b6c8455 commit cf07201

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/bootstrap.py

+2
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,8 @@ def download_stage0(self):
429429
llvm_assertions = self.get_toml('assertions', 'llvm') == 'true'
430430
if self.program_out_of_date(self.llvm_stamp(), llvm_sha + str(llvm_assertions)):
431431
self._download_ci_llvm(llvm_sha, llvm_assertions)
432+
for binary in ["llvm-config", "FileCheck"]:
433+
self.fix_bin_or_dylib("{}/bin/{}".format(self.llvm_root(), binary))
432434
with output(self.llvm_stamp()) as llvm_stamp:
433435
llvm_stamp.write(self.date + llvm_sha + str(llvm_assertions))
434436

0 commit comments

Comments
 (0)