@hrehfeld This is because of the Auto at the start of the pkgbuild:
_CUDA_ARCH="${CUDA_ARCH:-Auto}"
I changed it to:
_CUDA_ARCH="${CUDA_ARCH:-native}"
Or here's documentation on the possible values: https://cmake.org/cmake/help/latest/prop_tgt/CUDA_ARCHITECTURES.html#prop_tgt:CUDA_ARCHITECTURES
Pinned Comments
bartus commented on 2022-03-14 10:33 (UTC)
Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post
bartus commented on 2019-04-10 11:42 (UTC) (edited on 2021-03-16 10:21 (UTC) by bartus)
This package is also hosted on GitHub.
issues
andpatches
at GitHub.Use env vars to control build process:
BUILD_CUDA=ON|OFF
to skip cuda kernel build (default 'ON')CUDA_ARCH="5.2,7.2"
to build for a specific Cuda arch, supports multiple values.MAKEFLAGS="xxx"
to override default make flagsUsage cases:
export BUILD_CUDA=OFF
before buildBUILD_CUDA=OFF ~your-aur-helper~
makepkg BUILD_CUDA=OFF
yay -S colmap-git --mflags "BUILD_CUDA=OFF"
bartus commented on 2017-03-21 11:02 (UTC) (edited on 2017-04-25 08:04 (UTC) by bartus)