Update BUILD

This commit is contained in:
Kinar R 2023-05-18 13:23:44 +05:30 committed by GitHub
parent 620ff3508a
commit 14dba421c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
third_party/BUILD vendored
View File

@ -150,7 +150,7 @@ OPENCV_MODULES = [
# still only builds the shared libraries, so we have to choose one or the # still only builds the shared libraries, so we have to choose one or the
# other. We build shared libraries by default, but this variable can be used # other. We build shared libraries by default, but this variable can be used
# to switch to static libraries. # to switch to static libraries.
OPENCV_SHARED_LIBS = True OPENCV_SHARED_LIBS = False
OPENCV_SO_VERSION = "3.4" OPENCV_SO_VERSION = "3.4"
@ -168,7 +168,7 @@ cmake_external(
"BUILD_EXAMPLES": "OFF", "BUILD_EXAMPLES": "OFF",
"BUILD_SHARED_LIBS": "ON" if OPENCV_SHARED_LIBS else "OFF", "BUILD_SHARED_LIBS": "ON" if OPENCV_SHARED_LIBS else "OFF",
# Disable IPP # Disable IPP
"WITH_IPP": "OFF", # "WITH_IPP": "OFF",
"WITH_ITT": "OFF", "WITH_ITT": "OFF",
"WITH_JASPER": "OFF", "WITH_JASPER": "OFF",
"WITH_JPEG": "ON", "WITH_JPEG": "ON",
@ -177,8 +177,8 @@ cmake_external(
"WITH_OPENCL": "OFF", "WITH_OPENCL": "OFF",
"WITH_WEBP": "OFF", "WITH_WEBP": "OFF",
# Disable carotene_o4t # Disable carotene_o4t
"ENABLE_NEON": "OFF", # "ENABLE_NEON": "OFF",
"WITH_TENGINE": "OFF", # "WITH_TENGINE": "OFF",
# Optimization flags # Optimization flags
"CV_ENABLE_INTRINSICS": "ON", "CV_ENABLE_INTRINSICS": "ON",
"WITH_EIGEN": "ON", "WITH_EIGEN": "ON",