File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ char *gotoblas_corename(void) {
3636 return corename [0 ];
3737}
3838
39- #if defined(__clang__ )
39+ #if defined(__clang__ ) && !defined( _AIX )
4040static int __builtin_cpu_supports (char * arg )
4141{
4242 return 0 ;
@@ -50,7 +50,7 @@ static int __builtin_cpu_supports(char* arg)
5050#define CPU_POWER9 9
5151#define CPU_POWER10 10
5252
53- #if defined(C_PGI ) || defined(__clang__ )
53+ #if defined(C_PGI ) || ( defined(__clang__ ) && !defined( _AIX ) )
5454/*
5555 * NV HPC compilers do not yet implement __builtin_cpu_is().
5656 * Fake a version here for use in the CPU detection code below.
@@ -213,7 +213,7 @@ static int cpuid(void)
213213}
214214
215215#ifndef __BUILTIN_CPU_SUPPORTS__
216- static int __builtin_cpu_supports (char * arg )
216+ static int __builtin_cpu_supports (const char * arg )
217217{
218218 static int ipinfo = -1 ;
219219 if (ipinfo < 0 ) {
@@ -234,7 +234,7 @@ static int __builtin_cpu_supports(char* arg)
234234 return 0 ;
235235}
236236
237- static int __builtin_cpu_is (char * arg )
237+ static int __builtin_cpu_is (const char * arg )
238238{
239239 static int ipinfo = -1 ;
240240 if (ipinfo < 0 ) {
You can’t perform that action at this time.
0 commit comments