diff options
author | bartus | 2021-08-10 21:29:37 +0200 |
---|---|---|
committer | bartus | 2021-08-10 22:53:28 +0200 |
commit | 0365a8923ac4bee90e7d96cdc7df388215c936c4 (patch) | |
tree | 37ade5f0eacbbc564bf0ca26fb529a0c6e3cdb9b | |
parent | feecf265f06be1711cf1898f25d903b7f2aa13b0 (diff) | |
download | aur-0365a8923ac4bee90e7d96cdc7df388215c936c4.tar.gz |
Drop error and hard-code env vars relations
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -12,11 +12,10 @@ [[ -v CUDA_ARCH ]] && _cuda_arch="-DALICEVISION_CUDA_CC_LIST=${CUDA_ARCH}" -((DISABLE_CUDA)) && _use_cuda=OFF || _use_cuda=ON # Alow user to build without cuda ((DISABLE_CUDA)) && eval DISABLE_{CCTAG,POPSIFT,UTE}=1 # Disable other components that requires cuda +((DISABLE_OPENCV)) && DISABLE_CCTAG=1 # CCTag requires OpenCV +((DISABLE_CUDA)) && _use_cuda=OFF || _use_cuda=ON # Alow user to build without cuda ((DISABLE_CCTAG)) && _use_cctag=OFF || _use_cctag=ON # Disable CCTag (require: cuda) -#((!DISABLE_CCTAG)) && DISABLE_OPENCV=0 # CCTag requires OpenCV"" -((DISABLE_OPENCV)) &&((!DISABLE_CCTAG))&&{ echo "error:CCTag requires OpenCV" >&2; exit 1; } ((DISABLE_POPSIFT)) && _use_popsift=OFF || _use_popsift=ON # Disable Popsift (requires: cuda) ((DISABLE_UTE)) && _use_ute=OFF || _use_ute=ON # Disable Uncertainty computation (require: cuda) ((DISABLE_ALEMBIC)) && _use_alembic=OFF || _use_alembic=ON # Disable Alembic (mesh export format) |