-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add initial support for m68k #88321
Merged
Merged
Add initial support for m68k #88321
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
0ad0d30
bootstrap: Add cputype matching for m68k
glaubitz df7ad3a
bootstrap: Add LLVM target matching for M68k
glaubitz 5805591
compiler/rustc_target: Add support for m68k-linux-gnu
glaubitz 9d177f8
build-manifest: Add m68k-unknown-linux-gnu target
glaubitz 33088b9
ci: Add Dockerfile for dist-m68k-linux
glaubitz 0e4e0ce
compiletest: Add m68k to ARCH_TABLE
glaubitz 13b029d
rustdoc: Add human-readable cfg string for m68k
glaubitz 5e56778
libstd: Add m68k for raw type definitions on Linux
glaubitz fa27d50
compiler/rustc_llvm: Enable M68k LLVM target
glaubitz 2cef5d8
library/std/env: Add 'm68k' to comment on ARCH constant
glaubitz c99d365
doc/platform-support.md: Add m68k-unknown-linux-gnu as Tier 3 target
glaubitz 5d22b1a
doc/platform-support: Add documentation for m68k-unknown-linux-gnu
glaubitz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
src/ci/docker/host-x86_64/disabled/dist-m68k-linux/Dockerfile
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
g++ \ | ||
make \ | ||
file \ | ||
curl \ | ||
ca-certificates \ | ||
python2.7 \ | ||
git \ | ||
cmake \ | ||
sudo \ | ||
gdb \ | ||
xz-utils \ | ||
g++-m68k-linux-gnu \ | ||
libssl-dev \ | ||
pkg-config | ||
|
||
|
||
COPY scripts/sccache.sh /scripts/ | ||
RUN sh /scripts/sccache.sh | ||
|
||
ENV HOSTS=m68k-unknown-linux-gnu | ||
|
||
ENV RUST_CONFIGURE_ARGS --host=$HOSTS --enable-extended | ||
ENV SCRIPT python3 ../x.py dist --host $HOSTS --target $HOSTS |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is python2.7 really needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not. I wrote this Docker file over a year ago when the CI was still using an older version of Ubuntu.
I will verify that the issue and send in a follow-up PR to drop
python2.7
if necessary.Thanks for spotting this.