Below are the instructions on how you can build Spiderfire.
All instructions here assume you have installed rustup
, rustc
and cargo
.
Refer to https://rustup.rs/ for installation instructions.
-
Download and unzip MozTools 4.0 to
C:\moztools-4.0
. -
Download and install LLVM for Windows (64 bit) from LLVM Releases.
- Note: When installing LLVM, choose to add LLVM to the system path.
-
Follow the instructions at Just Installation.
-
Set Environment Variables
Powershell:.\build.ps1
Command Prompt:
build.bat
-
Build with Cargo
just build
-
Install Xcode command line tools, if you haven't.
xcode-select --install
-
Install Build Dependencies.
brew install python3 llvm pkg-config make just
-
Build with Cargo
CC=clang CXX=clang++ just build
-
Install Build Dependencies.
sudo apt install -y python3 python3-distutils autoconf2.13 clang llvm make pkg-config zlib1g-dev
-
Follow the instructions at Just Installation.
-
Build with Cargo
CC=clang CXX=clang++ just build