Skip to content

Commit

Permalink
Set the LLVM_SYS env var in the LLVM windows installer
Browse files Browse the repository at this point in the history
  • Loading branch information
vcfxb committed Mar 20, 2024
1 parent 56fad59 commit 50673bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/src/bin/install-llvm-windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
format!("{};{}", current_path_var, fq_install_dir.display()),
);

println!("Updating LLVM_SYS_180_PREFIX var");
env::set_var("LLVM_SYS_180_PREFIX", fq_install_dir.parent().unwrap());

Ok(())
}

0 comments on commit 50673bc

Please sign in to comment.