Skip to content

Commit f0ea08a

Browse files
committed
Auto merge of #152609 - mati865:gnullvm-llvm-dll, r=<try>
Install LLVM DLL in the right place on Windows try-job: dist-x86_64-llvm-mingw
2 parents ce0bf0b + c91c21b commit f0ea08a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/bootstrap/src/core/build_steps/dist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2557,7 +2557,7 @@ pub fn maybe_install_llvm_target(builder: &Builder<'_>, target: TargetSelection,
25572557
),
25582558
)]
25592559
pub fn maybe_install_llvm_runtime(builder: &Builder<'_>, target: TargetSelection, sysroot: &Path) {
2560-
let dst_libdir = sysroot.join(builder.sysroot_libdir_relative(Compiler::new(1, target)));
2560+
let dst_libdir = sysroot.join(builder.libdir_relative(Compiler::new(1, target)));
25612561
// We do not need to copy LLVM files into the sysroot if it is not
25622562
// dynamically linked; it is already included into librustc_llvm
25632563
// statically.

src/ci/github-actions/jobs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ auto:
712712
--target=aarch64-pc-windows-gnullvm,i686-pc-windows-gnullvm
713713
--enable-full-tools
714714
--enable-profiler
715+
--enable-llvm-link-shared
715716
DIST_REQUIRE_ALL_TOOLS: 1
716717
CODEGEN_BACKENDS: llvm,cranelift
717718
CC_i686_pc_windows_gnullvm: i686-w64-mingw32-clang
@@ -724,6 +725,7 @@ auto:
724725
--build=x86_64-pc-windows-gnullvm
725726
--enable-full-tools
726727
--enable-profiler
728+
--enable-llvm-link-shared
727729
DIST_REQUIRE_ALL_TOOLS: 1
728730
CODEGEN_BACKENDS: llvm,cranelift
729731
<<: *job-windows

0 commit comments

Comments
 (0)