[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 08/27: Add RISCV to CI and makefile
From: |
Andy Wingo |
Subject: |
[Guile-commits] 08/27: Add RISCV to CI and makefile |
Date: |
Wed, 29 Jan 2025 10:52:58 -0500 (EST) |
wingo pushed a commit to branch main
in repository guile.
commit 797fe5067c41869070b339f0a653f1af3a759335
Author: Ekaitz Zarraga <ekaitz@elenq.tech>
AuthorDate: Wed Jan 19 11:09:20 2022 +0100
Add RISCV to CI and makefile
---
.gitlab-ci.yml | 8 ++++++++
tests/Makefile | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a5e8694bf..449fdcd2d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,7 @@ before_script:
- dpkg --add-architecture i386
- dpkg --add-architecture arm64
- dpkg --add-architecture armhf
+ - dpkg --add-architecture riscv64
- apt-get update -qq
- apt-get install -y
libc6-dev:amd64 gcc make
@@ -11,8 +12,10 @@ before_script:
gcc-i686-linux-gnu libc6-dev-i386-cross libc6:i386
gcc-aarch64-linux-gnu libc6-dev-arm64-cross libc6:arm64
gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6:armhf
+ gcc-riscv64-linux-gnu libc6-dev-riscv64-cross libc6:riscv64
- update-binfmts --enable qemu-aarch64
- update-binfmts --enable qemu-arm
+ - update-binfmts --enable qemu-riscv64
x86-64:
stage: test
@@ -38,3 +41,8 @@ armhf-thumb:
stage: test
script:
- make -C tests test-armv7 CC_ARMv7="arm-linux-gnueabihf-gcc -mthumb"
+
+riscv:
+ stage: test
+ script:
+ - make -C tests test-riscv CC_RISCV="riscv64-linux-gnu-gcc"
diff --git a/tests/Makefile b/tests/Makefile
index 5c44bceae..271f3e403 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -14,7 +14,8 @@ TARGETS ?= native ia32 aarch64 armv7 riscv
# libc6-dev:amd64 gcc make \
# qemu binfmt-support qemu-user-static \
# gcc-i686-linux-gnu libc6-dev-i386-cross libc6:i386 \
-# gcc-aarch64-linux-gnu libc6-dev-arm64-cross libc6:arm64
+# gcc-aarch64-linux-gnu libc6-dev-arm64-cross libc6:arm64\
+# gcc-riscv64-linux-gnu libc6-dev-riscv64-cross libc6:riscv64
#
CC = gcc
CC_IA32 ?= guix environment --pure -s i686-linux --ad-hoc gcc-toolchain -- gcc
- [Guile-commits] 26/27: Merge branch 'main' into 'main', (continued)
- [Guile-commits] 26/27: Merge branch 'main' into 'main', Andy Wingo, 2025/01/29
- [Guile-commits] 07/27: RISC-V Support, Andy Wingo, 2025/01/29
- [Guile-commits] 14/27: riscv: fix the B and J type size check, Andy Wingo, 2025/01/29
- [Guile-commits] 11/27: riscv: Pack the veneer struct, Andy Wingo, 2025/01/29
- [Guile-commits] 22/27: riscv: fix hi20/lo12 calculations for negative numbers, Andy Wingo, 2025/01/29
- [Guile-commits] 24/27: riscv: float/double call convention implementation, Andy Wingo, 2025/01/29
- [Guile-commits] 05/27: Merge branch 'reinterpret' into 'main', Andy Wingo, 2025/01/29
- [Guile-commits] 02/27: aarch64: Fix duplicate declaration, Andy Wingo, 2025/01/29
- [Guile-commits] 15/27: riscv: add get_callr_temp, Andy Wingo, 2025/01/29
- [Guile-commits] 21/27: riscv: better `movi`, Andy Wingo, 2025/01/29
- [Guile-commits] 08/27: Add RISCV to CI and makefile,
Andy Wingo <=
- [Guile-commits] 20/27: riscv: movi: use addiw in RV64, Andy Wingo, 2025/01/29
- [Guile-commits] 01/27: Fix some problems with callr and calli., Andy Wingo, 2025/01/29
- [Guile-commits] 27/27: Merge remote-tracking branch 'lightening/main', Andy Wingo, 2025/01/29
- [Guile-commits] 19/27: riscv: movi: sign extend hi, Andy Wingo, 2025/01/29
- [Guile-commits] 13/27: riscv: clean patch jumps, Andy Wingo, 2025/01/29