@kureta: I've got through magma CMakeLists.txt
and found this one:
build-shared/cmake_install.cmake:if(NOT DEFINED CMAKE_INSTALL_PREFIX)
build-shared/cmake_install.cmake: set(CMAKE_INSTALL_PREFIX "/opt/magma")
Looks like you could have CMAKE_INSTALL_PREFIX
set in your build env to /usr/local
which messes up magma build configuration (in clean chroot this var is empty). I've added this as exception to magma PKGBUILD
. Now it should build fine for you also ;)
Pinned Comments
bartus commented on 2019-04-10 11:40
This is a package is also hosted on GitHub.
Please submit
patches
and reportissues
to alice-vision/github.comTravis CI Status: <img alt="Build Status" src="https://travis-ci.org/bartoszek/AUR-alice-vision.svg?branch=master" />
Use env vars to control build process:
CUDA_ARCH="xx yy"
to build for a specific Cuda arch, supports multiple values.DISABLE_CUDA=1
disable cuda depth map module. (also disables popsift and ute)DISABLE_POPSIFT=1
disable gpu accelerated feature matching.DISABLE_UTE=1
disable gpu accelerated SFM uncertainty calculation.Usage cases:
export DISABLE_CUDA=1
before buildDISABLE_CUDA=1 ~your-aur-helper~
makepkg DISABLE_CUDA=1
yay -S alice-vision --mflags "DISABLE_CUDA=1"
Notice for
Yay
users:Since yay relies solely on
aur-rpc
to solve dependencies instead of callingmakepkg --sync
it can't follow dependencies logic defined inPKGBUILD
. That's why it's up to the user to provide dependencies to enable optional features, otherwisePKGBUILD
will silently skip those features.Optional features:
popsift
: GPU accelerated feature matching.uncertainty-framework
: GPU accelerated SFM uncertainty calculation.cuda
: GPU accelerated depth map calculation.