File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1+ FROM buildpack-deps:sable
2+
3+ RUN useradd -ms /bin/bash ez80
4+ USER ez80
5+ WORKDIR /home/ez80
6+ COPY clang/0001-Emit-GAS-sytax.patch 0001-Emit-GAS-sytax.patch
7+ RUN curl -LO https://github.com/jacobly0/llvm-project/archive/1b767f5cc455.zip
8+ RUN unzip 1b767f5cc455.zip
9+ RUN cd llvm-project-1b767f5cc45505fb2d6285e717d439c6b1ea2e7f && patch -p1 < ../0001-Emit-GAS-sytax.patch
10+ RUN cd llvm-project-1b767f5cc45505fb2d6285e717d439c6b1ea2e7f \
11+ && mkdir build \
12+ && cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang" \
13+ -DCMAKE_INSTALL_PREFIX=/opt/local/ez80-none-elf \
14+ -DCMAKE_BUILD_TYPE=Release \
15+ -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=Z80 \
16+ -DLLVM_TARGETS_TO_BUILD= \
17+ -DLLVM_DEFAULT_TARGET_TRIPLE=ez80-none-elf \
18+ ../llvm-project-1b767f5cc45505fb2d6285e717d439c6b1ea2e7f/llvm \
19+ && ninja install
Original file line number Diff line number Diff line change 22
33 1 . C/C++ compiler: LLVM with Clang
44 2 . Assembler, linker, object tools: GNU binutils
5- 3 . Standard library: patches from ZDS-II, fillers
5+ 3 . Standard library: MIT licensed from scratch reimplementation of intrinsics
You can’t perform that action at this time.
0 commit comments