2022-07-02 Building Lagrange

Going to run in a few minutes. Quick post!

Whenever I want to upgrade Lagrange, I’m a bit confused. It uses git submodules, CMake instead of GNU make and so it’s super weird for me. I wrote myself a little shell script to handle it. I keep it in my work directory. What do you think?

#!/bin/bash
set -e
git pull --recurse-submodules
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local/stow/lagrange
cmake --build .
make install
cd /usr/local/stow
sudo stow --verbose=2 lagrange

​#Gemini ​#Lagrange