Installation🔗
vAccel provides prebuilt binaries for Ubuntu-based systems. If you want to use it with other distributions or build it manually you can follow Building from source.
Binaries🔗
You can get the latest vAccel binary release from the Releases page of the vAccel repository. Releases include DEB packages and binaries for x86_64/aarch64/armv7l Ubuntu-based systems.
Requirements🔗
The prebuilt vAccel binaries depend on libcurl. You can install it with:
DEB🔗
To install the DEB package of the latest vAccel release:
TAR🔗
To install the TAR binary package of the latest vAccel release:
Latest artifacts🔗
You can also find prebuilt artifacts of the latest vAccel revision at:
Building from source🔗
Requirements🔗
vAccel uses the Meson build system and this is the main required dependency to build it. In Debian-based systems, you can install the required build tools with:
Optionally, to support file downloading you need the libcurl development files:
To get working image inference examples you also need the stb header library:
Building the source code🔗
Get the source code:
Build and install all vAccel components in the repository with:
# Configure the build directory.
# Enable all features and set build type to 'release'.
meson setup --buildtype=release -Dauto_features=enabled build
# Compile the project
meson compile -C build
# Install the project to the default directory (/usr/local)
meson install -C build
And you are set to go.
If you want to select which components to build instead, you can continue reading below.
Building the core library🔗
The core library is the only component built by default. To only build the core library replace:
above, with:
Building the plugins🔗
Building of the included plugins is disabled, by default. You can enable building one or more plugins at configuration time by setting the corresponding options.
To build the core library and all of the included plugins, replace:
above, with:
You can also select which plugins to use. For example:
will select the core library and the noop backend plugin.
Building the examples🔗
As with the plugins, building the examples is disabled by default. To build the core library and all of the examples, replace:
above, with:
To view all the available options/values you can use:
vAccel specific options can be found in the Project Options
section.