Skip to content

Commit

Permalink
Specify auditwheel platform tag
Browse files Browse the repository at this point in the history
  • Loading branch information
idavis committed Oct 19, 2023
1 parent c8f4e2c commit 509d8cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eng/psakefile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 509d8cc

Please sign in to comment.