Skip to content

Commit

Permalink
Update workflow and tools
Browse files Browse the repository at this point in the history
* Switch cross-compiler to our own one

  This GCC 14.2.0 is patched to fix
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111425, hence the
  workaround patches can be dropped everywhere.

* Check hash of cross-compiler tarball

* Enable "pipefail" for `make-kernel.bash`
  • Loading branch information
johnny-mnemonic committed Nov 21, 2024
1 parent 8a42b1e commit bafccf9
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 433 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,13 @@ jobs:
# prepare tools ######################################################
cd ${TOOLS_DIR}
CROSS_COMPILER_URL=$( cat ./config/compiler-url )
wget "${CROSS_COMPILER_URL}" -O - | unxz | tar -xf -
CROSS_COMPILER_TARBALL=$( basename ${CROSS_COMPILER_URL} )
if wget "${CROSS_COMPILER_URL}" -O - | tee "${CROSS_COMPILER_TARBALL}" | sha256sum -c "./config/${CROSS_COMPILER_TARBALL}.SHA256"; then
tar -xf "${CROSS_COMPILER_TARBALL}"
else
echo "E: Problem when downloading cross-compiler. Cannot continue."
exit 1
fi
CROSS_COMPILER_PATH=$( echo gcc-*/*-linux )
PATH=$PATH:$PWD/${CROSS_COMPILER_PATH}/bin
CROSS_COMPILER=$( basename ${CROSS_COMPILER_PATH}/bin/*-linux-gcc )
Expand Down
2 changes: 1 addition & 1 deletion config/compiler-url
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/13.2.0/x86_64-gcc-13.2.0-nolibc-ia64-linux.tar.xz
https://ftp.machine-hall.org/pub/toolchains/x86_64/x86_64-gcc-14.2.0-nolibc-ia64.tar.xz
1 change: 1 addition & 0 deletions config/x86_64-gcc-14.2.0-nolibc-ia64.tar.xz.SHA256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ec59c753d3522a6a3910e951f3b513718317a9654566368e5698b8508f42bbd3 -
46 changes: 0 additions & 46 deletions patches/linux-5.10.y/ia64-linux-workaround-ice-with-gcc-13.patch

This file was deleted.

14 changes: 0 additions & 14 deletions patches/linux-5.10.y/linux-5.10.207-workaround-ice-w-gcc-14.patch

This file was deleted.

46 changes: 0 additions & 46 deletions patches/linux-5.15.y/ia64-linux-workaround-ice-with-gcc-13.patch

This file was deleted.

This file was deleted.

46 changes: 0 additions & 46 deletions patches/linux-6.1.y/ia64-linux-workaround-ice-with-gcc-13.patch

This file was deleted.

This file was deleted.

This file was deleted.

46 changes: 0 additions & 46 deletions patches/linux-6.6.y/ia64-linux-workaround-ice-with-gcc-13.patch

This file was deleted.

46 changes: 0 additions & 46 deletions patches/linux-6.7.y/ia64-linux-workaround-ice-with-gcc-13.patch

This file was deleted.

Loading

0 comments on commit bafccf9

Please sign in to comment.