Compare commits

...

4 Commits

Author SHA1 Message Date
Haritha 33ec82dad4 Refactor OS configuration for Ubuntu arm64 runners in workflow
Remove specific OS configurations for Ubuntu arm64.
2026-02-17 09:52:02 -06:00
Haritha 8e10429829 Modify make command for ARM architecture profiling
Skip test_bz2 during PGO profiling for ARM on Ubuntu 22.04.
2026-02-13 11:21:12 -06:00
Haritha b79a1dda4e Fix architecture naming for Ubuntu configurations 2026-02-12 14:02:53 -06:00
Haritha 46132be3eb Test on local arm runners
Add conditional setup for Ubuntu ARM configurations.
2026-02-12 13:57:16 -06:00
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ jobs:
"*macos*" { $platform = 'darwin' }
"*windows*" { $platform = 'win32'; if ($arch -eq "arm64" ) { $os = "${os}-arm" } }
}
if ($buildMode -eq "freethreaded") {
if ([semver]"${{ inputs.VERSION }}" -lt [semver]"3.13.0") {
continue;
+7 -1
View File
@@ -114,7 +114,13 @@ class NixPythonBuilder : PythonBuilder {
Write-Debug "make Python $($this.Version)-$($this.Architecture) $($this.Platform)"
$buildOutputLocation = New-Item -Path $this.WorkFolderLocation -Name "build_output.txt" -ItemType File
Execute-Command -Command "make 2>&1 | tee $buildOutputLocation" -ErrorAction Continue
### Skip test_bz2 during PGO profiling to work around libbz2 incompatibility
### on Ubuntu 22.04 ARM runners (testDecompressorChunksMaxsize failure).
if (($this.Architecture -match "arm64") -and ($this.Platform -match "22\.04") -and ($this.Version -ge [semver]"3.15.0-alpha.3")) {
Execute-Command -Command "make PROFILE_TASK='-m test --pgo --ignore test_bz2 -j0' 2>&1 | tee $buildOutputLocation" -ErrorAction Continue
} else {
Execute-Command -Command "make 2>&1 | tee $buildOutputLocation" -ErrorAction Continue
}
Execute-Command -Command "make install" -ErrorAction Continue
Write-Debug "Done; Make log location: $buildOutputLocation"