Skip to content

Building the C Media Driver on macOS

Problem

You want to test the Aeron C Media Driver and other tools, such as AeronStat

Solution

You will need to download the source code from GitHub and build it yourself.

Info

As of 1.36.0 Apple Silicon machines are supported build targets.

Steps for macOS Monterey on Intel machines

After cloning the Aeron repository from GitHub, checkout the latest release branch:

git checkout 1.39.0

Next, install the macOS Developer Tools via the command line in order to get the correct compiler:

xcode-select --install

Next, install CMake from Homebrew:

brew install cmake

Finally, run the build:

./cppbuild/cppbuild

That should build successfully. To confirm, try running Aeron's Media Driver. In the /cppbuild/Release/binaries folder, execute:

./aeronmd -Daeron_print_configuration=true

Other operating systems and macOS versions are likely to have different steps required. See the Aeron homepage for compiler requirements.

See Also