[MacPorts] #65501: py-pytorch @1.12.0: builds failing for big sur and monterey: error: unknown warning option '-Wno-unused-but-set-variable'

MacPorts noreply at macports.org
Sun Jul 17 21:12:23 UTC 2022


#65501: py-pytorch @1.12.0: builds failing for big sur and monterey: error: unknown
warning option '-Wno-unused-but-set-variable'
-------------------------+-----------------------------
  Reporter:  mascguy     |      Owner:  mascguy
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:  bigsur monterey
      Port:  py-pytorch  |
-------------------------+-----------------------------

Comment (by mascguy):

 Upstream has committed two formal fixes to master - with the second
 further tweaking the logic - so we'll use the end result of these:

 *
 https://github.com/pytorch/pytorch/commit/f1fb575b9e1f68ceaf49996783c8d356278e1032.patch
 *
 https://github.com/pytorch/pytorch/commit/b349d159077bc2c4207c9a97f889dc2c572f6928.patch

-- 
Ticket URL: <https://trac.macports.org/ticket/65501#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list