forked from openvinotoolkit/npu_plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
92 lines (92 loc) · 3.17 KB
/
CMakePresets.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"version": 2,
"configurePresets": [
{
"name": "BuildOptimization",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_C_COMPILER_LAUNCHER": {
"type": "FILEPATH",
"value": "/usr/bin/ccache"
},
"CMAKE_CXX_COMPILER_LAUNCHER": {
"type": "FILEPATH",
"value": "/usr/bin/ccache"
}
}
},
{
"name": "LinkerOptimization",
"hidden": true,
"cacheVariables": {
"CMAKE_EXE_LINKER_FLAGS": {
"type": "STRING",
"value": "-fuse-ld=gold -Wl,--threads -Wl,--thread-count,14"
},
"CMAKE_MODULE_LINKER_FLAGS": {
"type": "STRING",
"value": "-fuse-ld=gold -Wl,--threads -Wl,--thread-count,14"
},
"CMAKE_SHARED_LINKER_FLAGS": {
"type": "STRING",
"value": "-fuse-ld=gold -Wl,--threads -Wl,--thread-count,14"
}
}
},
{
"name": "aarch64",
"hidden": true,
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": {
"type": "FILEPATH",
"value": "${sourceDir}/cmake/oecore.arm64.toolchain.cmake"
}
}
},
{
"name": "EnableTests",
"hidden": true,
"cacheVariables": {
"ENABLE_TESTS": true,
"ENABLE_FUNCTIONAL_TESTS": true,
"ENABLE_HDDL2_TESTS": true
}
},
{
"name": "EnableModelsAndValidationSet",
"hidden": true,
"cacheVariables": {
"ENABLE_MODELS": true,
"ENABLE_VALIDATION_SET": true
}
},
{
"name": "Disabler",
"hidden": true,
"description": "Disables all options. It is used as a base for configuration where is only needed option are enabled to speed-up build. Should be used as the first argument to inherits.",
"cacheVariables": {
"ENABLE_TESTS": false,
"ENABLE_FUNCTIONAL_TESTS": false,
"ENABLE_HDDL2_TESTS": false,
"ENABLE_DEVELOPER_BUILD": false,
"ENABLE_KMB_SAMPLES": false,
"ENABLE_MCM_COMPILER_PACKAGE": false,
"ENABLE_MCM_COMPILER_PYTHON": false,
"ENABLE_MODELS": false,
"ENABLE_VALIDATION_SET": false,
"ENABLE_HDDL2": false,
"ENABLE_CUSTOM_HDDLUNITE": false,
"ENABLE_LTO": false,
"ENABLE_FASTER_BUILD": false,
"ENABLE_CPPLINT": false,
"ENABLE_CLANG_FORMAT": false,
"ENABLE_ZEROAPI_BACKEND": false,
"ENABLE_EMULATOR": false,
"ENABLE_VPUX_DOCS": false,
"TREAT_WARNING_AS_ERROR": false,
"ENABLE_IMD_BACKEND": false
}
}
]
}