@@ -18,43 +18,43 @@ endif ()
18
18
set (MNN_BUILD_BENCHMARK OFF CACHE BOOL "" FORCE)
19
19
set (MNN_BUILD_TEST OFF CACHE BOOL "" FORCE)
20
20
set (MNN_BUILD_TOOLS OFF CACHE BOOL "Build tools/cpp or not" FORCE)
21
- set (MNN_SUPPORT_BF16 ON CACHE BOOL "Enable MNN's bf16 op" FORCE)
21
+ # set(MNN_SUPPORT_BF16 ON CACHE BOOL "Enable MNN's bf16 op" FORCE)
22
22
set (MNN_SEP_BUILD OFF CACHE BOOL "Build MNN Backends and expression separately. Only works with MNN_BUILD_SHARED_LIBS=ON" FORCE)
23
23
set (MNN_BUILD_SHARED_LIBS OFF CACHE BOOL "MNN build shared or static lib" FORCE)
24
- set (MNN_BUILD_OPENCV ON CACHE BOOL "Build OpenCV api in MNN." FORCE)
25
- set (MNN_USE_SYSTEM_LIB OFF CACHE BOOL "For opencl and vulkan, use system lib or use dlopen" FORCE)
26
- set (MNN_BUILD_HARD OFF CACHE BOOL "Build -mfloat-abi=hard or not" FORCE)
24
+ # set(MNN_BUILD_OPENCV ON CACHE BOOL "Build OpenCV api in MNN." FORCE)
25
+ # set(MNN_USE_SYSTEM_LIB OFF CACHE BOOL "For opencl and vulkan, use system lib or use dlopen" FORCE)
26
+ # set(MNN_BUILD_HARD OFF CACHE BOOL "Build -mfloat-abi=hard or not" FORCE)
27
27
set (MNN_WIN_RUNTIME_MT OFF CACHE BOOL "MNN use /MT on Windows dll" FORCE)
28
- set (MNN_FORBID_MULTI_THREAD OFF CACHE BOOL "Disable Multi Thread" FORCE)
29
- set (MNN_OPENMP OFF CACHE BOOL "Use OpenMP's thread pool implementation. Does not work on iOS or Mac OS" FORCE)
30
- set (MNN_USE_THREAD_POOL ON CACHE BOOL "Use MNN's own thread pool implementation" FORCE)
28
+ # set(MNN_FORBID_MULTI_THREAD OFF CACHE BOOL "Disable Multi Thread" FORCE)
29
+ # set(MNN_OPENMP OFF CACHE BOOL "Use OpenMP's thread pool implementation. Does not work on iOS or Mac OS" FORCE)
30
+ # set(MNN_USE_THREAD_POOL ON CACHE BOOL "Use MNN's own thread pool implementation" FORCE)
31
31
set (MNN_BUILD_TRAIN OFF CACHE BOOL "Build MNN's training framework" FORCE)
32
32
set (MNN_BUILD_DEMO OFF CACHE BOOL "Build demo/exec or not" FORCE)
33
33
set (MNN_BUILD_QUANTOOLS OFF CACHE BOOL "Build Quantized Tools or not" FORCE)
34
34
set (MNN_EVALUATION OFF CACHE BOOL "Build Evaluation Tools or not" FORCE)
35
35
set (MNN_BUILD_CONVERTER OFF CACHE BOOL "Build Converter" FORCE)
36
36
set (MNN_SUPPORT_DEPRECATED_OP OFF CACHE BOOL "Enable MNN's tflite quantized op" FORCE)
37
- set (MNN_DEBUG_MEMORY OFF CACHE BOOL "MNN Debug Memory Access" FORCE)
38
- set (MNN_DEBUG_TENSOR_SIZE OFF CACHE BOOL "Enable Tensor Size" FORCE)
39
- set (MNN_GPU_TRACE OFF CACHE BOOL "Enable MNN Gpu Debug" FORCE)
40
- set (MNN_SUPPORT_RENDER OFF CACHE BOOL "Enable MNN Render Ops" FORCE)
41
- set (MNN_SUPPORT_TRANSFORMER_FUSE OFF CACHE BOOL "Enable MNN transformer Fuse Ops" FORCE)
37
+ # set(MNN_DEBUG_MEMORY OFF CACHE BOOL "MNN Debug Memory Access" FORCE)
38
+ # set(MNN_DEBUG_TENSOR_SIZE OFF CACHE BOOL "Enable Tensor Size" FORCE)
39
+ # set(MNN_GPU_TRACE OFF CACHE BOOL "Enable MNN Gpu Debug" FORCE)
40
+ # set(MNN_SUPPORT_RENDER OFF CACHE BOOL "Enable MNN Render Ops" FORCE)
41
+ # set(MNN_SUPPORT_TRANSFORMER_FUSE OFF CACHE BOOL "Enable MNN transformer Fuse Ops" FORCE)
42
42
set (NATIVE_LIBRARY_OUTPUT OFF CACHE BOOL "Native Library Path" FORCE)
43
43
set (NATIVE_INCLUDE_OUTPUT OFF CACHE BOOL "Native Include Path" FORCE)
44
44
set (MNN_AAPL_FMWK OFF CACHE BOOL "Build MNN.framework instead of traditional .a/.dylib" FORCE)
45
- set (MNN_WITH_PLUGIN OFF CACHE BOOL "Build with plugin op support." FORCE)
46
- set (MNN_BUILD_MINI OFF CACHE BOOL "Build MNN-MINI that just supports fixed shape models." FORCE)
47
- set (MNN_USE_SSE ON CACHE BOOL "Use SSE optimization for x86 if possiable" FORCE)
45
+ # set(MNN_WITH_PLUGIN OFF CACHE BOOL "Build with plugin op support." FORCE)
46
+ # set(MNN_BUILD_MINI OFF CACHE BOOL "Build MNN-MINI that just supports fixed shape models." FORCE)
47
+ # set(MNN_USE_SSE ON CACHE BOOL "Use SSE optimization for x86 if possiable" FORCE)
48
48
set (MNN_BUILD_CODEGEN OFF CACHE BOOL "Build with codegen" FORCE)
49
49
set (MNN_ENABLE_COVERAGE OFF CACHE BOOL "Build with coverage enable" FORCE)
50
- set (MNN_BUILD_PROTOBUFFER ON CACHE BOOL "Build with protobuffer in MNN" FORCE)
51
- set (MNN_BUILD_LLM OFF CACHE BOOL "Build llm library based MNN." FORCE)
52
- set (MNN_BUILD_DIFFUSION OFF CACHE BOOL "Build diffusion demo based MNN." FORCE)
53
- set (MNN_INTERNAL OFF CACHE BOOL "Build with MNN internal features, such as model authentication, metrics logging" FORCE)
50
+ # set(MNN_BUILD_PROTOBUFFER ON CACHE BOOL "Build with protobuffer in MNN" FORCE)
51
+ # set(MNN_BUILD_LLM OFF CACHE BOOL "Build llm library based MNN." FORCE)
52
+ # set(MNN_BUILD_DIFFUSION OFF CACHE BOOL "Build diffusion demo based MNN." FORCE)
53
+ # set(MNN_INTERNAL OFF CACHE BOOL "Build with MNN internal features, such as model authentication, metrics logging" FORCE)
54
54
set (MNN_JNI OFF CACHE BOOL "Build MNN Jni for java to use" FORCE)
55
- set (MNN_LOW_MEMORY OFF CACHE BOOL "Build MNN support low memory for weight quant model." FORCE)
56
- set (MNN_CPU_WEIGHT_DEQUANT_GEMM OFF CACHE BOOL "Build MNN CPU weight dequant related gemm kernels." FORCE)
57
- set (MNN_BUILD_AUDIO OFF CACHE BOOL "Build audio api in MNN." FORCE)
55
+ # set(MNN_LOW_MEMORY OFF CACHE BOOL "Build MNN support low memory for weight quant model." FORCE)
56
+ # set(MNN_CPU_WEIGHT_DEQUANT_GEMM OFF CACHE BOOL "Build MNN CPU weight dequant related gemm kernels." FORCE)
57
+ # set(MNN_BUILD_AUDIO OFF CACHE BOOL "Build audio api in MNN." FORCE)
58
58
59
59
if (WIN32 )
60
60
set (MNN_WIN_RUNTIME_MT OFF CACHE BOOL "" FORCE)
0 commit comments