[MacPorts] #58263: OpenBLAS fails for missing _cpuid_count
MacPorts
noreply at macports.org
Sat Apr 6 17:26:30 UTC 2019
#58263: OpenBLAS fails for missing _cpuid_count
-----------------------+--------------------------
Reporter: rmottola | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: leopard i386
Port: OpenBLAS |
-----------------------+--------------------------
Comment (by kencu):
please try this:
{{{
diff --git cpuid_x86.c cpuid_x86.c
index eb986b6..63c5270 100644
--- cpuid_x86.c
+++ cpuid_x86.c
@@ -87,7 +87,7 @@ void cpuid_count(int op, int count, int *eax, int *ebx,
int *ecx, int *edx)
#ifndef CPUIDEMU
-#if defined(__APPLE__) && defined(__i386__)
+#if defined(__APPLE__) && defined(__i386__) &&
(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ > 1060)
void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx);
void cpuid_count(int op, int count, int *eax, int *ebx, int *ecx, int
*edx);
#else
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58263#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list