Files
github-actions[bot] f8e13417f2 sunnypilot v2026.003.000 release
date: 2026-08-15T14:20:10
master commit: d48cfa730bf21593b684efeaf3fd8940695e1dea
2026-08-15 14:20:16 +08:00

14 lines
515 B
Bash
Executable File

#!/bin/bash -e
cd /tmp
brew install cmake ninja llvm@15 zlib glew flex bison boost zstd ncurses
if [ ! -d "gpuocelot" ]; then
git clone --recurse-submodules https://github.com/gpuocelot/gpuocelot.git --depth 1
fi
cd gpuocelot/ocelot
git checkout b16039dc940dc6bc4ea0a98380495769ff35ed99
mkdir -p build
cd build
cmake .. -Wno-dev -G Ninja -DOCELOT_BUILD_TOOLS=OFF -DCMAKE_BUILD_ALWAYS=0 -DBUILD_TESTS_CUDA=OFF -DBISON_EXECUTABLE=/opt/homebrew/opt/bison/bin/bison
ninja
sudo cp libgpuocelot.dylib /usr/local/lib/