-
Notifications
You must be signed in to change notification settings - Fork 418
Add builds for MSVC cccl_c_parallel #9605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| Param( | ||
| [Parameter(Mandatory = $false)] | ||
| [Alias("arch")] | ||
| [string]$CUDA_ARCH = "", | ||
| [Parameter(Mandatory = $false)] | ||
| [Alias("cmake-options")] | ||
| [string]$CMAKE_OPTIONS = "" | ||
| ) | ||
|
|
||
| $ErrorActionPreference = "Stop" | ||
|
|
||
| $CURRENT_PATH = Split-Path $pwd -leaf | ||
| If($CURRENT_PATH -ne "ci") { | ||
| Write-Host "Moving to ci folder" | ||
| pushd "$PSScriptRoot/.." | ||
| } | ||
|
Comment on lines
+12
to
+16
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win important: Line 13 only checks the leaf name of the current directory. If this script is launched from any unrelated directory named Source: Path instructions |
||
|
|
||
| Remove-Module -Name build_common -ErrorAction SilentlyContinue | ||
| Import-Module $PSScriptRoot/build_common.psm1 -ArgumentList @(20, $CUDA_ARCH, $CMAKE_OPTIONS) | ||
|
|
||
| $PRESET = "cccl-c-parallel-v2" | ||
| $LOCAL_CMAKE_OPTIONS = "" | ||
|
|
||
| configure_and_build_preset "CCCL C Parallel" $PRESET $LOCAL_CMAKE_OPTIONS | ||
|
|
||
| If($CURRENT_PATH -ne "ci") { | ||
| popd | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
important: Line 25 should not be merged populated.
workflows.overridereplaces the normalpull_requestmatrix, so this would permanently narrow PR coverage for unrelated changes and keep branch-protection red until someone clears it. Move this to a draft-only branch state and resetoverride:to empty before merge. As per coding guidelines,Override matrices block PR merges and must be reset to empty before merging; as per path instructions, forci/**/*focus on matrix correctness and avoiding unnecessary expensive jobs.Sources: Coding guidelines, Path instructions