-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always create an extended version of the default devcontainer.
- Loading branch information
1 parent
8b511a9
commit 7abd2c5
Showing
2 changed files
with
61 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"shutdownAction": "stopContainer", | ||
"image": "rapidsai/devcontainers:24.12-cpp-gcc13-cuda12.6ext", | ||
"hostRequirements": { | ||
"gpu": "optional" | ||
}, | ||
"initializeCommand": [ | ||
"/bin/bash", | ||
"-c", | ||
"mkdir -m 0755 -p ${localWorkspaceFolder}/.{aws,cache,config}; mkdir -m 0755 -p ${localWorkspaceFolder}/build;", | ||
"if [[ -n ${WSLENV+set} ]]; then docker volume create cccl-build; else docker volume create --driver local --opt type=none --opt device=${localWorkspaceFolder}/build --opt o=bind cccl-build fi;" | ||
], | ||
"containerEnv": { | ||
"SCCACHE_REGION": "us-east-2", | ||
"SCCACHE_BUCKET": "rapids-sccache-devs", | ||
"AWS_ROLE_ARN": "arn:aws:iam::279114543810:role/nv-gha-token-sccache-devs", | ||
"HISTFILE": "${containerWorkspaceFolder}/.cache/._bash_history", | ||
"DEVCONTAINER_NAME": "cuda12.6-gcc13", | ||
"CCCL_CUDA_VERSION": "12.6", | ||
"CCCL_HOST_COMPILER": "gcc", | ||
"CCCL_HOST_COMPILER_VERSION": "13", | ||
"CCCL_BUILD_INFIX": "cuda12.6-gcc13", | ||
"CCCL_CUDA_EXTENDED": "true" | ||
}, | ||
"workspaceFolder": "/home/coder/${localWorkspaceFolderBasename}", | ||
"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=cccl-build,target=/home/coder/cccl/build" | ||
], | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"llvm-vs-code-extensions.vscode-clangd", | ||
"xaver.clang-format", | ||
"nvidia.nsight-vscode-edition", | ||
"ms-vscode.cmake-tools" | ||
], | ||
"settings": { | ||
"editor.defaultFormatter": "xaver.clang-format", | ||
"editor.formatOnSave": true, | ||
"clang-format.executable": "/usr/bin/clang-format", | ||
"clangd.arguments": [ | ||
"--compile-commands-dir=${workspaceFolder}" | ||
], | ||
"files.eol": "\n", | ||
"files.trimTrailingWhitespace": true | ||
} | ||
} | ||
}, | ||
"name": "cuda12.6-gcc13" | ||
} |
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