[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 20:35:12 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:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.7.2
 Keywords:  bigsur monterey  |       Port:  py-pytorch
-----------------------------+------------------------
 Similar issue, relative to what we've dealt with previously in other
 ports.

 {{{
 error: unknown warning option '-Wno-unused-but-set-variable'; did you mean
 '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option]
 make[2]: ***
 [third_party/fbgemm/asmjit/CMakeFiles/asmjit.dir/src/asmjit/core/archtraits.cpp.o]
 Error 1
 }}}

 There are also various CMake warnings, though those are also seen
 elsewhere without failure.

 More digging needed.

 * https://ports.macports.org/port/py310-pytorch/details/
 * https://ports.macports.org/port/py39-pytorch/details/

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


More information about the macports-tickets mailing list