Rollup merge of #76667 - matklad:patch-llvm, r=Mark-Simulacrum
Fix CI LLVM to work on NixOS out of the box r? @Mark-Simulacrum Tested locally, seems to work!
This commit is contained in:
commit
51cf121e6d
1 changed files with 2 additions and 0 deletions
|
@ -429,6 +429,8 @@ class RustBuild(object):
|
|||
llvm_assertions = self.get_toml('assertions', 'llvm') == 'true'
|
||||
if self.program_out_of_date(self.llvm_stamp(), llvm_sha + str(llvm_assertions)):
|
||||
self._download_ci_llvm(llvm_sha, llvm_assertions)
|
||||
for binary in ["llvm-config", "FileCheck"]:
|
||||
self.fix_bin_or_dylib("{}/bin/{}".format(self.llvm_root(), binary))
|
||||
with output(self.llvm_stamp()) as llvm_stamp:
|
||||
llvm_stamp.write(self.date + llvm_sha + str(llvm_assertions))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue