Skip to content

Install Antelope Toolkit on Mac OS

Nikolaus Heger edited this page Aug 4, 2023 · 4 revisions

Installation on Mac OS X

  1. Clone DUNES repo
  • Grab the latest tag from here https://github.com/AntelopeIO/DUNES/tags
  • Download the zip from the latest tag to install
  • Note: Don't clone the main branch since that may not work - the tagged releases work
  1. Add DUNES repo to path
  1. Run Docker
  2. Docker Settings
  • Go to Docker settings, Make sure file sharing is enabled on '/' (root folder)
  • [Optional] Assign more cores for faster builds under Settings -> Resources
  1. Mac System Settings
  • Go to Privacy and Security -> Full Disk Access, enable for Docker and Terminal
  1. Run dune
dune --version
  • This installs the docker image and proves dune is installed with the version output
  1. In Docker, inspect the file system on the dune container - Click through /host/Users/your_user/... path to your build directory - if you get security warnings and errors, go to back to system settings and make sure full disk access is enabled.
  2. Run build - dune -- (command) runs commands direct on the dune container, or open a terminal window on Docker Desktop on the container, type 'bash', then do the builds directly from there.

Make with Ninja

    • configure cmake and ninja cmake -S . -B ./build -G Ninja
    • on docker container add ninja

apt-get update apt-get install ninja-build

    • run ninja by typing 'ninja'

Wasm opt to reduce the binary size