mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Revert "Fix Arm64 OSS pytorch build with FBGEMM (#161527)"
This reverts commit dbec08729fb9848bebed6048c63831b87170d061.
Reverted https://github.com/pytorch/pytorch/pull/161527 on behalf of https://github.com/malfet due to This breaks all Mac builds, see b04e922712/1
([comment](https://github.com/pytorch/pytorch/pull/161527#issuecomment-3256034443))
This commit is contained in:
@ -837,11 +837,9 @@ include(ExternalProject)
|
||||
|
||||
# ---[ Dependencies ---[ FBGEMM doesn't work on x86 32bit and
|
||||
# CMAKE_SYSTEM_PROCESSOR thinks its 64bit
|
||||
if(USE_FBGEMM AND
|
||||
(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") AND
|
||||
(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64"))
|
||||
if(USE_FBGEMM AND NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
|
||||
message(WARNING
|
||||
"x64 or Arm64 operating systems are required for FBGEMM. "
|
||||
"x64 operating system is required for FBGEMM. "
|
||||
"Not compiling with FBGEMM. "
|
||||
"Turn this warning off by USE_FBGEMM=OFF.")
|
||||
set(USE_FBGEMM OFF)
|
||||
|
Reference in New Issue
Block a user