Installation

Currently only installation from the source code is possible.

Supported targets:

  • x86_64-pc-windows-msvc
  • x86_64-pc-linux-gnu
  • x86_64-apple-darwin
  • arm64-apple-darwin (experimental)

Windows

  • Install git
  • Install CMake
  • Install Visual Studio 2022 or MS Build Tools with C/C++ support
  • Download and compile
git clone https://github.com/travisdoor/bl.git
cd bl
mkdir build
cd build
cmake .. -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release
  • Add bin directory to the system PATH.

In Powershell:

[Environment]::SetEnvironmentVariable(
   "Path",
   [Environment]::GetEnvironmentVariable("Path", "User") + ";path\to\bl\bin",
   "User"
)

Linux (Ubuntu)

  • Install needed tools
apt-get install git cmake build-essential llvm-16-dev
  • Download and compile
git clone https://github.com/travisdoor/bl.git
cd bl
mkdir build
cd build
cmake ..
make
  • Add bin directory to the system PATH.
export PATH=$PATH:/path/to/your/bl/bin

macOS

  • Install command line tools xcode-select --install.
  • Install other needed tools using brew brew install git cmake llvm@16.
  • Download and compile
git clone https://github.com/travisdoor/bl.git
cd bl
mkdir build
cd build
cmake ..
make
  • Add bin directory to the system PATH.
export PATH=$PATH:/path/to/your/bl/bin

Warning

ARM support is experimental.