-
Notifications
You must be signed in to change notification settings - Fork 320
/
devcontainer.json
74 lines (74 loc) · 2.58 KB
/
devcontainer.json
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
72
73
74
{
"build": { "dockerfile": "Dockerfile.llvm-project" },
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"cmake.mergedCompileCommands": "${workspaceFolder}/compile_commands.json",
"cmakeExplorer.suiteDelimiter": ".",
"cmakeExplorer.debugConfig": "(gdb) Launch",
"editor.formatOnSave": true,
"[cpp]": {
"editor.defaultFormatter": "xaver.clang-format",
"editor.tabSize": 2
},
"clangd.path": "/usr/bin/clangd-15",
"clangd.arguments": [
"--background-index",
"-header-insertion=never",
"-j=4"
],
"cmake.buildDirectory": "${workspaceFolder}/build",
"cmake.generator": "Ninja",
"cmake.defaultVariants": {
"buildType": {
"default": "reldeb",
"description": "The build type.",
"choices": {
"debug": {
"short": "Debug",
"long": "Disable optimizations - include debug information.",
"buildType": "Debug"
},
"release": {
"short": "Release",
"long": "Optimize for speed - exclude debug information.",
"buildType": "Release"
},
"minsize": {
"short": "MinSizeRel",
"long": "Optimize for smallest binary size - exclude debug information.",
"buildType": "MinSizeRel"
},
"reldeb": {
"short": "RelWithDebInfo",
"long": "Optimize for speed - include debug information.",
"buildType": "RelWithDebInfo"
}
}
}
}
},
"extensions": [
"llvm-vs-code-extensions.vscode-clangd",
"vadimcn.vscode-lldb",
"ms-vscode.cmake-tools",
"fredericbonnet.cmake-test-adapter",
"twxs.cmake",
"xaver.clang-format",
"notskm.clang-tidy",
"ms-python.python",
"ms-python.vscode-pylance",
"eamodio.gitlens",
"llvm-vs-code-extensions.vscode-mlir",
"cschlosser.doxdocgen",
"chneau.resource-monitor",
"spmeesseman.vscode-taskexplorer",
"edonet.vscode-command-runner"
]
}
},
"workspaceFolder": "${localWorkspaceFolder}",
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind,consistency=cached",
"postAttachCommand": "ONNX_ROOT=third_party/onnx && cd ${ONNX_ROOT} && python3 -m pip install . && cd ../.."
}