forked from NVIDIA/cccl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
71 lines (71 loc) · 2.98 KB
/
devcontainer.json
File metadata and controls
71 lines (71 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"shutdownAction": "stopContainer",
"image": "rapidsai/devcontainers:latest-cpp-llvm14-cuda12.0",
"runArgs": [
"--init",
"--name",
"${localEnv:USER:anon}-${localWorkspaceFolderBasename}-cuda12.0-llvm14"
],
"hostRequirements": {
"gpu": "optional"
},
"initializeCommand": [
"/bin/bash",
"-c",
"set -euo pipefail; mkdir -m 0755 -p \"${localWorkspaceFolder}\"/.{aws,cache,config}; mkdir -m 0755 -p \"${localWorkspaceFolder}\"/{build,wheelhouse}; if test -z \"${localEnv:WSLENV}\"; then docker volume create --driver local --opt type=none --opt \"device=${localWorkspaceFolder}/build\" --opt o=bind cccl-build >/dev/null; docker volume create --driver local --opt type=none --opt \"device=${localWorkspaceFolder}/wheelhouse\" --opt o=bind cccl-wheelhouse >/dev/null; else docker volume create cccl-build >/dev/null; docker volume create cccl-wheelhouse >/dev/null; fi;"
],
"postAttachCommand": [
"/bin/bash",
"-c",
"if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; fi"
],
"containerEnv": {
"SCCACHE_REGION": "us-east-2",
"SCCACHE_BUCKET": "rapids-sccache-devs",
"SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE": "true",
"SCCACHE_S3_PREPROCESSOR_CACHE_KEY_PREFIX": "cccl-preprocessor-cache",
"AWS_ROLE_ARN": "arn:aws:iam::279114543810:role/nv-gha-token-sccache-devs",
"HISTFILE": "${containerWorkspaceFolder}/.cache/._bash_history",
"DEVCONTAINER_NAME": "cuda12.0-llvm14",
"DEVCONTAINER_UTILS_ENABLE_SCCACHE_DIST": "1",
"CCCL_CUDA_VERSION": "12.0",
"CCCL_HOST_COMPILER": "llvm",
"CCCL_HOST_COMPILER_VERSION": "14",
"CCCL_BUILD_INFIX": "cuda12.0-llvm14",
"CCCL_CUDA_EXTENDED": "false",
"HOST_WORKSPACE": "${localWorkspaceFolder}"
},
"workspaceFolder": "/home/coder/cccl",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/cccl,type=bind",
"mounts": [
"source=/etc/timezone,target=/etc/timezone,type=bind",
"source=/etc/localtime,target=/etc/localtime,type=bind",
"source=${localWorkspaceFolder}/.aws,target=/home/coder/.aws,type=bind",
"source=${localWorkspaceFolder}/.cache,target=/home/coder/.cache,type=bind",
"source=${localWorkspaceFolder}/.config,target=/home/coder/.config,type=bind",
"source=cccl-build,target=/home/coder/cccl/build",
"source=cccl-wheelhouse,target=/home/coder/cccl/wheelhouse"
],
"customizations": {
"vscode": {
"extensions": [
"llvm-vs-code-extensions.vscode-clangd",
"seaube.clangformat",
"nvidia.nsight-vscode-edition",
"ms-vscode.cmake-tools"
],
"settings": {
"editor.defaultFormatter": "seaube.clangformat",
"editor.formatOnSave": true,
"clang-format.executable": "/usr/bin/clang-format",
"clangd.arguments": [
"--header-insertion=never",
"--compile-commands-dir=${workspaceFolder}"
],
"files.eol": "\n",
"files.trimTrailingWhitespace": true
}
}
},
"name": "cuda12.0-llvm14"
}