-
Notifications
You must be signed in to change notification settings - Fork 318
BuildingSimple
Since release 2.5.18, Faust compilation and installation is based on cmake. For details about compilation, you should look at the build/README.md file.
In order to compile Faust on your machine you can either download the latest release of the source code https://github.com/grame-cncm/faust/releases or clone the git repository. In order to clone the git repository you will have to do the following steps:
git clone https://github.com/grame-cncm/faust.git
cd faust
The Faust libraries have been moved to an independent github repository. This repository is a submodule of the Faust repository (as well as some other Faust related projects). The Oboe project used for the Android architecture, is also used as a submodule (at two different locations in the source tree). These 3 submodules will be downloaded the first time the make
command is used.
To build Faust on MacOSX or Linux, just run the following commands from the root of the distribution:
make
sudo make install
This will compile the Faust compiler only, with a set of backends that do not have additional dependencies (so the LLVM backend will not be compiled). Use make help
to see what other targets can be used from the toplevel Makefile.
To refine compilation for more specific cases, go to the build
folder and see the build/README.md file.
Using the MSYS2 environment, building steps on Windows are similar to Linux and MacOSX:
make
sudo make install
For other environments or options, go to the build
folder and see the build/README.md
Using Visual Studio, in build folder:
./MakeRelease.bat win64
Uninstall old Faust version, install the new one.