Skip to content

Commit 251d149

Browse files
committed
Upgrade GCC to 10.3.0 and build MUSL targets
1 parent 077102c commit 251d149

File tree

11 files changed

+3856
-24
lines changed

11 files changed

+3856
-24
lines changed

.github/workflows/Build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
on:
22
push:
3+
branches:
4+
- 'build/*'
35
tags: [ 'v*' ]
4-
pull_request:
56

67
name: Build x86_64
78

@@ -13,9 +14,13 @@ jobs:
1314
matrix:
1415
target:
1516
- x86_64-unknown-linux-gnu
17+
- x86_64-unknown-linux-musl
1618
- i686-unknown-linux-gnu
19+
- i686-unknown-linux-musl
1720
- aarch64-unknown-linux-gnu
21+
- aarch64-unknown-linux-musl
1822
- armv7-unknown-linux-gnueabihf
23+
- armv7-unknown-linux-musleabihf
1924
steps:
2025
- uses: actions/checkout@v2
2126
- name: Install crosstool-ng
@@ -34,6 +39,9 @@ jobs:
3439
mkdir /Volumes/build/src
3540
cd ${{ matrix.target }}
3641
ct-ng build
42+
- name: Tail build.log on failure
43+
if: ${{ failure() }}
44+
run: tail -n 500 ${{ matrix.target }}/build.log
3745
- name: Archive Toolchain
3846
run: |
3947
cd /Volumes/tools

.github/workflows/aarch64.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
on:
22
push:
3+
branches:
4+
- 'build/*'
35
tags: ['v*']
4-
pull_request:
56

67
name: Build aarch64
78

@@ -16,9 +17,13 @@ jobs:
1617
matrix:
1718
target:
1819
- x86_64-unknown-linux-gnu
20+
- x86_64-unknown-linux-musl
1921
- i686-unknown-linux-gnu
22+
- i686-unknown-linux-musl
2023
- aarch64-unknown-linux-gnu
24+
- aarch64-unknown-linux-musl
2125
- armv7-unknown-linux-gnueabihf
26+
- armv7-unknown-linux-musleabihf
2227
steps:
2328
- uses: actions/checkout@v2
2429
- name: Install crosstool-ng
@@ -41,6 +46,9 @@ jobs:
4146
mkdir /Volumes/build/src
4247
cd ${{ matrix.target }}
4348
ct-ng build
49+
- name: Tail build.log on failure
50+
if: ${{ failure() }}
51+
run: tail -n 500 ${{ matrix.target }}/build.log
4452
- name: Archive Toolchain
4553
run: |
4654
cd /Volumes/tools

aarch64-unknown-linux-gnu/.config

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Automatically generated file; DO NOT EDIT.
3-
# crosstool-NG UNKNOWN Configuration
3+
# crosstool-NG 1.24.0.332_0528a9d Configuration
44
#
55
CT_CONFIGURE_has_cxx11=y
66
CT_CONFIGURE_has_lzip=y
@@ -23,7 +23,7 @@ CT_CONFIGURE_has_sha1sum=y
2323
CT_CONFIGURE_has_sha256sum=y
2424
CT_CONFIGURE_has_sha512sum=y
2525
CT_CONFIGURE_has_install_with_strip_program=y
26-
CT_VERSION="UNKNOWN"
26+
CT_VERSION="1.24.0.332_0528a9d"
2727
CT_VCHECK=""
2828
CT_CONFIG_VERSION_ENV="3"
2929
CT_CONFIG_VERSION_CURRENT="3"
@@ -247,6 +247,7 @@ CT_LINUX_PKG_NAME="linux"
247247
CT_LINUX_SRC_RELEASE=y
248248
# CT_LINUX_SRC_DEVEL is not set
249249
CT_LINUX_PATCH_ORDER="global"
250+
# CT_LINUX_V_5_11 is not set
250251
CT_LINUX_V_5_10=y
251252
# CT_LINUX_V_5_9 is not set
252253
# CT_LINUX_V_5_8 is not set
@@ -274,7 +275,7 @@ CT_LINUX_V_5_10=y
274275
# CT_LINUX_V_3_13 is not set
275276
# CT_LINUX_V_3_12 is not set
276277
# CT_LINUX_V_3_10 is not set
277-
CT_LINUX_VERSION="5.10.7"
278+
CT_LINUX_VERSION="5.10.23"
278279
CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})"
279280
CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
280281
CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
@@ -505,7 +506,7 @@ CT_GCC_V_10=y
505506
# CT_GCC_V_6 is not set
506507
# CT_GCC_V_5 is not set
507508
# CT_GCC_V_4_9 is not set
508-
CT_GCC_VERSION="10.2.0"
509+
CT_GCC_VERSION="10.3.0"
509510
CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
510511
CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
511512
CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
@@ -641,8 +642,8 @@ CT_EXPAT_PKG_NAME="expat"
641642
CT_EXPAT_SRC_RELEASE=y
642643
# CT_EXPAT_SRC_DEVEL is not set
643644
CT_EXPAT_PATCH_ORDER="global"
644-
CT_EXPAT_V_2_2=y
645-
CT_EXPAT_VERSION="2.2.9"
645+
CT_EXPAT_V_2_3=y
646+
CT_EXPAT_VERSION="2.3.0"
646647
CT_EXPAT_MIRRORS="http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION} https://github.com/libexpat/libexpat/releases/download/R_${CT_EXPAT_VERSION//./_}"
647648
CT_EXPAT_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
648649
CT_EXPAT_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"

0 commit comments

Comments
 (0)