-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some more comments about where configuration comes in
- Loading branch information
1 parent
1d5bf4a
commit 350ac54
Showing
3 changed files
with
18 additions
and
0 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 |
---|---|---|
@@ -1,5 +1,11 @@ | ||
FROM wasi-sdk-builder-base | ||
|
||
# Install an extra C++ toolchain which can target arm64 linux. | ||
RUN apt-get install -y g++-aarch64-linux-gnu | ||
|
||
# Configure Rust to use this new compiler for linking Rust executables. | ||
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER aarch64-linux-gnu-gcc | ||
|
||
# Note that `.github/workflows/main.yml` sets various bits and bobs of | ||
# configuration and cmake flags that may get passed to the underlying build. For | ||
# example LLVM is instructed to use the toolchain installed above. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
FROM wasi-sdk-builder-base | ||
|
||
# No extra configuration necessary for x86_64 over what `Dockerfile.common` | ||
# already has. | ||
# | ||
# Note though that `.github/workflows/main.yml` still sets various bits and bobs | ||
# of configuration and cmake flags that may get passed to the underlying build. |