After cloning the repository, update the submodules
git submodule update --init --recursiveInstall Pixi (general):
curl -fsSL https://pixi.sh/install.sh | bashOr via Homebrew (MacOS, takes a while to build deps):
brew install pixi(Homebrew will compile and install if not present: python3.12, python3.13, ninja, llvm and rust)
See pixi.sh/dev/
brew install gcc gfortran cmake
brew install mesa-glupixi installpixi shell
pixi run citysim-build-macosTODO: remove hardcoded path in makefile
pixi shell
mkdir binder_build
cd binder_build
brew link llvm --force
llvm-config --ldflags # outpout to CMAKE_EXE_LINKER_FLAGS
cmake -DCMAKE_INSTALL_PREFIX:PATH=$PIXI_PROJECT_ROOT/.pixi/envs/default/ -DCMAKE_EXE_LINKER_FLAGS="$(llvm-config --ldflags) $(llvm-config --libs)" ../citysim/binder
make
ctest
make install