Skip to content

Commit

Permalink
Merge branch 'cuda-12.5' of github.com:bdice/devcontainers into cuda-…
Browse files Browse the repository at this point in the history
…12.5
  • Loading branch information
bdice committed Jul 2, 2024
2 parents d4ef78e + f48ea68 commit 2952af5
Show file tree
Hide file tree
Showing 45 changed files with 92 additions and 27 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/cuda11.8-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda11.8-envs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/.vscode/server ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda11.8-envs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; fi"],
"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/devcontainers,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/.vscode/server,target=/home/coder/.vscode-server,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../rmm,target=/home/coder/rmm,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../kvikio,target=/home/coder/kvikio,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../ucxx,target=/home/coder/ucxx,type=bind,consistency=consistent",
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/cuda11.8-pip/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda11.8-venvs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/.vscode/server ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda11.8-venvs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; fi"],
"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/devcontainers,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/.vscode/server,target=/home/coder/.vscode-server,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../rmm,target=/home/coder/rmm,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../kvikio,target=/home/coder/kvikio,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../ucxx,target=/home/coder/ucxx,type=bind,consistency=consistent",
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/cuda12.0-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda12.0-envs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/.vscode/server ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda12.0-envs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; fi"],
"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/devcontainers,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/.vscode/server,target=/home/coder/.vscode-server,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../rmm,target=/home/coder/rmm,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../kvikio,target=/home/coder/kvikio,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../ucxx,target=/home/coder/ucxx,type=bind,consistency=consistent",
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/cuda12.0-pip/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda12.0-venvs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/.vscode/server ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda12.0-venvs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; fi"],
"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/devcontainers,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/.vscode/server,target=/home/coder/.vscode-server,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../rmm,target=/home/coder/rmm,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../kvikio,target=/home/coder/kvikio,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../ucxx,target=/home/coder/ucxx,type=bind,consistency=consistent",
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/cuda12.2-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda12.2-envs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/.vscode/server ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda12.2-envs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; fi"],
"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/devcontainers,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/.vscode/server,target=/home/coder/.vscode-server,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../rmm,target=/home/coder/rmm,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../kvikio,target=/home/coder/kvikio,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../ucxx,target=/home/coder/ucxx,type=bind,consistency=consistent",
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/cuda12.2-pip/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda12.2-venvs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/.vscode/server ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda12.2-venvs,log/devcontainer-utils} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cuvs,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; fi"],
"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/devcontainers,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/.vscode/server,target=/home/coder/.vscode-server,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../rmm,target=/home/coder/rmm,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../kvikio,target=/home/coder/kvikio,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../ucxx,target=/home/coder/ucxx,type=bind,consistency=consistent",
Expand Down
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# packaging code owners
* @rapidsai/packaging-codeowners
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
/.cache
/.config
/.scratch
/.vscode/server
/features/src/*.[0-9]
1 change: 1 addition & 0 deletions features/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
1 change: 1 addition & 0 deletions features/src/cccl-dev/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/cccl-dev/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "NVIDIA CCCL development utilities",
"id": "cccl-dev",
"version": "24.8.0",
"version": "24.8.1",
"description": "A feature to install NVIDIA CCCL development utilities",
"options": {
"litVersion": {
Expand Down
1 change: 1 addition & 0 deletions features/src/cmake/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/cmake/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "CMake",
"id": "cmake",
"version": "24.8.0",
"version": "24.8.1",
"description": "A feature to install CMake",
"options": {
"version": {
Expand Down
1 change: 1 addition & 0 deletions features/src/cuda/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/cuda/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "CUDA Toolkit",
"id": "cuda",
"version": "24.8.0",
"version": "24.8.1",
"description": "A feature to install the NVIDIA CUDA Toolkit",
"options": {
"version": {
Expand Down
1 change: 1 addition & 0 deletions features/src/gcc/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/gcc/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "GCC",
"id": "gcc",
"version": "24.8.0",
"version": "24.8.1",
"description": "A feature to install gcc",
"options": {
"version": {
Expand Down
1 change: 1 addition & 0 deletions features/src/gitlab-cli/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/gitlab-cli/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "gitlab-cli",
"version": "24.8.0",
"version": "24.8.1",
"name": "GitLab CLI",
"documentationURL": "https://github.com/rapidsai/devcontainers/features/tree/main/src/gitlab-cli",
"description": "Installs the GitLab CLI. Auto-detects latest version and installs needed dependencies.",
Expand Down
1 change: 1 addition & 0 deletions features/src/llvm/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/llvm/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "LLVM compilers and tools",
"id": "llvm",
"version": "24.8.0",
"version": "24.8.1",
"description": "A feature to install LLVM compilers and tools",
"options": {
"version": {
Expand Down
1 change: 1 addition & 0 deletions features/src/mambaforge/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/mambaforge/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Mambaforge",
"id": "mambaforge",
"version": "24.8.0",
"version": "24.8.1",
"description": "A feature to install mambaforge",
"options": {
"version": {
Expand Down
1 change: 1 addition & 0 deletions features/src/ninja/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/ninja/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Ninja build",
"id": "ninja",
"version": "24.8.0",
"version": "24.8.1",
"description": "A feature to install ninja-build",
"options": {
"version": {
Expand Down
1 change: 1 addition & 0 deletions features/src/nvhpc/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/nvhpc/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "NVHPC SDK",
"id": "nvhpc",
"version": "24.8.1",
"version": "24.8.2",
"description": "A feature to install the NVHPC SDK",
"options": {
"version": {
Expand Down
1 change: 1 addition & 0 deletions features/src/oneapi/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/oneapi/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Intel oneapi toolchain",
"id": "oneapi",
"version": "24.8.0",
"version": "24.8.1",
"description": "A feature to install the Intel oneapi toolchain",
"options": {
"version": {
Expand Down
1 change: 1 addition & 0 deletions features/src/openmpi/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/openmpi/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "OpenMPI",
"id": "openmpi",
"version": "24.8.0",
"version": "24.8.1",
"description": "A feature to install OpenMPI with optional CUDA and UCX support",
"options": {
"version": {
Expand Down
1 change: 1 addition & 0 deletions features/src/rapids-build-utils/common/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ EOF
# shellcheck disable=SC2016
for_each_user_bashrc '
if [[ "$(grep -qE "^__bash_prompt\(\) \{$" "$0"; echo $?)" == 0 ]]; then
sed -i "s/\${BRANCH}/\${BRANCH:-}/g" "$0";
sed -i "s/\${GITHUB_USER}/\${GITHUB_USER:-}/g" "$0";
fi
';
2 changes: 1 addition & 1 deletion features/src/rapids-build-utils/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "NVIDIA RAPIDS devcontainer build utilities",
"id": "rapids-build-utils",
"version": "24.8.9",
"version": "24.8.12",
"description": "A feature to install the RAPIDS devcontainer build utilities",
"containerEnv": {
"BASH_ENV": "/etc/bash.bash_env"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,31 @@ make_conda_dependencies() {

if [ -f ~/"${!repo_path}/dependencies.yaml" ]; then

echo "Generating ${!repo_name}'s repo conda env yml" 1>&2;

local repo_keys=("${key[@]}");
local keyi;

for ((keyi=0; keyi < ${#repo_keys[@]}; keyi+=1)); do
local file="/tmp/${!repo_name}.${repo_keys[$keyi]}.env.yaml";
conda_env_yamls+=("${file}");
generate_env_yaml \
"${file}" \
--file-key "${repo_keys[$keyi]}" \
--output conda \
--config ~/"${!repo_path}/dependencies.yaml" \
--matrix "arch=$(uname -m);cuda=${cuda_version};py=${python_version}" \
;
done

local cpp_length="${repo}_cpp_length";

for ((j=0; j < ${!cpp_length:-0}; j+=1)); do
local cpp_name="${repo}_cpp_${j}_name";

echo "Generating lib${!cpp_name}'s conda env yml" 1>&2;

local repo_keys=("${key[@]}" "${key[@]/%/_lib${!cpp_name//"-"/"_"}}");
local repo_keys=("${key[@]/%/_lib${!cpp_name//"-"/"_"}}");
local keyi;

for ((keyi=0; keyi < ${#repo_keys[@]}; keyi+=1)); do
Expand All @@ -100,7 +117,7 @@ make_conda_dependencies() {

echo "Generating ${!py_name}'s conda env yml" 1>&2;

local repo_keys=("${key[@]}" "${key[@]/%/_${!py_name//"-"/"_"}}");
local repo_keys=("${key[@]/%/_${!py_name//"-"/"_"}}");
local keyi;

for ((keyi=0; keyi < ${#repo_keys[@]}; keyi+=1)); do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,31 @@ make_pip_dependencies() {

if [ -f ~/"${!repo_path}/dependencies.yaml" ]; then

echo "Generating ${!repo_name}'s repo requirements.txt" 1>&2;

local repo_keys=("${key[@]}");
local keyi;

for ((keyi=0; keyi < ${#repo_keys[@]}; keyi+=1)); do
local file="/tmp/${!repo_name}.${repo_keys[$keyi]}.requirements.txt";
pip_reqs_txts+=("${file}");
generate_requirements \
"${file}" \
--file-key "${repo_keys[$keyi]}" \
--output requirements \
--config ~/"${!repo_path}/dependencies.yaml" \
--matrix "arch=$(uname -m);cuda=${cuda_version};py=${python_version}" \
;
done

local cpp_length="${repo}_cpp_length";

for ((j=0; j < ${!cpp_length:-0}; j+=1)); do
local cpp_name="${repo}_cpp_${j}_name";

echo "Generating lib${!cpp_name}'s requirements.txt" 1>&2;

local repo_keys=("${key[@]}" "${key[@]/%/_lib${!cpp_name//"-"/"_"}}");
local repo_keys=("${key[@]/%/_lib${!cpp_name//"-"/"_"}}");
local keyi;

for ((keyi=0; keyi < ${#repo_keys[@]}; keyi+=1)); do
Expand All @@ -104,7 +121,7 @@ make_pip_dependencies() {

echo "Generating ${!py_name}'s requirements.txt" 1>&2;

local repo_keys=("${key[@]}" "${key[@]/%/_${!py_name//"-"/"_"}}");
local repo_keys=("${key[@]/%/_${!py_name//"-"/"_"}}");
local keyi;

for ((keyi=0; keyi < ${#repo_keys[@]}; keyi+=1)); do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ repos:
sub_dir: python
depends: [ucxx]
args: {cmake: -DFIND_UCXX_CPP=ON, install: *rapids_build_backend_args}
- name: distributed-ucxx
sub_dir: python/distributed-ucxx
depends: [ucxx]
args: {cmake: -DFIND_UCXX_CPP=ON, install: *rapids_build_backend_args}

- name: kvikio
path: kvikio
Expand Down
Loading

0 comments on commit 2952af5

Please sign in to comment.