Skip to content

Commit

Permalink
Update maa WITH_CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
horror-proton committed Jun 14, 2024
1 parent 8c60de5 commit 3bd3bb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions maa-assistant-arknights-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ source=("MaaAssistantArknights::git+$url.git"
md5sums=('SKIP'
'SKIP')

if ((WITH_GPU)); then
if ((WITH_CUDA)); then
depends+=( cuda )
fi

Expand All @@ -43,8 +43,8 @@ build() {
-Dfastdeploy_BINARY_DIR="$srcdir"/build-FastDeploy
)

if ((WITH_GPU)); then
_cmake_flags+=( -DWITH_GPU=ON -DCUDA_DIRECTORY=/opt/cuda -DCUDA_ARCH_NAME=Auto )
if ((WITH_CUDA)); then
_cmake_flags+=( -DWITH_CUDA=ON -DCUDA_DIRECTORY=/opt/cuda -DCUDA_ARCH_NAME=Auto )
fi

CXXFLAGS+=" -fmacro-prefix-map=$srcdir=${DBGSRCDIR:-/usr/src/debug}/${pkgbase:?}"
Expand Down

0 comments on commit 3bd3bb5

Please sign in to comment.