From 1d3a4dde904348a74416e9bedffd12acdee1ec0e Mon Sep 17 00:00:00 2001 From: Kuhu Shukla Date: Thu, 28 Sep 2023 13:54:21 -0500 Subject: [PATCH 1/2] Building different Cuda versions section profile does not take effect Signed-off-by: Kuhu Shukla --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d6c0933f1f..6540b0748d1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -144,8 +144,8 @@ specifying the environment variable `BUILD_PARALLEL=`. ### Building against different CUDA Toolkit versions -You can build against different versions of the CUDA Toolkit by using one of the following profiles: -* `-Pcuda11` (CUDA 11.0/11.1/11.2, default) +You can build against different versions of the CUDA Toolkit by modifying the variable `cuda.version`: +* `-Dcuda.version=cuda11` (CUDA 11.0/11.1/11.2, default) ### Building a Distribution for a Single Spark Release From 4dd5ea8e9dbdfe0580d902f1a32ecfc78e0358b2 Mon Sep 17 00:00:00 2001 From: Kuhu Shukla Date: Thu, 28 Sep 2023 16:30:42 -0500 Subject: [PATCH 2/2] Address review comments Signed-off-by: Kuhu Shukla --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6540b0748d1..b4d7cc040cf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -145,7 +145,8 @@ specifying the environment variable `BUILD_PARALLEL=`. ### Building against different CUDA Toolkit versions You can build against different versions of the CUDA Toolkit by modifying the variable `cuda.version`: -* `-Dcuda.version=cuda11` (CUDA 11.0/11.1/11.2, default) +* `-Dcuda.version=cuda11` (CUDA 11.x, default) +* `-Dcuda.version=cuda12` (CUDA 12.x) ### Building a Distribution for a Single Spark Release