mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
disable default system-wide detection of gflags, glog, opencv, lmdb, leveldb (#16789)
Summary: They can instead by enable by env flags USE_* (as always). Pull Request resolved: https://github.com/pytorch/pytorch/pull/16789 Differential Revision: D13971789 Pulled By: soumith fbshipit-source-id: d5eac9be677114be3fb15b43080faa0efdfff8ee
This commit is contained in:
committed by
Facebook Github Bot
parent
255136fc1d
commit
d1b2ab83fc
@ -111,11 +111,11 @@ cmake_dependent_option(
|
||||
"USE_CUDA" OFF)
|
||||
option(USE_FBGEMM "Use FBGEMM (quantized 8-bit server operators)" OFF)
|
||||
option(USE_FFMPEG "Use ffmpeg" OFF)
|
||||
option(USE_GFLAGS "Use GFLAGS" ON)
|
||||
option(USE_GLOG "Use GLOG" ON)
|
||||
option(USE_LEVELDB "Use LEVELDB" ON)
|
||||
option(USE_GFLAGS "Use GFLAGS" OFF)
|
||||
option(USE_GLOG "Use GLOG" OFF)
|
||||
option(USE_LEVELDB "Use LEVELDB" OFF)
|
||||
option(USE_LITE_PROTO "Use lite protobuf instead of full." OFF)
|
||||
option(USE_LMDB "Use LMDB" ON)
|
||||
option(USE_LMDB "Use LMDB" OFF)
|
||||
option(USE_METAL "Use Metal for iOS build" ON)
|
||||
option(USE_NATIVE_ARCH "Use -march=native" OFF)
|
||||
option(USE_NCCL "Use NCCL" ON)
|
||||
@ -129,7 +129,7 @@ cmake_dependent_option(
|
||||
option(USE_NUMPY "Use NumPy" ON)
|
||||
option(USE_OBSERVERS "Use observers module." OFF)
|
||||
option(USE_OPENCL "Use OpenCL" OFF)
|
||||
option(USE_OPENCV "Use OpenCV" ON)
|
||||
option(USE_OPENCV "Use OpenCV" OFF)
|
||||
option(USE_OPENMP "Use OpenMP for parallel code" ON)
|
||||
option(USE_PROF "Use profiling" OFF)
|
||||
option(USE_QNNPACK "Use QNNPACK (quantized 8-bit operators)" ON)
|
||||
|
Reference in New Issue
Block a user