Add and enable rv32 ilp32 builds

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2024-04-16 21:38:46 +11:00
parent f723fb81d7
commit 8a9b3d1982
No known key found for this signature in database
GPG key ID: DC2B16215ED5412A
7 changed files with 99 additions and 0 deletions

View file

@ -0,0 +1,14 @@
subarch: rv32_ilp32_musl
target: stage1
version_stamp: @TIMESTAMP@
interpreter: /usr/bin/qemu-riscv32
rel_type: 23.0-musl
profile: default/linux/riscv/23.0/rv32/ilp32/musl
snapshot_treeish: @TREEISH@
source_subpath: 23.0-musl/stage3-rv32_ilp32_musl-latest
compression_mode: pixz
decompressor_search_order: xz bzip2
update_seed: yes
update_seed_command: -uDN @world
portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
portage_prefix: releng

View file

@ -0,0 +1,14 @@
subarch: rv32_ilp32
target: stage1
version_stamp: openrc-@TIMESTAMP@
interpreter: /usr/bin/qemu-riscv32
rel_type: 23.0-default
profile: default/linux/riscv/23.0/rv32/ilp32
snapshot_treeish: @TREEISH@
source_subpath: 23.0-default/stage3-rv32_ilp32-openrc-latest
compression_mode: pixz
decompressor_search_order: xz bzip2
update_seed: yes
update_seed_command: -uDN @world
portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
portage_prefix: releng

View file

@ -0,0 +1,14 @@
subarch: rv32_ilp32
target: stage1
version_stamp: systemd-@TIMESTAMP@
interpreter: /usr/bin/qemu-riscv32
rel_type: 23.0-default
profile: default/linux/riscv/23.0/rv32/ilp32/systemd
snapshot_treeish: @TREEISH@
source_subpath: 23.0-default/stage3-rv32_ilp32-systemd-latest
compression_mode: pixz
decompressor_search_order: xz bzip2
update_seed: yes
update_seed_command: -uDN @world
portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
portage_prefix: releng

View file

@ -0,0 +1,13 @@
subarch: rv32_ilp32_musl
target: stage3
version_stamp: @TIMESTAMP@
interpreter: /usr/bin/qemu-riscv32
rel_type: 23.0-musl
profile: default/linux/riscv/23.0/rv32/ilp32/musl
snapshot_treeish: @TREEISH@
source_subpath: 23.0-musl/stage1-rv32_ilp32_musl-@TIMESTAMP@
compression_mode: pixz
decompressor_search_order: xz bzip2
portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
portage_prefix: releng
binrepo_path: riscv/binpackages/23.0/rv32_ilp32_musl

View file

@ -0,0 +1,13 @@
subarch: rv32_ilp32
target: stage3
version_stamp: openrc-@TIMESTAMP@
interpreter: /usr/bin/qemu-riscv32
rel_type: 23.0-default
profile: default/linux/riscv/23.0/rv32/ilp32
snapshot_treeish: @TREEISH@
source_subpath: 23.0-default/stage1-rv32_ilp32-openrc-@TIMESTAMP@
compression_mode: pixz
decompressor_search_order: xz bzip2
portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
portage_prefix: releng
binrepo_path: riscv/binpackages/23.0/rv32_ilp32

View file

@ -0,0 +1,13 @@
subarch: rv32_ilp32
target: stage3
version_stamp: systemd-@TIMESTAMP@
interpreter: /usr/bin/qemu-riscv32
rel_type: 23.0-default
profile: default/linux/riscv/23.0/rv32/ilp32/systemd
snapshot_treeish: @TREEISH@
source_subpath: 23.0-default/stage1-rv32_ilp32-systemd-@TIMESTAMP@
compression_mode: pixz
decompressor_search_order: xz bzip2
portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
portage_prefix: releng
binrepo_path: riscv/binpackages/23.0/rv32_ilp32

View file

@ -21,6 +21,8 @@ SETS="
multilib_systemd_23 multilib_systemd_23
ilp32d_openrc_23 ilp32d_openrc_23
ilp32d_systemd_23 ilp32d_systemd_23
ilp32_openrc_23
ilp32_systemd_23
lp64d_openrc lp64d_openrc
lp64d_musl lp64d_musl
lp64_openrc lp64_openrc
@ -28,6 +30,7 @@ SETS="
multilib_openrc multilib_openrc
" "
# ilp32d_musl_23 # ilp32d_musl_23
# ilp32_musl_23
SET_lp64d_musl_SPECS="stage1-lp64d-musl.spec stage3-lp64d-musl.spec" SET_lp64d_musl_SPECS="stage1-lp64d-musl.spec stage3-lp64d-musl.spec"
SET_lp64d_openrc_SPECS="stage1-lp64d-openrc.spec stage3-lp64d-openrc.spec" SET_lp64d_openrc_SPECS="stage1-lp64d-openrc.spec stage3-lp64d-openrc.spec"
@ -52,6 +55,10 @@ SET_ilp32d_musl_23_SPECS="rv32_ilp32d/stage1-ilp32d-musl-23.spec rv32_ilp32d/sta
SET_ilp32d_openrc_23_SPECS="rv32_ilp32d/stage1-ilp32d-openrc-23.spec rv32_ilp32d/stage3-ilp32d-openrc-23.spec" SET_ilp32d_openrc_23_SPECS="rv32_ilp32d/stage1-ilp32d-openrc-23.spec rv32_ilp32d/stage3-ilp32d-openrc-23.spec"
SET_ilp32d_systemd_23_SPECS="rv32_ilp32d/stage1-ilp32d-systemd-23.spec rv32_ilp32d/stage3-ilp32d-systemd-23.spec" SET_ilp32d_systemd_23_SPECS="rv32_ilp32d/stage1-ilp32d-systemd-23.spec rv32_ilp32d/stage3-ilp32d-systemd-23.spec"
SET_ilp32_musl_23_SPECS="rv32_ilp32/stage1-ilp32-musl-23.spec rv32_ilp32/stage3-ilp32-musl-23.spec"
SET_ilp32_openrc_23_SPECS="rv32_ilp32/stage1-ilp32-openrc-23.spec rv32_ilp32/stage3-ilp32-openrc-23.spec"
SET_ilp32_systemd_23_SPECS="rv32_ilp32/stage1-ilp32-systemd-23.spec rv32_ilp32/stage3-ilp32-systemd-23.spec"
update_symlinks() { update_symlinks() {
# Symlink the latest stages3 to build from # Symlink the latest stages3 to build from
local d f local d f
@ -111,6 +118,17 @@ post_build() {
upload builds/23.0-musl/stage3-rv32_ilp32d_musl-${TIMESTAMP}*.xz* upload builds/23.0-musl/stage3-rv32_ilp32d_musl-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-musl/stage3-rv32_ilp32d_musl riscv/23.0/rv32_ilp32d_musl upsync_binpackages packages/23.0-musl/stage3-rv32_ilp32d_musl riscv/23.0/rv32_ilp32d_musl
;; ;;
rv32_ilp32/stage3-ilp32-openrc-23.spec)
upload builds/23.0-default/stage3-rv32_ilp32-openrc-${TIMESTAMP}*.xz*
;;
rv32_ilp32/stage3-ilp32-systemd-23.spec)
upload builds/23.0-default/stage3-rv32_ilp32-systemd-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-default/stage3-rv32_ilp32 riscv/23.0/rv32_ilp32
;;
rv32_ilp32/stage3-ilp32-musl-23.spec)
upload builds/23.0-musl/stage3-rv32_ilp32_musl-${TIMESTAMP}*.xz*
upsync_binpackages packages/23.0-musl/stage3-rv32_ilp32_musl riscv/23.0/rv32_ilp32_musl
;;
stage3*openrc.spec) stage3*openrc.spec)
upsync_binpackages packages/default/stage3-rv64_lp64d riscv/20.0/rv64_lp64d upsync_binpackages packages/default/stage3-rv64_lp64d riscv/20.0/rv64_lp64d
upsync_binpackages packages/default/stage3-rv64_lp64 riscv/20.0/rv64_lp64 upsync_binpackages packages/default/stage3-rv64_lp64 riscv/20.0/rv64_lp64