Snowfox Build Guide
Requirement
- Platform
- x86-64 GNU/Linux
- Hardware
- some good CPU cores
- 15GB free RAM at least (due to the notorious
gkrust
) - 30GB free disk space or more
- Software
Note: Make sure the Docker storage driver is overlay2
rather than vfs
, otherwise, you better have unlimited disk space. (Check it with command docker info
. Other storage drivers like btrfs
or zfs
have not been tested, practicality unknown.)
PS: If build fails due to OOM killer (SIGKILL) or freezes due to OOM, try to
Build
Source
sh
git clone https://github.com/Heptazhou/Snowfox.git
# OR
git clone https://github.com/0h7z/Snowfox.git
cd Snowfox/Source
julia make.jl check
julia make.jl all clean
1
2
3
4
5
6
7
2
3
4
5
6
7
Arch
sh
git clone https://github.com/0h7z/Snowfox.git
cd Snowfox/Arch
# WIP
1
2
3
2
3
Windows
sh
git clone https://github.com/0h7z/Snowfox.git
cd Snowfox/Windows
docker build -t snowfox:win-arch -< win-arch.dockerfile
docker build -t snowfox:win-base -< win-base.dockerfile
docker build -t snowfox:win-make -< win-make.dockerfile
id=`docker create snowfox:win-make` && docker cp $id:pkg . -q && docker rm $id && julia move.jl /
# optional
docker images
docker system prune [-af]
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10