Skip to content

Commit 1c8084c

Browse files
committed
Try disabling the cpuid part to see if we can get compilation
1 parent e79310a commit 1c8084c

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

blis/_src/frame/base/bli_cpuid.c

+2-10
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@
4646
#define __arm__
4747
#endif
4848

49-
#ifdef __cpuid
50-
#undef __cpuid
51-
#endif
52-
5349
#ifdef BLIS_CONFIGURETIME_CPUID
5450
#define BLIS_EXPORT_BLIS
5551
#include "bli_system.h"
@@ -62,7 +58,7 @@
6258

6359
// -----------------------------------------------------------------------------
6460

65-
#if (defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86))
61+
#if 0 // (defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86))
6662

6763
// This has a conflicting definition in intrin.h on Windows
6864
#include "cpuid.h"
@@ -613,7 +609,7 @@ bool_t bli_cpuid_is_cortexa9
613609
614610
*/
615611

616-
#if defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86)
612+
#if 0 // defined(__x86_64__) || defined(_M_X64) || defined(__i386) || defined(_M_IX86)
617613

618614
enum
619615
{
@@ -1118,7 +1114,3 @@ char* find_string_in( char* target, char* buffer, size_t buf_len, char* filepath
11181114
}
11191115

11201116
#endif
1121-
1122-
#ifdef __cpuid
1123-
#undef __cpuid
1124-
#endif

0 commit comments

Comments
 (0)