From 509d8cc0032145fb820de20fa732246cd1534008 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Thu, 19 Oct 2023 10:05:53 -0700 Subject: [PATCH] Specify auditwheel platform tag --- eng/psakefile.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/psakefile.ps1 b/eng/psakefile.ps1 index aedb5d20..17cfbbde 100644 --- a/eng/psakefile.ps1 +++ b/eng/psakefile.ps1 @@ -14,8 +14,7 @@ Properties { $VscodeSettingsJson = Join-Path $Root .vscode settings.json $DocsRoot = Join-Path $Root docs $DocsBuild = Join-Path $DocsRoot _build - $ManylinuxTag = "manylinux2014_x86_64_maturin" - $ManylinuxRoot = "/io" + $AuditWheelTag = "manylinux_2_31_x86_64" $Python = Resolve-Python } @@ -81,7 +80,8 @@ task pyqir -depends init { if (Test-CommandExists auditwheel) { $unauditedWheels = Get-Wheels pyqir - Invoke-LoggedCommand { auditwheel repair --wheel-dir $Wheels $unauditedWheels } + Invoke-LoggedCommand { auditwheel show $unauditedWheels } + Invoke-LoggedCommand { auditwheel repair --wheel-dir $Wheels --plat $AuditWheelTag $unauditedWheels } $unauditedWheels | Remove-Item }