use TARGET=VORTEX for Apple M2 skipping all the logic
This commit is contained in:
parent
11aa2d721e
commit
91d17f191f
@ -295,6 +295,12 @@ def _microarch_target_args(self):
|
||||
skylake = set(["skylake", "skylake_avx512"])
|
||||
available_targets = set(available_targets) | skylake | openblas_arch
|
||||
|
||||
# Apple M2
|
||||
# https://github.com/xianyi/OpenBLAS/issues/3995#issuecomment-1503592445
|
||||
if microarch.name == "m2":
|
||||
args.append("TARGET=VORTEX")
|
||||
return args
|
||||
|
||||
# Find closest ancestor that is known to build in blas
|
||||
if microarch.name not in available_targets:
|
||||
for microarch in microarch.ancestors:
|
||||
|
Loading…
Reference in New Issue
Block a user