-
Notifications
You must be signed in to change notification settings - Fork 12.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a3fd37
commit 1c021ff
Showing
4 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,9 @@ RUN curl -sL "https://github.com/PowerShell/PowerShell/releases/download/v7.3.1/ | |
COPY scripts/sccache.sh /scripts/ | ||
RUN sh /scripts/sccache.sh | ||
|
||
# Make `libgccjit.so` accessible to the linker. | ||
RUN ln -s /usr/lib/gcc/x86_64-linux-gnu/12/libgccjit.so /usr/lib/x86_64-linux-gnu/libgccjit.so | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
GuillaumeGomez
Author
Member
|
||
|
||
# We are disabling CI LLVM since this builder is intentionally using a host | ||
# LLVM, rather than the typical src/llvm-project LLVM. | ||
ENV NO_DOWNLOAD_CI_LLVM 1 | ||
|
@@ -50,7 +53,6 @@ ENV RUST_CONFIGURE_ARGS \ | |
--build=x86_64-unknown-linux-gnu \ | ||
--llvm-root=/usr/lib/llvm-16 \ | ||
--enable-llvm-link-shared \ | ||
$USE_NEW_MANGLING \ | ||
--set rust.thin-lto-import-instr-limit=10 | ||
|
||
COPY host-x86_64/x86_64-gnu-llvm-16/script.sh /tmp/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This symlink shouldn't be needed as long as the system has gcc 12, because then this path is already in the linker search path. That's what I was trying to indicate with the Note above, and that's why I used 13 in the llvm-17 container based on
ubuntu:23.10
.