Skip to content

Sam-nankai/rootfs-unixbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

将镜像打包后,在Starry启动运行如下命令:

# 配置DNS,不然可能连不上网
echo "nameserver 8.8.8.8" > /etc/resolv.conf
# 手动下载依赖
apk add --no-cache perl make gcc g++ libc-dev binutils linux-headers
# 进入UnixBench,测试运行,这里跳过了一些可能会崩溃的测试程序
cd /root/UnixBench
export UB_BINDIR=/root/UnixBench/pgms
./Run dhry2reg whetstone-double syscall pipe context1 spawn \
      fstime-w fstime-r fstime fsbuffer-w fsbuffer-r fsbuffer \
      fsdisk-w fsdisk-r fsdisk

About

For the aarch64 architecture, the make, gcc, g++, and perl environments have been configured for the Alpine root filesystem, and the cross-compiled UnixBench has been placed in the root directory.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors