-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1252 from rapidsai/branch-23.08
[RELEASE] cuspatial v23.08
- Loading branch information
Showing
235 changed files
with
17,970 additions
and
2,359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
# syntax=docker/dockerfile:1.5 | ||
|
||
ARG CUDA=11.8 | ||
ARG CUDA=12.0 | ||
ARG LLVM=16 | ||
ARG RAPIDS=23.06 | ||
ARG RAPIDS=23.08 | ||
ARG DISTRO=ubuntu22.04 | ||
ARG REPO=rapidsai/devcontainers | ||
|
||
ARG PYTHON_PACKAGE_MANAGER=conda | ||
|
||
FROM ${REPO}:${RAPIDS}-cpp-llvm${LLVM}-cuda${CUDA}-${DISTRO} as pip-base | ||
|
||
FROM ${REPO}:${RAPIDS}-cpp-llvm${LLVM}-cuda${CUDA}-mambaforge-${DISTRO} as conda-base | ||
FROM ${REPO}:${RAPIDS}-cpp-mambaforge-${DISTRO} as conda-base | ||
|
||
COPY --from=pip-base /etc/skel/.config/clangd/config.yaml /etc/skel/.config/clangd/config.yaml | ||
|
||
FROM ${PYTHON_PACKAGE_MANAGER}-base | ||
|
||
ARG CUDA | ||
ENV CUDAARCHS="RAPIDS" | ||
ENV CUDA_VERSION="${CUDA_VERSION:-${CUDA}}" | ||
|
||
ARG PYTHON_PACKAGE_MANAGER | ||
ENV PYTHON_PACKAGE_MANAGER="${PYTHON_PACKAGE_MANAGER}" | ||
|
||
USER coder | ||
|
||
RUN /bin/bash -c 'mkdir -m 0755 -p ~/.{aws,cache,conda,config/pip,local}' | ||
|
||
WORKDIR /home/coder/ | ||
|
||
ENV PYTHONSAFEPATH="1" | ||
ENV PYTHONUNBUFFERED="1" | ||
ENV PYTHONDONTWRITEBYTECODE="1" | ||
|
||
ENV SCCACHE_REGION="us-east-2" | ||
ENV SCCACHE_BUCKET="rapids-sccache-devs" | ||
ENV VAULT_HOST="https://vault.ops.k8s.rapids.ai" | ||
|
||
ENV HISTFILE="/home/coder/.cache/._bash_history" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
95 changes: 95 additions & 0 deletions
95
.devcontainer/conda/single/.devcontainer/devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
"shutdownAction": "stopContainer", | ||
|
||
"build": { | ||
"context": "${localWorkspaceFolder}/.devcontainer", | ||
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile", | ||
"args": { | ||
"CUDA": "12.0", | ||
"LLVM": "16", | ||
"PYTHON_PACKAGE_MANAGER": "conda" | ||
} | ||
}, | ||
"hostRequirements": { | ||
"gpu": true | ||
}, | ||
|
||
"features": { | ||
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils:23.8": {} | ||
}, | ||
|
||
"overrideFeatureInstallOrder": [ | ||
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils" | ||
], | ||
|
||
"initializeCommand": [ | ||
"/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}/single}" | ||
], | ||
|
||
"updateContentCommand": [ | ||
"/bin/bash", | ||
"-c", | ||
"mkdir -m 0755 -p ~/.config/clangd && cp -n /etc/skel/.config/clangd/config.yaml ~/.config/clangd/config.yaml" | ||
], | ||
|
||
"containerEnv": { | ||
"DEFAULT_CONDA_ENV": "rapids" | ||
}, | ||
|
||
"workspaceFolder": "/home/coder", | ||
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/${localWorkspaceFolderBasename},type=bind,consistency=consistent", | ||
"mounts": [ | ||
"source=${localWorkspaceFolder}/../.aws,target=/home/coder/.aws,type=bind,consistency=consistent", | ||
"source=${localWorkspaceFolder}/../.cache,target=/home/coder/.cache,type=bind,consistency=consistent", | ||
"source=${localWorkspaceFolder}/../.config,target=/home/coder/.config,type=bind,consistency=consistent", | ||
"source=${localWorkspaceFolder}/../.conda/pkgs,target=/home/coder/.conda/pkgs,type=bind,consistency=consistent", | ||
"source=${localWorkspaceFolder}/../.conda/${localWorkspaceFolderBasename}/single,target=/home/coder/.conda/envs,type=bind,consistency=consistent" | ||
], | ||
|
||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"llvm-vs-code-extensions.vscode-clangd", | ||
"mutantdino.resourcemonitor", | ||
"ms-vscode.cpptools", | ||
"nvidia.nsight-vscode-edition", | ||
"seaube.clangformat", | ||
"tamasfe.even-better-toml" | ||
], | ||
"settings": { | ||
"C_Cpp.vcpkg.enabled": false, | ||
"C_Cpp.formatting": "disabled", | ||
"C_Cpp.autocomplete": "disabled", | ||
"C_Cpp.errorSquiggles": "disabled", | ||
"C_Cpp.intelliSenseEngine": "disabled", | ||
"C_Cpp.configurationWarnings": "disabled", | ||
"C_Cpp.autoAddFileAssociations": false, | ||
"clang-format.fallbackStyle": "none", | ||
"files.trimFinalNewlines": true, | ||
"files.insertFinalNewline": true, | ||
"files.trimTrailingWhitespace": true, | ||
"files.associations": { | ||
"*.cu": "cuda-cpp", | ||
"*.cuh": "cuda-cpp", | ||
"**/libcudacxx/include/**/*": "cpp", | ||
"**/libcudacxx-src/include/**/*": "cpp" | ||
}, | ||
"files.watcherExclude": { | ||
"**/build/**": true, | ||
"**/_skbuild/**": true, | ||
"**/target/**": true | ||
}, | ||
"python.linting.flake8Enabled": true, | ||
"[c]": { | ||
"editor.defaultFormatter": "seaube.clangformat" | ||
}, | ||
"[cpp]": { | ||
"editor.defaultFormatter": "seaube.clangformat" | ||
}, | ||
"[cuda-cpp]": { | ||
"editor.defaultFormatter": "seaube.clangformat" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.