Package Details: apollo-git 0.4.8.r2.gbf47fca-1

Git Clone URL: https://aur.archlinux.org/apollo-git.git (read-only, click to copy)
Package Base: apollo-git
Description: A self-hosted GameStream server
Upstream URL: https://github.com/ClassicOldSong/Apollo
Licenses: GPL-3.0-only
Conflicts: apollo
Provides: apollo
Submitter: xiota
Maintainer: xiota
Last Packager: xiota
Votes: 2
Popularity: 1.74
First Submitted: 2025-09-09 22:19 (UTC)
Last Updated: 2025-10-15 17:06 (UTC)

Latest Comments

happyme531 commented on 2025-10-15 09:20 (UTC)

Hello,

The PKGBUILD fails to build with CUDA enabled due to a small syntax error when setting the compiler variables.

CMake Error at /usr/share/cmake/Modules/CMakeDetermineCCompiler.cmake:48 (message):   Could not find compiler set in environment variable CC:    gcc-_cuda_gcc_version. Call Stack (most recent call first):   CMakeLists.txt:7 (project)   CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! 

The compiler is incorrectly set to the literal string gcc-_cuda_gcc_version.

Here is a patch to fix it:

--- a/PKGBUILD +++ b/PKGBUILD @@ -93,11 +93,11 @@    export BUILD_VERSION="${pkgver%%.r*}"    export COMMIT="$(git -C "$_pkgsrc" rev-parse HEAD)"  -  export CC="gcc${_cuda_gcc_version:+-_cuda_gcc_version}" -  export CXX="g++${_cuda_gcc_version:+-_cuda_gcc_version}" +  export CC="gcc${_cuda_gcc_version:+-${_cuda_gcc_version}}" +  export CXX="g++${_cuda_gcc_version:+-${_cuda_gcc_version}}"     export CUDA_PATH=/opt/cuda -  export NVCC_CCBIN="/usr/bin/g++${_cuda_gcc_version:+-_cuda_gcc_version}" +  export NVCC_CCBIN="/usr/bin/g++${_cuda_gcc_version:+-${_cuda_gcc_version}}"     local _cmake_options=(      -B build 

Thanks for maintaining the package.