Build proof-of-concept for arm.

This commit is contained in:
Dominik Pantůček 2025-04-08 20:03:24 +02:00
parent 002d677769
commit ec363eaefd
4 changed files with 29 additions and 7 deletions

14
tools/build-in-qemu.sh Normal file
View file

@ -0,0 +1,14 @@
#!/bin/sh
if [ -z "$1" ] ; then
echo "Usage: $0 password"
exit 1
fi
PASS="$1"
rsync -avr -e "sshpass -p$PASS ssh -p 2222" --exclude='*.import.scm' --exclude='*~' backend/*.scm backend/Makefile root@localhost:brminv/backend/
rsync -avr -e "sshpass -p$PASS ssh -p 2222" frontend/dist/* root@localhost:brminv/frontend/dist/
rsync -avr -e "sshpass -p$PASS ssh -p 2222" Makefile root@localhost:brminv/
rsync -avr -e "sshpass -p$PASS ssh -p 2222" --exclude='*~' tools/* root@localhost:brminv/tools/
sshpass -p$PASS ssh -p 2222 root@localhost 'make -C brminv'
sshpass -p$PASS scp -P 2222 root@localhost:brminv/brminv brminv-arm

View file

@ -37,7 +37,10 @@
'()
(cdr args)))))
(define args (get-argv))
(define args0 (get-argv))
(define args (if (null? args0)
'("../frontend/dist" "frontend" "frontend-lookup")
args0))
(when (< (length args) 1)
(display "usage: schemify-tree dir")
(newline)