mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Turn off fbgemm for libtorch android build (#25113)
Summary: https://github.com/pytorch/FBGEMM (USE_FBGEMM is ON by default for x86, x86_64) Build libtorch for android_abi x86_64 fails due to this. Turning it off for android builds Pull Request resolved: https://github.com/pytorch/pytorch/pull/25113 Reviewed By: dreiss Differential Revision: D16992459 Pulled By: IvanKobzarev fbshipit-source-id: 3cf35a67043288cb591cc3b23c261258c28cf304
This commit is contained in:
parent
e42b238f7f
commit
2cccad2c56
|
|
@ -234,6 +234,7 @@ if (INTERN_BUILD_MOBILE AND NOT BUILD_CAFFE2_MOBILE)
|
|||
set(USE_DISTRIBUTED OFF)
|
||||
set(FEATURE_TORCH_MOBILE ON)
|
||||
set(NO_API ON)
|
||||
set(USE_FBGEMM OFF)
|
||||
endif()
|
||||
|
||||
if (BUILD_ATEN_ONLY)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user