From 8638e2478171b769795fe719912f21cacdd9bd43 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 7 Feb 2023 12:04:54 -0600 Subject: [PATCH 1/3] Add build dependencies to Java tests. --- dependencies.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/dependencies.yaml b/dependencies.yaml index 73206795fdb..0a3a2ce7828 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -28,6 +28,7 @@ files: test_java: output: none includes: + - build - cudatoolkit - test_java test_notebooks: From fc4147711309346ed17fd815e332ee31aaeee78e Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 7 Feb 2023 12:42:33 -0600 Subject: [PATCH 2/3] Just install ninja. --- ci/test_java.sh | 4 +++- dependencies.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/test_java.sh b/ci/test_java.sh index a0ba7c41607..27a1f2aa46f 100755 --- a/ci/test_java.sh +++ b/ci/test_java.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) 2022, NVIDIA CORPORATION. +# Copyright (c) 2022-2023, NVIDIA CORPORATION. set -euo pipefail @@ -13,6 +13,8 @@ rapids-dependency-file-generator \ rapids-mamba-retry env create --force -f env.yaml -n test +export CMAKE_GENERATOR=Ninja + # Temporarily allow unbound variables for conda activation. set +u conda activate test diff --git a/dependencies.yaml b/dependencies.yaml index 0a3a2ce7828..f4591e655a6 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -28,7 +28,6 @@ files: test_java: output: none includes: - - build - cudatoolkit - test_java test_notebooks: @@ -272,6 +271,7 @@ dependencies: packages: - *cmake_ver - maven + - ninja - openjdk=8.* specific: - output_types: conda From cbde66cb755cac5d1f0865eddb21e7b116143619 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 7 Feb 2023 14:08:22 -0600 Subject: [PATCH 3/3] Add full build list again. --- dependencies.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies.yaml b/dependencies.yaml index f4591e655a6..0a3a2ce7828 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -28,6 +28,7 @@ files: test_java: output: none includes: + - build - cudatoolkit - test_java test_notebooks: @@ -271,7 +272,6 @@ dependencies: packages: - *cmake_ver - maven - - ninja - openjdk=8.* specific: - output_types: conda