Skip to content

Building

Stéphane Letz edited this page Aug 17, 2021 · 9 revisions

Compiling the FAUST project: advanced settings.

Prerequisites

  • you must have cmake version 3.7.2 or greater installed.
  • you must have LLVM version 8.0 or greater installed to compile the LLVM backend.
  • you must have libmicrohttpd installed to compile the http library.

The FAUST compilation process is based on cmake since version 2.5.23. Cmake offers a great flexibility, both in defining the targets to be compiled as well as selecting the different backends to be included in each target. However, this flexibility is based on a set of states (cached by cmake), which can sometimes make the compilation process a bit obscure. To understand how the different generation steps work, it is recommended to read the next sections.

Note that a standard Makefile is provided, that is actually an overlay over cmake. Thus you can use the make commands as well as cmake commands, the latter providing more control over the building steps.

Tools

Assuming you have compiled and installed the LLVM backend (so using make developer or make all for instance), you can compile and install additional tools by doing:

  • make benchmark && sudo make devinstall in the Faust folder
Clone this wiki locally