Skip to content

Commit 73acf3b

Browse files
jwnrtluismarques
authored andcommitted
Remove GCC support
1 parent cd1e510 commit 73acf3b

File tree

8 files changed

+6
-386
lines changed

8 files changed

+6
-386
lines changed

.github/workflows/toolchain_build.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
- os: ubuntu-24.04-arm
2626
host_arch: aarch64
2727
- name: rv32imcb
28-
display_name: Toolchains targeting Ibex with bit-manipulation extensions
28+
display_name: RV32IMCB toolchains (Ibex)
2929
target: riscv32-unknown-elf
3030
output_dir: /tools/riscv
3131
march: rv32imc_zba_zbb_zbc_zbs
3232
mabi: ilp32
3333
mcmodel: medany
3434
- name: rv64imac
35-
display_name: GCC and Clang/LLVM toolchains targeting RV64IMAC (Muntjac)
35+
display_name: RV64IMAC toolchains (Muntjac)
3636
target: riscv64-unknown-elf
3737
output_dir: /tools/riscv
3838
march: rv64imac
@@ -79,17 +79,6 @@ jobs:
7979
"${{ matrix.target }}" \
8080
"${{ matrix.output_dir }}"
8181
82-
- name: Build GCC toolchain
83-
run: |
84-
./build-gcc-with-args.sh \
85-
"lowrisc-toolchain-gcc-${{ matrix.name }}" \
86-
"${{ matrix.target }}" \
87-
"${{ matrix.output_dir }}" \
88-
"${{ matrix.march }}" \
89-
"${{ matrix.mabi}}" \
90-
"${{ matrix.mcmodel }}" \
91-
"${{ matrix.cflags }}"
92-
9382
- name: Build Clang toolchain
9483
run: |
9584
./build-clang-with-args.sh \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Head over to the
99
[GitHub releases for this repository](https://github.com/lowRISC/lowrisc-toolchains/releases)
1010
for pre-built toolchains.
1111

12-
* A GCC RV32IMC without hardfloat support, targeting [Ibex](https://github.com/lowRISC/ibex/)
13-
* A GCC RV64IMAC, targeting [Muntjac](https://github.com/lowRISC/muntjac)
12+
* Clang RV32IMCB without hardfloat support, targeting [Ibex](https://github.com/lowRISC/ibex/)
13+
* Clang RV64IMAC, targeting [Muntjac](https://github.com/lowRISC/muntjac)
1414

1515
How to do a release
1616
-------------------

build-clang-with-args.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
## build-clang-with-args.sh
77
#
8-
# This requires a gcc toolchain dir made by `build-gcc-with-args.sh`
9-
#
108
# Builds:
119
# - Clang/LLVM
1210
#
@@ -26,10 +24,8 @@ fi;
2624

2725
## Take configuration from arguments
2826
# This is the name for the tar file.
29-
# Suggested to be the gcc config with s/gcc/clang/. Will be updated if it
30-
# contains 'gcc'
3127
toolchain_name="${1}"
32-
# This is the expected gcc target triple (so we can set a default, and invoke gcc)
28+
# This is the expected target triple (so we can set a default)
3329
toolchain_target="${2}"
3430
# This is the directory where we want the toolchain to added to
3531
toolchain_dest="${3}"
@@ -142,7 +138,6 @@ ls -l "${toolchain_dest}"
142138
set +o pipefail # head causes pipe failures, so we have to switch off pipefail while we use it.
143139
ct_ng_version_string="$( (set +o pipefail; ct-ng version | head -n1) )"
144140
clang_version_string="$("${toolchain_dest}/bin/clang" --version | head -n1)"
145-
gcc_version_string="$("${toolchain_dest}/bin/${toolchain_target}-gcc" --version | head -n1)"
146141
build_date="$(date -u)"
147142
set -o pipefail
148143

@@ -156,9 +151,6 @@ Clang version:
156151
${clang_version_string}
157152
(git: ${LLVM_URL} ${LLVM_VERSION})
158153
159-
GCC version:
160-
${gcc_version_string}
161-
162154
Crosstool-ng version:
163155
${ct_ng_version_string}
164156
(git: ${CROSSTOOL_NG_URL} ${CROSSTOOL_NG_VERSION})
@@ -177,7 +169,6 @@ tee "${toolchain_dest}/buildinfo.json" <<BUILDINFO_JSON
177169
"clang_version": "${clang_version_string}",
178170
"clang_url": "${LLVM_URL}",
179171
"clang_git": "${LLVM_VERSION}",
180-
"gcc_version": "${gcc_version_string}",
181172
"crosstool-ng_version": "${ct_ng_version_string}",
182173
"crosstool-ng_url": "${CROSSTOOL_NG_URL}",
183174
"crosstool-ng_git": "${CROSSTOOL_NG_VERSION}",

build-gcc-with-args.sh

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

check-tarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fi
7878
# https://github.com/phusion/holy-build-box/blob/master/ESSENTIAL-SYSTEM-LIBRARIES.md
7979
# for details.
8080

81-
# Clang and GCC link against the following libraries, which must be present at
81+
# Clang links against the following libraries, which must be present at
8282
# runtime:
8383
# - libz.so.1 (zlib)
8484
# - libncursesw.so.5 and libtinfo.so.5 (ncurses5)

generate-gcc-cmake-toolchain.sh

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

0 commit comments

Comments
 (0)