Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 713 Bytes

File metadata and controls

26 lines (20 loc) · 713 Bytes

To build it, you need a C++20 compiler and cmake. To run the tests, you need Python and nihtest.

The basic way to build Accelerate is

mkdir build
cd build
cmake ..
make
make test
make install

Some useful parameters you can pass to cmake with -Dparameter=value:

  • CMAKE_INSTALL_PREFIX: for setting the installation path

If you want to compile with custom CXXFLAGS, set them in the environment before running cmake:

CXXFLAGS=-DMY_CUSTOM_FLAG cmake ..

You can get verbose build output with by passing VERBOSE=1 to make.

You can also check the cmake FAQ.