Snowfox Build Guide
Requirement
- Platform
- x86-64 GNU/Linux
- Hardware
- some CPU cores (typically 4 or more)
- 24GB RAM at least (due to the notorious
gkrust) - 32GB RAM recommended (no need for swap space)
- 30GB disk space (SSD recommended)
- 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 you have less than 24GB RAM and the build fails due to OOM killer (9 SIGKILL), try to
Build
Source
sh
git clone https://github.com/Heptazhou/Snowfox.git
cd Snowfox/Source
julia l10n.jl fetch unpack patch build clean
julia make.jl fetch unpack patch build clean1
2
3
4
2
3
4
Arch
sh
git clone https://github.com/0h7z/Snowfox.git
cd Snowfox/Arch
# WIP1
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 -q` && docker cp $id:pkg . && docker rm $id
# optionally
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