[MacPorts] #66948: OpenBLAS @0.3.21_3: does not build universal on Apple Silicon Macs
MacPorts
noreply at macports.org
Sat Jun 17 14:20:50 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 catap):
Ken, I think the root cause is that gfortran-mp-12 can't build anything
for x86_64 on arm.
{{{
catap at Kirills-mini-m1 /tmp % port -v installed gcc12
The following ports are currently installed:
gcc12 @12.3.0_0+stdlib_flag+universal (active)
requested_variants='+universal' platform='darwin 22' archs='arm64 x86_64'
date='2023-06-17T02:13:23+0200'
catap at Kirills-mini-m1 /tmp % cat test.f90
program hello
print *, 'Hello, World!'
end program hello
catap at Kirills-mini-m1 /tmp % gfortran-mp-12 -arch arm64 -o test test.f90
catap at Kirills-mini-m1 /tmp % file test
test: Mach-O 64-bit executable arm64
catap at Kirills-mini-m1 /tmp % rm -f test
catap at Kirills-mini-m1 /tmp % gfortran-mp-12 -arch x86_64 -o test test.f90
gfortran-mp-12: warning: this compiler does not support x86 ('-arch'
option ignored)
catap at Kirills-mini-m1 /tmp % file test
test: Mach-O 64-bit executable arm64
catap at Kirills-mini-m1 /tmp %
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66948#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list