[MacPorts] #60403: lpcnetfreedv: incorrect optimization when building universal

MacPorts noreply at macports.org
Fri May 8 05:54:39 UTC 2020


#60403: lpcnetfreedv: incorrect optimization when building universal
---------------------------+----------------------
  Reporter:  ryandesign    |      Owner:  ra1nb0w
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.2
Resolution:                |   Keywords:
      Port:  lpcnetfreedv  |
---------------------------+----------------------

Comment (by ryandesign):

 Thanks. I haven't tested it but it looks like that should work.

 The only other thing I'm wondering about is that right before the block
 you added, there's this:

 {{{
 # disable AVX and AVX2 for compatibility
 configure.args-append \
     -DDISABLE_CPU_OPTIMIZATION=ON
 }}}

 And right after your block, there's this:

 {{{
 # select native cpu flags
 variant native description {Enable auto selection of cpu flags like
 avx/avx2/neon} {
     configure.args-delete -DDISABLE_CPU_OPTIMIZATION=ON
 }
 }}}

 Is the optimization that's enabled by your `-DAVX=ON` different from the
 AVX and AVX2 flags mentioned in this existing +native variant?

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


More information about the macports-tickets mailing list