Skip to content

Commit 8e7c3d5

Browse files
committed
Clean up docs and YAML and shell scripts
1 parent d6b756c commit 8e7c3d5

File tree

3 files changed

+7
-211
lines changed

3 files changed

+7
-211
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ Design goals:
2424
## Workflow-Run
2525

2626
Workflow:
27-
- The build runs on GHA `ubuntu-latest` (i.e., `x86_64-linux-gnu` host).
27+
- The Workflow-Run [avr-gcc-build.yml](./.github/workflows/avr-gcc-build.yml) and its associated shell scripts (`avr-gcc-010*.sh`, `avr-gcc-020*.sh`, and `avr-gcc-030*.sh`) build `avr-gcc` for the _host_ `x86_64-linux-gnu`. These run on a GHA `ubuntu-latest` runner.
28+
- The Workflow-Run [avr-gcc-build-msys2-gcc.yml](./.github/workflows/avr-gcc-build-msys2-gcc.yml) and its associated shell script [avr-gcc-100-12.3.0_x86_64-w64-mingw32.sh](./avr-gcc-100-12.3.0_x86_64-w64-mingw32.sh) build `avr-gcc` for the _host_ `x86_64-w64-mingw32`. These run on a GHA `windows-latest` runner using `msys2`.
2829
- GCC prerequisites such as [GMP](https://gmplib.org), [MPFR](https://www.mpfr.org) and [MPC](https://www.multiprecision.org) are built on-the-fly in the Workflow-Run.
2930
- Build [`binutils`](https://www.gnu.org/software/binutils) and partially verify the build artifacts. At the moment, version 2.41 is used.
3031
- Then build `avr-gcc` and partially verify the build artifacts.
31-
- Clone [`avrdudes/avr-libc`](https://github.com/avrdudes/avr-libc) and build it directly in the propoer location relative to `avr-gcc` and partially verify the build artifacts.
32-
- Test the newly built compiler. In this test, we build `ref_app` (the reference application) from [`ckormanyos/real-time-cpp`](https://github.com/ckormanyos). Subsequently verify the creation of all expected `ref_app` build results (such as ELF-file, HEX-file, map files, etc.).
32+
- Clone [`avrdudes/avr-libc`](https://github.com/avrdudes/avr-libc) and build it directly in its expected location relative to `avr-gcc`. After this, partially verify the presence of the build artifacts.
33+
- Test the newly built in a compiler test.
34+
- In the compiler test, we build `ref_app` (the reference application) from [`ckormanyos/real-time-cpp`](https://github.com/ckormanyos). Verify the creation of key build results from `ref_app` including ELF-file, HEX-file, map files, etc.
3335

3436
## Distribution
3537

@@ -42,7 +44,4 @@ is used for archiving build artifacts.
4244

4345
Details:
4446
- This project is distributed under [The Unlicense](./UNLICENSE).
45-
- The Workflow-Run [avr-gcc-build.yml](./.github/workflows/avr-gcc-build.yml) and associated shell scripts (`avr-gcc-010*.sh`, `avr-gcc-020*.sh`, and `avr-gcc-030*.sh`) build `avr-gcc` for the _host_ `x86_64-linux-gnu`. These run on GHA using `ubuntu-latest` runners.
46-
- The Workflow-Run [avr-gcc-build-msys2-gcc.yml](./.github/workflows/avr-gcc-build-msys2-gcc.yml) and shell script [avr-gcc-100-12.3.0_x86_64-w64-mingw32.sh](./avr-gcc-100-12.3.0_x86_64-w64-mingw32.sh) build `avr-gcc` for the _host_ `x86_64-w64-mingw32`. These run on GHA within `msys2` using `windows-latest` runners.
47-
48-
This work has been inspired by a similar project: [`ZakKemble/avr-gcc-build`](https://github.com/ZakKemble/avr-gcc-build).
47+
- This work has been inspired by (the similar) project [`ZakKemble/avr-gcc-build`](https://github.com/ZakKemble/avr-gcc-build).

_reference_avr-gcc-100-12.3.0_x86_64-w64-mingw32.sh

Lines changed: 0 additions & 203 deletions
This file was deleted.

avr-gcc-100-12.3.0_x86_64-w64-mingw32.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SCRIPT_DIR=$(dirname "$SCRIPT_PATH")
99

1010

1111
# echo 'install necessary packages and build tools'
12-
# pacman -S --needed --noconfirm wget git make cmake ninja patch texinfo bzip2 xz autoconf automake python
12+
# pacman -S --needed --noconfirm autoconf automake bzip2 cmake git make ninja patch python texinfo wget
1313

1414
# Get standalone msys2 from nuwen (contains standalone gcc-x86_64-w64-mingw32).
1515
# The page describing this is: https://nuwen.net/mingw.html

0 commit comments

Comments
 (0)