From 35d27293c9f9a055f946cbfd2308c3fda5633c8f Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 5 Nov 2025 11:01:40 -0600 Subject: [PATCH 1/2] Use current system architecture in conda environment creation command This fixes a conda environment creation command to support both `x86_64` and `aarch64` systems. --- BUILD.md | 2 +- CONTRIBUTING.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index 1a24a67b0a..fc9a18912e 100644 --- a/BUILD.md +++ b/BUILD.md @@ -64,7 +64,7 @@ It is recommended to use conda for environment/package management. If doing so, ```bash conda create -n cuml_dev python=3.13 -conda env update -n cuml_dev --file=conda/environments/all_cuda-130_arch-x86_64.yaml +conda env update -n cuml_dev --file=conda/environments/all_cuda-130_arch-$(arch).yaml conda activate cuml_dev ``` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 580c48dcf0..2a76fd9784 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -144,7 +144,7 @@ methods to run clang-tidy on your local machine: using Docker or Conda. 1. Navigate to the repository root directory. 2. Create and activate the needed conda environment: ```bash - conda env create --yes -n cuml-clang-tidy -f conda/environments/clang_tidy_cuda-130_arch-x86_64.yaml + conda env create --yes -n cuml-clang-tidy -f conda/environments/clang_tidy_cuda-130_arch-$(arch).yaml conda activate cuml-clang-tidy ``` 3. Generate the compile command database with From 5fb247bde7ab89c7d1441e485146286c754ee5a3 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 5 Nov 2025 11:51:22 -0600 Subject: [PATCH 2/2] Use uname -m instead of arch command --- BUILD.md | 2 +- CONTRIBUTING.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index fc9a18912e..9bc6bdf52a 100644 --- a/BUILD.md +++ b/BUILD.md @@ -64,7 +64,7 @@ It is recommended to use conda for environment/package management. If doing so, ```bash conda create -n cuml_dev python=3.13 -conda env update -n cuml_dev --file=conda/environments/all_cuda-130_arch-$(arch).yaml +conda env update -n cuml_dev --file=conda/environments/all_cuda-130_arch-$(uname -m).yaml conda activate cuml_dev ``` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2a76fd9784..d6c3b81194 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -144,7 +144,7 @@ methods to run clang-tidy on your local machine: using Docker or Conda. 1. Navigate to the repository root directory. 2. Create and activate the needed conda environment: ```bash - conda env create --yes -n cuml-clang-tidy -f conda/environments/clang_tidy_cuda-130_arch-$(arch).yaml + conda env create --yes -n cuml-clang-tidy -f conda/environments/clang_tidy_cuda-130_arch-$(uname -m).yaml conda activate cuml-clang-tidy ``` 3. Generate the compile command database with