Hey Derek,
GemmTest is actually a pretty straightforward CMake executable, so you can ignore a bunch of the libjit complexity.  The bits of CMake that are most interesting here are:

the GemmTest definition itself: https://github.com/pytorch/glow/blob/master/tests/unittests/CMakeLists.txt#L129 16

the CPURuntimeNative library which compiles libjit as a typical library: https://github.com/pytorch/glow/blob/master/lib/Backends/CPU/CMakeLists.txt#L65 13


Do note that these targets are disabled when building with MSVC; I don’t remember why since I haven’t built on Windows myself.
Bert