-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gcc13, clang17, clang18 to CI (#1757)
* Update matrix.yaml * Update devcontainers. * Remove clang18 * Do not check the cuda version in lit We want to test exactly that version for a reason * Remove duplicated job Co-authored-by: Allison Piper <[email protected]> * Update ci/matrix.yaml Co-authored-by: Allison Piper <[email protected]> * Resolve conflicts. * Fix typo, --------- Co-authored-by: anon <users.noreply.github.com> Co-authored-by: Michael Schellenberger Costa <[email protected]> Co-authored-by: Allison Piper <[email protected]>
- Loading branch information
1 parent
ca0ca5a
commit 8b5bf66
Showing
6 changed files
with
176 additions
and
14 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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"shutdownAction": "stopContainer", | ||
"image": "rapidsai/devcontainers:24.06-cpp-gcc13-cuda12.4-ubuntu22.04", | ||
"hostRequirements": { | ||
"gpu": "optional" | ||
}, | ||
"initializeCommand": [ | ||
"/bin/bash", | ||
"-c", | ||
"mkdir -m 0755 -p ${localWorkspaceFolder}/.{aws,cache,config}" | ||
], | ||
"containerEnv": { | ||
"SCCACHE_REGION": "us-east-2", | ||
"SCCACHE_BUCKET": "rapids-sccache-devs", | ||
"VAULT_HOST": "https://vault.ops.k8s.rapids.ai", | ||
"HISTFILE": "${containerWorkspaceFolder}/.cache/._bash_history", | ||
"DEVCONTAINER_NAME": "cuda12.4-gcc13", | ||
"CCCL_CUDA_VERSION": "12.4", | ||
"CCCL_HOST_COMPILER": "gcc", | ||
"CCCL_HOST_COMPILER_VERSION": "13", | ||
"CCCL_BUILD_INFIX": "cuda12.4-gcc13" | ||
}, | ||
"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" | ||
], | ||
"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/local/bin/clang-format", | ||
"clangd.arguments": [ | ||
"--compile-commands-dir=${workspaceFolder}" | ||
], | ||
"files.eol": "\n", | ||
"files.trimTrailingWhitespace": true | ||
} | ||
} | ||
}, | ||
"name": "cuda12.4-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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"shutdownAction": "stopContainer", | ||
"image": "rapidsai/devcontainers:24.06-cpp-llvm17-cuda12.4-ubuntu22.04", | ||
"hostRequirements": { | ||
"gpu": "optional" | ||
}, | ||
"initializeCommand": [ | ||
"/bin/bash", | ||
"-c", | ||
"mkdir -m 0755 -p ${localWorkspaceFolder}/.{aws,cache,config}" | ||
], | ||
"containerEnv": { | ||
"SCCACHE_REGION": "us-east-2", | ||
"SCCACHE_BUCKET": "rapids-sccache-devs", | ||
"VAULT_HOST": "https://vault.ops.k8s.rapids.ai", | ||
"HISTFILE": "${containerWorkspaceFolder}/.cache/._bash_history", | ||
"DEVCONTAINER_NAME": "cuda12.4-llvm17", | ||
"CCCL_CUDA_VERSION": "12.4", | ||
"CCCL_HOST_COMPILER": "llvm", | ||
"CCCL_HOST_COMPILER_VERSION": "17", | ||
"CCCL_BUILD_INFIX": "cuda12.4-llvm17" | ||
}, | ||
"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" | ||
], | ||
"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/local/bin/clang-format", | ||
"clangd.arguments": [ | ||
"--compile-commands-dir=${workspaceFolder}" | ||
], | ||
"files.eol": "\n", | ||
"files.trimTrailingWhitespace": true | ||
} | ||
} | ||
}, | ||
"name": "cuda12.4-llvm17" | ||
} |
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,51 @@ | ||
{ | ||
"shutdownAction": "stopContainer", | ||
"image": "rapidsai/devcontainers:24.06-cpp-llvm18-cuda12.4-ubuntu22.04", | ||
"hostRequirements": { | ||
"gpu": "optional" | ||
}, | ||
"initializeCommand": [ | ||
"/bin/bash", | ||
"-c", | ||
"mkdir -m 0755 -p ${localWorkspaceFolder}/.{aws,cache,config}" | ||
], | ||
"containerEnv": { | ||
"SCCACHE_REGION": "us-east-2", | ||
"SCCACHE_BUCKET": "rapids-sccache-devs", | ||
"VAULT_HOST": "https://vault.ops.k8s.rapids.ai", | ||
"HISTFILE": "${containerWorkspaceFolder}/.cache/._bash_history", | ||
"DEVCONTAINER_NAME": "cuda12.4-llvm18", | ||
"CCCL_CUDA_VERSION": "12.4", | ||
"CCCL_HOST_COMPILER": "llvm", | ||
"CCCL_HOST_COMPILER_VERSION": "18", | ||
"CCCL_BUILD_INFIX": "cuda12.4-llvm18" | ||
}, | ||
"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" | ||
], | ||
"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/local/bin/clang-format", | ||
"clangd.arguments": [ | ||
"--compile-commands-dir=${workspaceFolder}" | ||
], | ||
"files.eol": "\n", | ||
"files.trimTrailingWhitespace": true | ||
} | ||
} | ||
}, | ||
"name": "cuda12.4-llvm18" | ||
} |
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 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 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