brew install tbb libomp cmake# Ubuntu / Debian
sudo apt install libtbb-dev cmake build-essentialgit clone --recurse-submodules https://github.com/Randy1005/Ink.git
cd InkIf you forgot --recurse-submodules:
git submodule update --init --recursivecmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallelBinaries land in examples/cpathgen/ and build/bin/.
for bm in tv80 aes_core des_perf vga_lcd; do
examples/cpathgen/gen-golden 20000 benchmarks/${bm}.edges golden/${bm}.golden
donerm -f big-table.csv
for bm in tv80 aes_core des_perf vga_lcd; do
examples/cpathgen/big-table 20000 benchmarks/${bm}.edges golden/${bm}.golden
done
cat big-table.csvApple Clang does not ship with OpenMP or parallel STL by default. The CMake build handles both automatically:
- OpenMP: uses Homebrew
libomp(brew install libomp) - Parallel STL (
std::execution::par_unseq): enabled via-D_LIBCPP_ENABLE_EXPERIMENTALand linked againstlibc++experimental.afrom the active SDK — no extra install needed - TBB: uses Homebrew
tbbinstead of the submodule (brew install tbb)