github_packages: fix oldest CPU variant on arm64 Linux

This commit is contained in:
Bo Anderson 2025-02-03 18:16:38 +01:00
parent 7b7bf51e1a
commit d63e44185f
No known key found for this signature in database

View File

@ -371,7 +371,7 @@ class GitHubPackages
os_version ||= OS::LINUX_CI_OS_VERSION os_version ||= OS::LINUX_CI_OS_VERSION
glibc_version = tab["built_on"]["glibc_version"].presence if tab["built_on"].present? glibc_version = tab["built_on"]["glibc_version"].presence if tab["built_on"].present?
glibc_version ||= OS::LINUX_GLIBC_CI_VERSION glibc_version ||= OS::LINUX_GLIBC_CI_VERSION
cpu_variant = tab["oldest_cpu_family"] || Hardware::CPU::INTEL_64BIT_OLDEST_CPU.to_s cpu_variant = tab.dig("built_on", "oldest_cpu_family") || Hardware::CPU::INTEL_64BIT_OLDEST_CPU.to_s
end end
platform_hash = { platform_hash = {