Skip to content

Commit 4af1870

Browse files
authored
Only add dedicated VORTEXM4 if building with LLVM
1 parent b0bd49a commit 4af1870

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

driver/others/dynamic_arm64.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,12 @@ extern gotoblas_t gotoblas_A64FX;
169169
#endif
170170
#ifndef NO_SME
171171
extern gotoblas_t gotoblas_ARMV9SME;
172+
#if defined (__clang__)
172173
extern gotoblas_t gotoblas_VORTEXM4;
173174
#else
175+
#define gotoblas_VORTEXM4 gotoblas_NEOVERSEN1
176+
#endif
177+
#else
174178
#ifndef NO_SVE
175179
#define gotoblas_ARMV9SME gotoblas_ARMV8SVE
176180
#else

0 commit comments

Comments
 (0)