README.md small tweaks

nix
gerard 6 years ago
parent a3e7de7a31
commit f4080676a5

@ -14,6 +14,7 @@ This repository hosts code for generating the SC objects and documentation resou
* [SC Source Code](https://github.com/supercollider/supercollider): this is the only dependency we don't (optionally) manage for you, so there must be a version available to point to when you run, using the CMake Variable `SC_PATH` (see below). It can live anywhere on your file system.
These will be downloaded and configured automatically, unless you pass CMake a source code location on disk for each (see below):
* [Fluid Corpus Manipulation Library]()
* [Eigen](https://gitlab.com/libeigen/eigen) (3.3.5)
* [HISSTools Library](https://github.com/AlexHarker/HISSTools_Library)
@ -34,7 +35,7 @@ This will assemble a clean package in `release-packaging/FluidCorpusManipulation
An alternative to setting up / running CMake directly on the command line is to install the CMake GUI, or use to use the curses gui `ccmake`.
Also, With CMake you have a choice of which build system you use.
Also, with CMake you have a choice of which build system you use.
* The default on macOS and Linux is `Unix Makefiles`. On macOS you can also use Xcode by passing `-GXcode` to CMake when you first run it.
* The default on Windows is the latest version of Visual Studio installed. However, Visual Studio can open CMake files directly as projects, which has some upsides. When used this way, CMake variables have to be set via a JSON file that MSVC will use to configure CMake.
@ -42,6 +43,7 @@ Also, With CMake you have a choice of which build system you use.
## Using Manual Dependencies
In some cases you may want to use your own copies of the required libraries. Unless specified, the build system will download these automatically. To bypass this behaviour, use the following cache variables:
* `FLUID_PATH`: location of the Fluid Corpus Manipulation Library
* `FLUID_PARAMDUMP_PATH`: location of `flucoma_paramdump` repository (e.g. for debugging documentation generation)
* `EIGEN_PATH` location of the Eigen library
@ -58,11 +60,11 @@ To find out which branches / tags / commits of these we use, look in the top lev
## Compiling for different CPUs
The build system generally assumes an x86 cpu with AVX instructions (most modern x86 CPUs). To build on another kind of CPU (e.g. older than 2012) you can use the `FLUID_ARCH` cache variable to pass specific flags to your compiler. For example use `-DFLUID_ARCH=-mnative` to optimize for your particular CPU.
We also have a default set of flags for ARM (with the Bela in mind)
For ARM, we use the following default set of flags (with the Bela in mind):
```
-march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon
```
--
> This project has received funding from the European Research Council (ERC) under the European Unions Horizon 2020 research and innovation programme (grant agreement No 725899).
> This project has received funding from the European Research Council (ERC) under the European Unions Horizon 2020 research and innovation programme (grant agreement No 725899).

Loading…
Cancel
Save