mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +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
|
# ---[ Dependencies ---[ FBGEMM doesn't work on x86 32bit and
|
||||||
# CMAKE_SYSTEM_PROCESSOR thinks its 64bit
|
# CMAKE_SYSTEM_PROCESSOR thinks its 64bit
|
||||||
if(USE_FBGEMM AND
|
if(USE_FBGEMM AND NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
|
||||||
(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") AND
|
|
||||||
(NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64"))
|
|
||||||
message(WARNING
|
message(WARNING
|
||||||
"x64 or Arm64 operating systems are required for FBGEMM. "
|
"x64 operating system is required for FBGEMM. "
|
||||||
"Not compiling with FBGEMM. "
|
"Not compiling with FBGEMM. "
|
||||||
"Turn this warning off by USE_FBGEMM=OFF.")
|
"Turn this warning off by USE_FBGEMM=OFF.")
|
||||||
set(USE_FBGEMM OFF)
|
set(USE_FBGEMM OFF)
|
||||||
|
Reference in New Issue
Block a user