Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{
    "version": 6,
    "cmakeMinimumRequired": {
        "major": 3,
        "minor": 25,
        "patch": 0
    },
    "configurePresets": [
        {
            "name": "vcpkg-manifest",
            "hidden": true,
            "toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
            "cacheVariables": {
                "VCPKG_INSTALLED_DIR": "${sourceParentDir}/.build"
            },
            "environment": {
                "VCPKG_OVERLAY_TRIPLETS": "${sourceDir}/vcpkg-triplets",
                "VCPKG_FEATURE_FLGAS": "manifests,versions"
            }
        },
        {
            "name": "msvc-static-runtime",
            "hidden": true,
            "cacheVariables": {
                "ONNX_USE_MSVC_STATIC_RUNTIME": true,
                "protobuf_MSVC_STATIC_RUNTIME": true,
                "gtest_force_shared_crt": false,
                "CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>"
            }
        },
        {
            "name": "unit-test",
            "hidden": true,
            "cacheVariables": {
                "onnxruntime_RUN_ONNX_TESTS": true,
                "onnxruntime_BUILD_BENCHMARKS": true,
                "onnxruntime_BUILD_UNIT_TESTS": true,
                "onnxruntime_GENERATE_TEST_REPORTS": true
            }
        },
        {
            "name": "x64-windows",
            "inherits": [
                "msvc-static-runtime",
                "unit-test"
            ],
            "generator": "Visual Studio 17 2022",
            "architecture": "x64",
            "binaryDir": "${sourceParentDir}/cmake_build/x64-windows",
            "installDir": "${sourceParentDir}/cmake_build/out",
            "cacheVariables": {
                "onnxruntime_USE_XNNPACK": true,
                "onnxruntime_USE_DML": true,
                "onnxruntime_BUILD_SHARED_LIB": true,
                "CMAKE_CONFIGURATION_TYPES": "Debug;Release"
            },
            "vendor": {
                "microsoft.com/VisualStudioSettings/CMake/1.0": {
                    "intelliSenseMode": "windows-msvc-x64"
                }
            },
            "condition": {
                "type": "equals",
                "lhs": "${hostSystemName}",
                "rhs": "Windows"
            }
        },
        {
            "name": "x64-windows-vcpkg",
            "inherits": [
                "unit-test",
                "vcpkg-manifest"
            ],
            "generator": "Visual Studio 17 2022",
            "architecture": "x64",
            "binaryDir": "${sourceParentDir}/cmake_build/x64-windows",
            "installDir": "${sourceParentDir}/cmake_build/out",
            "cacheVariables": {
                "onnxruntime_USE_VCPKG": true,
                "onnxruntime_USE_XNNPACK": false,
                "onnxruntime_USE_DML": false,
                "onnxruntime_BUILD_SHARED_LIB": true,
                "CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL",
                "CMAKE_CONFIGURATION_TYPES": "Debug;Release",
                "VCPKG_INSTALL_OPTIONS": "--x-feature=tests",
                "VCPKG_TARGET_TRIPLET": "x64-windows"
            }
        },
        {
            "name": "x64-osx",
            "inherits": [
                "unit-test"
            ],
            "generator": "Xcode",
            "binaryDir": "${sourceParentDir}/cmake_build/x64-osx",
            "installDir": "${sourceParentDir}/cmake_build/out",
            "cacheVariables": {
                "CMAKE_OSX_ARCHITECTURES": "x86_64",
                "onnxruntime_BUILD_SHARED_LIB": true,
                "onnxruntime_USE_XNNPACK": false,
                "onnxruntime_USE_COREML": true,
                "onnxruntime_BUILD_OBJC": true,
                "onnxruntime_BUILD_APPLE_FRAMEWORK": true,
                "CMAKE_CONFIGURATION_TYPES": "Debug;Release"
            },
            "condition": {
                "type": "equals",
                "lhs": "${hostSystemName}",
                "rhs": "Darwin"
            }
        },
        {
            "name": "arm64-osx",
            "inherits": [
                "unit-test"
            ],
            "generator": "Xcode",
            "binaryDir": "${sourceParentDir}/cmake_build/arm64-osx",
            "installDir": "${sourceParentDir}/cmake_build/out",
            "cacheVariables": {
                "CMAKE_OSX_ARCHITECTURES": "arm64",
                "onnxruntime_BUILD_SHARED_LIB": true,
                "onnxruntime_USE_XNNPACK": false,
                "onnxruntime_USE_COREML": true,
                "onnxruntime_BUILD_OBJC": true,
                "onnxruntime_BUILD_APPLE_FRAMEWORK": true,
                "CMAKE_CONFIGURATION_TYPES": "Debug;Release"
            },
            "condition": {
                "type": "equals",
                "lhs": "${hostSystemName}",
                "rhs": "Darwin"
            }
        },
        {
            "name": "x64-osx-vcpkg",
            "inherits": [
                "x64-osx",
                "vcpkg-manifest"
            ],
            "cacheVariables": {
                "onnxruntime_USE_VCPKG": true,
                "onnxruntime_USE_XNNPACK": false,
                "onnxruntime_USE_COREML": false,
                "onnxruntime_BUILD_OBJC": false,
                "onnxruntime_BUILD_APPLE_FRAMEWORK": false,
                "VCPKG_INSTALL_OPTIONS": "--x-feature=tests",
                "VCPKG_TARGET_TRIPLET": "x64-osx"
            }
        }
    ],
    "buildPresets": [
        {
            "name": "x64-windows-debug",
            "configurePreset": "x64-windows",
            "configuration": "Debug"
        },
        {
            "name": "x64-windows-vcpkg-debug",
            "configurePreset": "x64-windows-vcpkg",
            "configuration": "Debug"
        },
        {
            "name": "x64-osx-debug",
            "configurePreset": "x64-osx",
            "configuration": "Debug"
        },
        {
            "name": "x64-osx-vcpkg-debug",
            "configurePreset": "x64-osx-vcpkg",
            "configuration": "Debug"
        }
    ],
    "testPresets": [
        {
            "name": "x64-windows-debug",
            "configurePreset": "x64-windows",
            "configuration": "Debug",
            "output": {
                "verbosity": "default",
                "outputJUnitFile": "TEST-x64-windows-debug.xml",
                "outputLogFile": "TEST-x64-windows-debug.log",
                "outputOnFailure": true
            },
            "execution": {
                "noTestsAction": "error",
                "stopOnFailure": false
            }
        },
        {
            "name": "x64-windows-vcpkg-debug",
            "inherits": "x64-windows-debug",
            "configurePreset": "x64-windows-vcpkg"
        },
        {
            "name": "x64-osx-debug",
            "configurePreset": "x64-osx",
            "configuration": "Debug",
            "output": {
                "verbosity": "default",
                "outputJUnitFile": "TEST-x64-osx-debug.xml",
                "outputLogFile": "TEST-x64-osx-debug.log",
                "outputOnFailure": true
            },
            "execution": {
                "noTestsAction": "error",
                "stopOnFailure": false
            }
        },
        {
            "name": "x64-osx-vcpkg-debug",
            "inherits": "x64-osx-debug",
            "configurePreset": "x64-osx-vcpkg"
        }
    ]
}