Skip to content
srg-imperialPublic

About

Norman, a C language normalizer

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

110 Commits

Folders and files

Repository files navigation

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.

About

Norman, a C language normalizer

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages