mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01: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:
parent
1ea2731e26
commit
07290bdcdc
|
|
@ -12,6 +12,11 @@
|
||||||
# MKL_SOLVER_LIBRARIES - list of libraries to add for the solvers
|
# MKL_SOLVER_LIBRARIES - list of libraries to add for the solvers
|
||||||
# MKL_CDFT_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!
|
# Do nothing if MKL_FOUND was set before!
|
||||||
IF (NOT MKL_FOUND)
|
IF (NOT MKL_FOUND)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user