This repository contains extra dependencies required to setup a whole development environment for NVIDIA DALI project.
To obtain only the required code for DALI build (without unnecessary git history) please:
git clone https://github.com/NVIDIA/DALI_deps
git submodule init
git submodule update --depth 1 --recursive
The repository consists mostly of externally hosted subrepositories:
In order to conduct Bare Metal DALI build,
you need to install all the above dependencies (or turn off particular features with CMake variables like BUILD_NVDEC=OFF
etc...).
build_scripts
folder contains the recipes, how to build every particular dependency.
This is automated using build_deps.sh
, which will build all the dependencies and install them to the local environment. We recommend not
running this script as sudo. Instead, you can specify a prefix path:
`
export HOST_INSTALL_PREFIX=$HOME/prefix/
export PATH=$HOME/prefix/bin:$PATH
export LD_LIBRARY_PATH=$HOME/prefix/lib:$LD_LIBRARY_PATH
export CPATH=$HOME/prefix/include:$CPATH
bash -ex build_scripts/build_deps.sh
`