Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 754 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 754 Bytes

Building

A minimally configured build using ninja:

$ mkdir build
$ cd build
$ cmake -GNinja $PATH_TO_SOURCES
$ ninja       # build project
$ ninja test  # run tests

Relevant CMake Variables

  • -DCMAKE_BUILD_TYPE: set to a value that matches your use case, e.g., Debug or RelWithDebInfo (upstream docs)
  • -DLLVM_DIR: the location of your (preferred) LLVM installation, e.g., $(llvm-config-${LLVM} --libdir)

Suggested LLVM Version

LLVM >= 18 is currently suggested.

LLVM < 18 has a known issue with __attributes__ attached to variables (e.g., __attribute__((unused))). Norman does include a workaround for the most common variant of this issue.