Build riscv64 lp64d musl
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
parent
57d40dc2fa
commit
337f8feec7
14
releases/specs-qemu/riscv/stage1-lp64d-musl.spec
Normal file
14
releases/specs-qemu/riscv/stage1-lp64d-musl.spec
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
subarch: rv64_lp64d
|
||||||
|
target: stage1
|
||||||
|
version_stamp: musl-@TIMESTAMP@
|
||||||
|
interpreter: /usr/bin/qemu-riscv64
|
||||||
|
rel_type: musl
|
||||||
|
profile: default/linux/riscv/20.0/rv64gc/lp64d/musl
|
||||||
|
snapshot: @TIMESTAMP@
|
||||||
|
source_subpath: musl/stage3-rv64_lp64d-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
|
12
releases/specs-qemu/riscv/stage3-lp64d-musl.spec
Normal file
12
releases/specs-qemu/riscv/stage3-lp64d-musl.spec
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
subarch: rv64_lp64d
|
||||||
|
target: stage3
|
||||||
|
version_stamp: musl-@TIMESTAMP@
|
||||||
|
interpreter: /usr/bin/qemu-riscv64
|
||||||
|
rel_type: musl
|
||||||
|
profile: default/linux/riscv/20.0/rv64gc/lp64d/musl
|
||||||
|
snapshot: @TIMESTAMP@
|
||||||
|
source_subpath: musl/stage1-rv64_lp64d-musl-@TIMESTAMP@
|
||||||
|
compression_mode: pixz
|
||||||
|
decompressor_search_order: xz bzip2
|
||||||
|
portage_confdir: @REPO_DIR@/releases/portage/stages-qemu
|
||||||
|
portage_prefix: releng
|
|
@ -11,6 +11,7 @@ SPECS_DIR=${REPO_DIR}/releases/specs-qemu/riscv
|
||||||
EMAIL_SUBJECT_PREPEND="[riscv-qemu-auto]"
|
EMAIL_SUBJECT_PREPEND="[riscv-qemu-auto]"
|
||||||
|
|
||||||
SETS="
|
SETS="
|
||||||
|
lp64d_musl
|
||||||
lp64d_openrc
|
lp64d_openrc
|
||||||
lp64d_systemd
|
lp64d_systemd
|
||||||
lp64_openrc
|
lp64_openrc
|
||||||
|
@ -19,6 +20,7 @@ SETS="
|
||||||
multilib_systemd
|
multilib_systemd
|
||||||
"
|
"
|
||||||
|
|
||||||
|
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"
|
||||||
SET_lp64d_systemd_SPECS="stage1-lp64d-systemd.spec stage3-lp64d-systemd.spec"
|
SET_lp64d_systemd_SPECS="stage1-lp64d-systemd.spec stage3-lp64d-systemd.spec"
|
||||||
SET_lp64_openrc_SPECS="stage1-lp64-openrc.spec stage3-lp64-openrc.spec"
|
SET_lp64_openrc_SPECS="stage1-lp64-openrc.spec stage3-lp64-openrc.spec"
|
||||||
|
@ -29,7 +31,7 @@ SET_multilib_systemd_SPECS="stage1-multilib-systemd.spec stage3-multilib-systemd
|
||||||
update_symlinks() {
|
update_symlinks() {
|
||||||
# Symlink the latest stages3 to build from
|
# Symlink the latest stages3 to build from
|
||||||
local d f
|
local d f
|
||||||
for d in "${BUILD_SRCDIR_BASE}/builds/default" ; do
|
for d in "${BUILD_SRCDIR_BASE}/builds/default" "${BUILD_SRCDIR_BASE}/builds/musl" ; do
|
||||||
pushd "${d}" >/dev/null
|
pushd "${d}" >/dev/null
|
||||||
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
|
for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do
|
||||||
local of=$(echo "${f}" | convert_filename)
|
local of=$(echo "${f}" | convert_filename)
|
||||||
|
@ -43,11 +45,21 @@ post_build() {
|
||||||
local set=$1 spec=$2
|
local set=$1 spec=$2
|
||||||
|
|
||||||
case ${spec} in
|
case ${spec} in
|
||||||
stage3*.spec)
|
stage3*openrc.spec)
|
||||||
pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null
|
pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null
|
||||||
upload stage3-rv64_$(echo ${spec}|sed -e 's:^stage3-::g' -e 's:\.spec$::g')-${TIMESTAMP}*.xz*
|
upload stage3-rv64_$(echo ${spec}|sed -e 's:^stage3-::g' -e 's:\.spec$::g')-${TIMESTAMP}*.xz*
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
;;
|
;;
|
||||||
|
stage3*systemd.spec)
|
||||||
|
pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null
|
||||||
|
upload stage3-rv64_$(echo ${spec}|sed -e 's:^stage3-::g' -e 's:\.spec$::g')-${TIMESTAMP}*.xz*
|
||||||
|
popd >/dev/null
|
||||||
|
;;
|
||||||
|
stage3*musl.spec)
|
||||||
|
pushd "${BUILD_SRCDIR_BASE}/builds/musl" >/dev/null
|
||||||
|
upload stage3-rv64_$(echo ${spec}|sed -e 's:^stage3-::g' -e 's:\.spec$::g')-${TIMESTAMP}*.xz*
|
||||||
|
popd >/dev/null
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Finished ${spec}"
|
echo "Finished ${spec}"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue