Something seems to be wrong in the makefile: nvcc fatal : Unsupported gpu architecture 'compute_20' CMake Error at pba_generated_ProgramCU.cu.o.Release.cmake:219 (message): Error generating /tmp/yaourt-tmp-herbert/aur-colmap-git/src/build/lib/PBA/CMakeFiles/pba.dir//./pba_generated_ProgramCU.cu.o
full log: http://ix.io/1Bi8
Pinned Comments
bartus commented on 2019-04-10 11:42 (UTC) (edited on 2026-04-29 21:18 (UTC) by bartus)
This package is also hosted on GitHub.
issuesandpatchesat GitHub.Use env vars to control build process:
BUILD_CUDA=ON|OFFto skip cuda kernel build (default 'ON')CUDA_ARCH="5.2,7.2"to build for a specific Cuda arch, supports multiple values.CMAKE_FLAGS="xxx:yyy"to add extra CMake switches (colon-separated list)Usage cases:
export BUILD_CUDA=OFFbefore buildBUILD_CUDA=OFF ~your-aur-helper~makepkg BUILD_CUDA=OFFyay -S colmap-git --mflags "BUILD_CUDA=OFF"