[jvm-package] Clean up the legacy gpu support tests (#7523)

This commit is contained in:
Bobby Wang
2021-12-21 09:15:51 +08:00
committed by GitHub
parent 59bd1ab17e
commit e8c1eb99e4
6 changed files with 10 additions and 101 deletions

View File

@@ -9,8 +9,7 @@ gpu_arch=$3
gpu_options=""
if [ "x$use_cuda" == "x-Duse.cuda=ON" ]; then
# Since building jvm for CPU will do unit tests, choose gpu-with-gpu-tests profile to build
gpu_options="$use_cuda -Pgpu-with-gpu-tests "
gpu_options="$use_cuda -Pgpu"
fi
# Initialize local Maven repository