Browse Source
Merge pull request #3147 from martin-frbg/issue3146
Fix DYNAMIC_ARCH builds with CLANG on ppc64
tags/v0.3.14^2
Martin Kroeker
GitHub
5 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
8 additions and
1 deletions
-
driver/others/dynamic_power.c
|
|
|
@@ -40,7 +40,14 @@ char *gotoblas_corename(void) { |
|
|
|
return corename[0]; |
|
|
|
} |
|
|
|
|
|
|
|
#ifdef C_PGI |
|
|
|
#if defined(__clang__) |
|
|
|
static int __builtin_cpu_supports(char* arg) |
|
|
|
{ |
|
|
|
return 0; |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
|
|
#if defined(C_PGI) || defined(__clang__) |
|
|
|
/* |
|
|
|
* NV HPC compilers do not yet implement __builtin_cpu_is(). |
|
|
|
* Fake a version here for use in the CPU detection code below. |
|
|
|
|