[MacPorts] #66948: OpenBLAS @0.3.21_3: does not build universal on Apple Silicon Macs

MacPorts noreply at macports.org
Sat Jun 17 14:55:10 UTC 2023


#66948: OpenBLAS @0.3.21_3: does not build universal on Apple Silicon Macs
-----------------------+-------------------------
  Reporter:  kencu     |      Owner:  NicosPavlov
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  arm64
      Port:  openblas  |
-----------------------+-------------------------

Comment (by kencu):

 well, you did it slightly differently than what I described in
 gcc10-bootstrap, using the "arch" command to drive the main driver, but
 achieved the same idea of an arch-specific gcc driver for each selected
 arch:
 {{{
     foreach arch \$\{universal_archs_supported\} {
         lappend merger_configure_env(\$\{arch\}) \
                         \"CC=arch -arch \$\{arch\}
 \$\{prefix\}/libexec/${name}/bin/gcc\"
         lappend merger_configure_env(\$\{arch\}) \
                         \"CXX=arch -arch \$\{arch\}
 \$\{prefix\}/libexec/${name}/bin/g++\"
     }
 }}}

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


More information about the macports-tickets mailing list