mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Skip search for MKL on ARM cpus (#145850)
It will not find it anyway and makes a bit easier parsing thru CMake log on non-x86 systems Pull Request resolved: https://github.com/pytorch/pytorch/pull/145850 Approved by: https://github.com/atalman
This commit is contained in:
committed by
PyTorch MergeBot
parent
1ea2731e26
commit
07290bdcdc
@ -12,6 +12,11 @@
|
||||
# MKL_SOLVER_LIBRARIES - list of libraries to add for the solvers
|
||||
# MKL_CDFT_LIBRARIES - list of libraries to add for the solvers
|
||||
|
||||
# Do nothing if on ARM
|
||||
IF (CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64")
|
||||
RETURN()
|
||||
ENDIF()
|
||||
|
||||
# Do nothing if MKL_FOUND was set before!
|
||||
IF (NOT MKL_FOUND)
|
||||
|
||||
|
Reference in New Issue
Block a user