Skip to content

Commit 286d89c

Browse files
MaggieQiPtilopsisLYuming-XuHengyu Liangliml0324
authored
Spfresh async io (#423)
* batch ReadBlocks * add batchSize option * add timeout support for batched I/O * Refine Index * debug refine * modify for stress test * change update from metadata to mapping * modify * add IOStatistics for SPDK * change ssd size * modify for stress test * fix ssd usage bug * fix io limit * modify ssd size for stress test * for io stat * modify for io * fix for stress test * temporarily remove rebuild * fix BKT bug * merge changes from Index.h BKTIndex.cpp and RelativeNeighborhoodGraph.h * add lock for mapping * fix merge bug * Improve README.md * add loading exclude head * modify length * fix code with AE repo * add checkpoint & move rocksdb to thirdparty * fix zstd dependency * fix compiling * fix running on SPDK * enable rocksdb, need to debug update * fix update * add SPDK & Rocksdb checkpoint function * pass test for checkpoint, todo: add persistentbuffer * add wal logic * Add ExtraFileController * Add ThreadPool and ReadBlocks * Add WriteBlocks * Add FileIO::BlockController::ShutDo()wn, IOStatisti();s, Modify FileIO::BlockController::ThreadPool() * Add FileIO::FileIO() * Add FileIO::{At(), Get(), Put(), ::BlockController::{Checkpoint(), Recovery()}}; Modify FileIO::BlockController::InitializeFileIo() * Add FileIO::Merge() * Roughly finish ExtraFileController * Pass the test * Add lock for FileIO * Remove InterlockedCompareExchange and fix ThreadPool timer * Try mem cache * Fixed bugs in mem cache * Remove log for mem cache * Debug version * Add Debug function * Fix bug in AddPages * modify ShutDown * Modify create file * Fix bug in ShutDown * Add monitor thread * Add Async IO * Fix bugs in IOStatistics * pre alloc iocb * Remove ThreadPool * Add KeyValueTest * Modify KeyValueTest * Finish KeyValueTest * Add Conflicting test * Add Merge test * Add timeout * Add new functions * Add FileIOInterface * Fix bugs in io setup * Remove useless statement * Add new apii * Add new api * Remove useless code * Add Scan * Add Write Cache (Still has bugs) * Modify implementation of LRUCache * Add Sharded LRU Cache * Modify IOStatistics * fix LoadIndex and FileIO BuildIndex * fix thread_local variable does not init * fix read * reclean the logs * add Script_AE * fix build and search * fix build + search * fix file io save and load issue * enable multifile setting * update build_spresh.sh to enable fileio build and update testing * update to vc143 * Merge SPFresh (#424) * Initial commit init from update version merged code backup continue update the initial work version fix ExtraDynamicSearcher fix vectorTranslateMap fix compiling issues fix compling fix compiling add merge add merge re-assign TODO: add steady state test init steady state test Init SPDKIO optimize split fix align_round modify steady state: delete after search modify trace need to figure out disk usage modify steadystate need to debug load index fix delete by metadata add spfresh exe finish benchmark steady state complete add KVTest fix compiling errors Init SPDKIO optimize split add KVTest fix compiling errors change update vector to partital read modify merge fix build mem impl fix correctness Refactor code add spdk as module add isal-l_crypto as submodule initial spdk integration build queue infra spdk working add reference bdev.json static spfresh search done need to debug split debug for GC/ReAssign finish debug for GC/ReAssign Add build guide for SPDK version remove rocksdb add timeout support for SPDK modify code for timeout support fix timeout bug fix writeblocks segmentation fault fix bug: SPDK init fail fix timeout bugs batch ReadBlocks add batchSize option add timeout support for batched I/O Refine Index debug refine modify for stress test change update from metadata to mapping modify add IOStatistics for SPDK change ssd size modify for stress test fix ssd usage bug fix io limit modify ssd size for stress test for io stat modify for io fix for stress test temporarily remove rebuild fix BKT bug merge changes from Index.h BKTIndex.cpp and RelativeNeighborhoodGraph.h add lock for mapping fix merge bug Improve README.md add loading exclude head modify length fix code with AE repo add checkpoint & move rocksdb to thirdparty fix zstd dependency fix compiling fix running on SPDK enable rocksdb, need to debug update fix update add SPDK & Rocksdb checkpoint function pass test for checkpoint, todo: add persistentbuffer add wal logic Add ExtraFileController Add ThreadPool and ReadBlocks Add WriteBlocks Add FileIO::BlockController::ShutDo()wn, IOStatisti();s, Modify FileIO::BlockController::ThreadPool() Add FileIO::FileIO() Add FileIO::{At(), Get(), Put(), ::BlockController::{Checkpoint(), Recovery()}}; Modify FileIO::BlockController::InitializeFileIo() Add FileIO::Merge() Roughly finish ExtraFileController Pass the test Add lock for FileIO Remove InterlockedCompareExchange and fix ThreadPool timer Try mem cache Fixed bugs in mem cache Remove log for mem cache Debug version Add Debug function Fix bug in AddPages modify ShutDown Modify create file Fix bug in ShutDown Add monitor thread Add Async IO Fix bugs in IOStatistics pre alloc iocb Remove ThreadPool Add KeyValueTest Modify KeyValueTest Finish KeyValueTest Add Conflicting test Add Merge test Add timeout Add new functions Add FileIOInterface Fix bugs in io setup Remove useless statement Add new apii Add new api Remove useless code Add Scan Add Write Cache (Still has bugs) Modify implementation of LRUCache Add Sharded LRU Cache Modify IOStatistics * fix LoadIndex and FileIO BuildIndex * fix thread_local variable does not init * fix read * reclean the logs * add Script_AE * fix build and search * fix build + search * fix compelling, temporarily remove virtual function in IExtraSearch.h * fix segementation fault at searching * fix compelling & add condition to include RocksDB & SPDK --------- Co-authored-by: MaggieQi <chenqi871025@gmail.com> Co-authored-by: Qi Chen <cheqi@microsoft.com> * merge AsyncFileReader and FileIO * fix Linux compiling * just backup * fix conflict with marco and Storage type * fix the compiling and runtime error * update log * add unit test for spfresh * fix compiling * update test * fix the search issue * add allfinish checking * add insert support * fix alloc and free mismatch * fix Clone and threadpool position in SPANN::Index * fix Save and Load Crash issue * fix read and write inifite loop issue * fix AlgoTest * fix iocp issue and iterator issue * add more log to see the shutdown issue * remove som statistice vectors * fix a small memory leak * fix readblocks issue * add debug info * fix addindex issue * add more debug information * merge file expansion * fix the Linux testing * make the unittest faster with small StartFileSizeGB * fix merge exceed limit issue * fix append split loop issue * fix iterative search test * Clean all the Initialize and ExitBlockController * Remove all the Initialize and ExitBlockController * remove all the ExitBlockController * fix compiling issue for SPDKIO * fix FileIOInterface * fix FileIOInterface * Add Windows SPFresh support * speedup the file compare * Spfresh windows (#426) * fix excludehead * fix RocksDB slice reference issue * fix writeBlock bug & expand file log error(GB size) * fix SPDKIO: temorarily replace RequestQueue * fix SPDK read write and also the posting page limit * fix compiling issue in linux * move aio related definition to AsyncFileReader * upgrade to vc143 for windows * remove timeout break * clear the index intime * clean test index dir * add buffer size into page buffer * fix testcases * recover PageSize in linux readbatch * Changing clone to class member instead. (#427) * move SPANN clone to VectorIndex * format all files * fix SPANNIndex compiling issue * add warning logs and configuration for io threads. * add guardian client * change exit() to ErrorCode * fix azure pipeline post analysis issues * fix the azure pipeline warnings and errors * add retry and error handling in SearchIndexWithoutParsing * fix BKT Iterative Search * add errorcode for iterator * Fix Checkpoint block merge issue * add RefineIndex and IterativeSearch test cases * fix linux compiling for spfresh * fix SPANN iterator scanned count * fix page limit in iterativetest * fix CombineVectorSets * fix read delete entry * fix truth generation * delay remove to get higher recall * fix RefineIndex * add more disk info * fix error propagation, infiniteloop and KDTTest issue * fix linux compiling issue. * fix TestLoadandSave metadata issue * fix IterativeScanTest * Adding check to avoid crash * reclaimmemory * return false when read/write blocks number is less than required. * fix global workspace id issue * fix compiling warning * fix RefineIndex dataset reuse issue * add extraSearcher available check before loadindex and buildindex * add Perf test * Add Filter in Iterator * fix compiling issue * fix WorkSpace functional header * fix AlgoTest * add more log and error handler * fix PostingSize < 0 issue and lock issue * change all openmp to normal thread * fix linux compiling * try to fix BKTTest issue * fix postingSize < 0 issue * Add ConsistencyCheck * Returning success (#433) * Add Check in IterativeSearchPerf Test. * fix the postingSize check * Add Checksum Support * add onecluster cut configuration, remove BKT check, and add BKT rebuild * fix Static Index Save * Disable Split and Reassgn get checksum check * add RefineIndex Check * fix RefineIndex and add large insert test * add more log for one cluster * add OneCluster configuration * fix datatype * fix dimension * add size check for each put and merge operation * remove global mt random * fix refine issue * add check right after put in split * set both consistency check and checksum check configurable * fix write error block or blockmapping leak issue * fix Debug BKT Clustering atomic add issue * fix the add perf * adjust the destroy order * Revert "fix Debug BKT Clustering atomic add issue" This reverts commit 03f051e. * add checksumInRead configuation * add mutable comments * provide distance convert between distance and cosine similarity * fix head global VID deleted issue * add check for deleted and dup. * add write cache * Add Test for Cache * fix SPFreshTest compiling issue * fix lock issue in cache * fix merge/get deadlock issue * fix cache string size * fix get size issue * Fix compacted ID mapping in SPFresh * maxsize special case * revert macro * fix size in get to avoid conflict * add append reorder * fix reorder append compiling issue * Add zeroreplica vectors in the end of buildindex * fix vectorTranslateMap empty in BuildIndex * fix Dataset Load * fix Windows compiling issues * add io_uring support * fix CMakeLists.txt typo * fix global workspace destoy issue * fix io uring compiling * fix writecache issue * fix iterative search in BKT to avoid dup results * relax postingSize limit in buildindex * enable merge * fix write cache lock and double free issue. * add RefineIndex Error return * optimize relaxed mono setting condition * fix compiling and add more checksum check * modify the iteratorSearch test cases to remove the resultCount check. --------- Co-authored-by: Hengyu Liang <lhy1210302421@mail.ustc.edu.cn> Co-authored-by: Yuming-Xu <xuyuming@mail.ustc.edu.cn> Co-authored-by: Hengyu Liang <lhy_ustc@mail.ustc.edu.cn> Co-authored-by: lml <liml@mail.ustc.edu.cn> Co-authored-by: Qi Chen <cheqi@microsoft.com> Co-authored-by: Yuming-Xu <56633988+Yuming-Xu@users.noreply.github.com> Co-authored-by: Avinash <bnavarma@gmail.com> Co-authored-by: Philip Adams <35666630+PhilipBAdams@users.noreply.github.com> Co-authored-by: Philip Adams <philipadams@microsoft.com>
1 parent 4ecf249 commit 286d89c

File tree

236 files changed

+29012
-9136
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+29012
-9136
lines changed

.clang-format

Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
---
2+
Language: Cpp
3+
# BasedOnStyle: Microsoft
4+
AccessModifierOffset: -2
5+
AlignAfterOpenBracket: Align
6+
AlignArrayOfStructures: None
7+
AlignConsecutiveMacros: None
8+
AlignConsecutiveAssignments: None
9+
AlignConsecutiveBitFields: None
10+
AlignConsecutiveDeclarations: None
11+
AlignEscapedNewlines: Right
12+
AlignOperands: Align
13+
AlignTrailingComments: true
14+
AllowAllArgumentsOnNextLine: true
15+
AllowAllParametersOfDeclarationOnNextLine: true
16+
AllowShortEnumsOnASingleLine: false
17+
AllowShortBlocksOnASingleLine: Never
18+
AllowShortCaseLabelsOnASingleLine: false
19+
AllowShortFunctionsOnASingleLine: None
20+
AllowShortLambdasOnASingleLine: All
21+
AllowShortIfStatementsOnASingleLine: Never
22+
AllowShortLoopsOnASingleLine: false
23+
AlwaysBreakAfterDefinitionReturnType: None
24+
AlwaysBreakAfterReturnType: None
25+
AlwaysBreakBeforeMultilineStrings: false
26+
AlwaysBreakTemplateDeclarations: MultiLine
27+
AttributeMacros:
28+
- __capability
29+
BinPackArguments: true
30+
BinPackParameters: true
31+
BraceWrapping:
32+
AfterCaseLabel: false
33+
AfterClass: true
34+
AfterControlStatement: Always
35+
AfterEnum: true
36+
AfterFunction: true
37+
AfterNamespace: true
38+
AfterObjCDeclaration: true
39+
AfterStruct: true
40+
AfterUnion: false
41+
AfterExternBlock: true
42+
BeforeCatch: true
43+
BeforeElse: true
44+
BeforeLambdaBody: false
45+
BeforeWhile: false
46+
IndentBraces: false
47+
SplitEmptyFunction: true
48+
SplitEmptyRecord: true
49+
SplitEmptyNamespace: true
50+
BreakBeforeBinaryOperators: None
51+
BreakBeforeConceptDeclarations: true
52+
BreakBeforeBraces: Custom
53+
BreakBeforeInheritanceComma: false
54+
BreakInheritanceList: BeforeColon
55+
BreakBeforeTernaryOperators: true
56+
BreakConstructorInitializersBeforeComma: false
57+
BreakConstructorInitializers: BeforeColon
58+
BreakAfterJavaFieldAnnotations: false
59+
BreakStringLiterals: true
60+
ColumnLimit: 120
61+
CommentPragmas: '^ IWYU pragma:'
62+
QualifierAlignment: Leave
63+
CompactNamespaces: false
64+
ConstructorInitializerIndentWidth: 4
65+
ContinuationIndentWidth: 4
66+
Cpp11BracedListStyle: true
67+
DeriveLineEnding: true
68+
DerivePointerAlignment: false
69+
DisableFormat: false
70+
EmptyLineAfterAccessModifier: Never
71+
EmptyLineBeforeAccessModifier: LogicalBlock
72+
ExperimentalAutoDetectBinPacking: false
73+
PackConstructorInitializers: BinPack
74+
BasedOnStyle: ''
75+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
76+
AllowAllConstructorInitializersOnNextLine: true
77+
FixNamespaceComments: true
78+
ForEachMacros:
79+
- foreach
80+
- Q_FOREACH
81+
- BOOST_FOREACH
82+
IfMacros:
83+
- KJ_IF_MAYBE
84+
IncludeBlocks: Preserve
85+
IncludeCategories:
86+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
87+
Priority: 2
88+
SortPriority: 0
89+
CaseSensitive: false
90+
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
91+
Priority: 3
92+
SortPriority: 0
93+
CaseSensitive: false
94+
- Regex: '.*'
95+
Priority: 1
96+
SortPriority: 0
97+
CaseSensitive: false
98+
IncludeIsMainRegex: '(Test)?$'
99+
IncludeIsMainSourceRegex: ''
100+
IndentAccessModifiers: false
101+
IndentCaseLabels: false
102+
IndentCaseBlocks: false
103+
IndentGotoLabels: true
104+
IndentPPDirectives: None
105+
IndentExternBlock: AfterExternBlock
106+
IndentRequires: false
107+
IndentWidth: 4
108+
IndentWrappedFunctionNames: false
109+
InsertTrailingCommas: None
110+
JavaScriptQuotes: Leave
111+
JavaScriptWrapImports: true
112+
KeepEmptyLinesAtTheStartOfBlocks: true
113+
LambdaBodyIndentation: Signature
114+
MacroBlockBegin: ''
115+
MacroBlockEnd: ''
116+
MaxEmptyLinesToKeep: 1
117+
NamespaceIndentation: None
118+
ObjCBinPackProtocolList: Auto
119+
ObjCBlockIndentWidth: 2
120+
ObjCBreakBeforeNestedBlockParam: true
121+
ObjCSpaceAfterProperty: false
122+
ObjCSpaceBeforeProtocolList: true
123+
PenaltyBreakAssignment: 2
124+
PenaltyBreakBeforeFirstCallParameter: 19
125+
PenaltyBreakComment: 300
126+
PenaltyBreakFirstLessLess: 120
127+
PenaltyBreakOpenParenthesis: 0
128+
PenaltyBreakString: 1000
129+
PenaltyBreakTemplateDeclaration: 10
130+
PenaltyExcessCharacter: 1000000
131+
PenaltyReturnTypeOnItsOwnLine: 1000
132+
PenaltyIndentedWhitespace: 0
133+
PointerAlignment: Right
134+
PPIndentWidth: -1
135+
ReferenceAlignment: Pointer
136+
ReflowComments: true
137+
RemoveBracesLLVM: false
138+
SeparateDefinitionBlocks: Leave
139+
ShortNamespaceLines: 1
140+
SortIncludes: CaseSensitive
141+
SortJavaStaticImport: Before
142+
SortUsingDeclarations: true
143+
SpaceAfterCStyleCast: false
144+
SpaceAfterLogicalNot: false
145+
SpaceAfterTemplateKeyword: true
146+
SpaceBeforeAssignmentOperators: true
147+
SpaceBeforeCaseColon: false
148+
SpaceBeforeCpp11BracedList: false
149+
SpaceBeforeCtorInitializerColon: true
150+
SpaceBeforeInheritanceColon: true
151+
SpaceBeforeParens: ControlStatements
152+
SpaceBeforeParensOptions:
153+
AfterControlStatements: true
154+
AfterForeachMacros: true
155+
AfterFunctionDefinitionName: false
156+
AfterFunctionDeclarationName: false
157+
AfterIfMacros: true
158+
AfterOverloadedOperator: false
159+
BeforeNonEmptyParentheses: false
160+
SpaceAroundPointerQualifiers: Default
161+
SpaceBeforeRangeBasedForLoopColon: true
162+
SpaceInEmptyBlock: false
163+
SpaceInEmptyParentheses: false
164+
SpacesBeforeTrailingComments: 1
165+
SpacesInAngles: Never
166+
SpacesInConditionalStatement: false
167+
SpacesInContainerLiterals: true
168+
SpacesInCStyleCastParentheses: false
169+
SpacesInLineCommentPrefix:
170+
Minimum: 1
171+
Maximum: -1
172+
SpacesInParentheses: false
173+
SpacesInSquareBrackets: false
174+
SpaceBeforeSquareBrackets: false
175+
BitFieldColonSpacing: Both
176+
Standard: Latest
177+
StatementAttributeLikeMacros:
178+
- Q_EMIT
179+
StatementMacros:
180+
- Q_UNUSED
181+
- QT_REQUIRE_VERSION
182+
TabWidth: 4
183+
UseCRLF: false
184+
UseTab: Never
185+
WhitespaceSensitiveMacros:
186+
- STRINGIZE
187+
- PP_STRINGIZE
188+
- BOOST_PP_STRINGIZE
189+
- NS_SWIFT_NAME
190+
- CF_SWIFT_NAME
191+
...
192+

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,12 @@
22
path = ThirdParty/zstd
33
url = https://github.com/facebook/zstd
44
branch = release
5+
[submodule "ThirdParty/spdk"]
6+
path = ThirdParty/spdk
7+
url = https://github.com/spdk/spdk
8+
[submodule "ThirdParty/isal-l_crypto"]
9+
path = ThirdParty/isal-l_crypto
10+
url = https://github.com/intel/isa-l_crypto
11+
[submodule "ThirdParty/RocksDB"]
12+
path = ThirdParty/RocksDB
13+
url = https://github.com/PtilopsisL/rocksdb

AnnService/Aggregator.vcxproj

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,16 @@
4242
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4343
<ConfigurationType>Application</ConfigurationType>
4444
<UseDebugLibraries>true</UseDebugLibraries>
45-
<PlatformToolset>v142</PlatformToolset>
45+
<PlatformToolset>v143</PlatformToolset>
4646
<CharacterSet>MultiByte</CharacterSet>
4747
</PropertyGroup>
4848
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4949
<ConfigurationType>Application</ConfigurationType>
5050
<UseDebugLibraries>false</UseDebugLibraries>
51-
<PlatformToolset>v142</PlatformToolset>
51+
<PlatformToolset>v143</PlatformToolset>
5252
<WholeProgramOptimization>true</WholeProgramOptimization>
5353
<CharacterSet>MultiByte</CharacterSet>
54+
<SpectreMitigation>Spectre</SpectreMitigation>
5455
</PropertyGroup>
5556
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
5657
<ImportGroup Label="ExtensionSettings">
@@ -132,11 +133,13 @@
132133
<ConformanceMode>true</ConformanceMode>
133134
<PreprocessorDefinitions>_MBCS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
134135
<LanguageStandard>stdcpp17</LanguageStandard>
136+
<ControlFlowGuard>Guard</ControlFlowGuard>
135137
</ClCompile>
136138
<Link>
137139
<EnableCOMDATFolding>true</EnableCOMDATFolding>
138140
<OptimizeReferences>true</OptimizeReferences>
139141
<AdditionalDependencies>CoreLibrary.lib;SocketLib.lib;%(AdditionalDependencies)</AdditionalDependencies>
142+
<CETCompat>true</CETCompat>
140143
</Link>
141144
</ItemDefinitionGroup>
142145
<ItemGroup>
@@ -158,26 +161,26 @@
158161
</ItemGroup>
159162
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
160163
<ImportGroup Label="ExtensionTargets">
161-
<Import Project="..\packages\boost.1.72.0.0\build\boost.targets" Condition="Exists('..\packages\boost.1.72.0.0\build\boost.targets')" />
162-
<Import Project="..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets" Condition="Exists('..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets')" />
163-
<Import Project="..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets" Condition="Exists('..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets')" />
164-
<Import Project="..\packages\boost_serialization-vc142.1.72.0.0\build\boost_serialization-vc142.targets" Condition="Exists('..\packages\boost_serialization-vc142.1.72.0.0\build\boost_serialization-vc142.targets')" />
165-
<Import Project="..\packages\boost_system-vc142.1.72.0.0\build\boost_system-vc142.targets" Condition="Exists('..\packages\boost_system-vc142.1.72.0.0\build\boost_system-vc142.targets')" />
166-
<Import Project="..\packages\boost_thread-vc142.1.72.0.0\build\boost_thread-vc142.targets" Condition="Exists('..\packages\boost_thread-vc142.1.72.0.0\build\boost_thread-vc142.targets')" />
167-
<Import Project="..\packages\boost_wserialization-vc142.1.72.0.0\build\boost_wserialization-vc142.targets" Condition="Exists('..\packages\boost_wserialization-vc142.1.72.0.0\build\boost_wserialization-vc142.targets')" />
168-
<Import Project="..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets" Condition="Exists('..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets')" />
164+
<Import Project="..\packages\boost.1.78.0\build\boost.targets" Condition="Exists('..\packages\boost.1.78.0\build\boost.targets')" />
165+
<Import Project="..\packages\boost_filesystem-vc143.1.78.0\build\boost_filesystem-vc143.targets" Condition="Exists('..\packages\boost_filesystem-vc143.1.78.0\build\boost_filesystem-vc143.targets')" />
166+
<Import Project="..\packages\boost_thread-vc143.1.78.0\build\boost_thread-vc143.targets" Condition="Exists('..\packages\boost_thread-vc143.1.78.0\build\boost_thread-vc143.targets')" />
167+
<Import Project="..\packages\boost_regex-vc143.1.78.0\build\boost_regex-vc143.targets" Condition="Exists('..\packages\boost_regex-vc143.1.78.0\build\boost_regex-vc143.targets')" />
168+
<Import Project="..\packages\boost_date_time-vc143.1.78.0\build\boost_date_time-vc143.targets" Condition="Exists('..\packages\boost_date_time-vc143.1.78.0\build\boost_date_time-vc143.targets')" />
169+
<Import Project="..\packages\boost_system-vc143.1.78.0\build\boost_system-vc143.targets" Condition="Exists('..\packages\boost_system-vc143.1.78.0\build\boost_system-vc143.targets')" />
170+
<Import Project="..\packages\boost_serialization-vc143.1.78.0\build\boost_serialization-vc143.targets" Condition="Exists('..\packages\boost_serialization-vc143.1.78.0\build\boost_serialization-vc143.targets')" />
171+
<Import Project="..\packages\boost_wserialization-vc143.1.78.0\build\boost_wserialization-vc143.targets" Condition="Exists('..\packages\boost_wserialization-vc143.1.78.0\build\boost_wserialization-vc143.targets')" />
169172
</ImportGroup>
170173
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
171174
<PropertyGroup>
172175
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
173176
</PropertyGroup>
174-
<Error Condition="!Exists('..\packages\boost.1.72.0.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost.1.72.0.0\build\boost.targets'))" />
175-
<Error Condition="!Exists('..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_date_time-vc142.1.72.0.0\build\boost_date_time-vc142.targets'))" />
176-
<Error Condition="!Exists('..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_regex-vc142.1.72.0.0\build\boost_regex-vc142.targets'))" />
177-
<Error Condition="!Exists('..\packages\boost_serialization-vc142.1.72.0.0\build\boost_serialization-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_serialization-vc142.1.72.0.0\build\boost_serialization-vc142.targets'))" />
178-
<Error Condition="!Exists('..\packages\boost_system-vc142.1.72.0.0\build\boost_system-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_system-vc142.1.72.0.0\build\boost_system-vc142.targets'))" />
179-
<Error Condition="!Exists('..\packages\boost_thread-vc142.1.72.0.0\build\boost_thread-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_thread-vc142.1.72.0.0\build\boost_thread-vc142.targets'))" />
180-
<Error Condition="!Exists('..\packages\boost_wserialization-vc142.1.72.0.0\build\boost_wserialization-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_wserialization-vc142.1.72.0.0\build\boost_wserialization-vc142.targets'))" />
181-
<Error Condition="!Exists('..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets'))" />
177+
<Error Condition="!Exists('..\packages\boost.1.78.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost.1.78.0\build\boost.targets'))" />
178+
<Error Condition="!Exists('..\packages\boost_filesystem-vc143.1.78.0\build\boost_filesystem-vc143.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_filesystem-vc143.1.78.0\build\boost_filesystem-vc143.targets'))" />
179+
<Error Condition="!Exists('..\packages\boost_thread-vc143.1.78.0\build\boost_thread-vc143.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_thread-vc143.1.78.0\build\boost_thread-vc143.targets'))" />
180+
<Error Condition="!Exists('..\packages\boost_regex-vc143.1.78.0\build\boost_regex-vc143.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_regex-vc143.1.78.0\build\boost_regex-vc143.targets'))" />
181+
<Error Condition="!Exists('..\packages\boost_date_time-vc143.1.78.0\build\boost_date_time-vc143.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_date_time-vc143.1.78.0\build\boost_date_time-vc143.targets'))" />
182+
<Error Condition="!Exists('..\packages\boost_system-vc143.1.78.0\build\boost_system-vc143.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_system-vc143.1.78.0\build\boost_system-vc143.targets'))" />
183+
<Error Condition="!Exists('..\packages\boost_serialization-vc143.1.78.0\build\boost_serialization-vc143.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_serialization-vc143.1.78.0\build\boost_serialization-vc143.targets'))" />
184+
<Error Condition="!Exists('..\packages\boost_wserialization-vc143.1.78.0\build\boost_wserialization-vc143.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\boost_wserialization-vc143.1.78.0\build\boost_wserialization-vc143.targets'))" />
182185
</Target>
183186
</Project>

AnnService/BalancedDataPartition.vcxproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@
4242
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4343
<ConfigurationType>Application</ConfigurationType>
4444
<UseDebugLibraries>true</UseDebugLibraries>
45-
<PlatformToolset>v142</PlatformToolset>
45+
<PlatformToolset>v143</PlatformToolset>
4646
<CharacterSet>MultiByte</CharacterSet>
4747
</PropertyGroup>
4848
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4949
<ConfigurationType>Application</ConfigurationType>
5050
<UseDebugLibraries>false</UseDebugLibraries>
51-
<PlatformToolset>v142</PlatformToolset>
51+
<PlatformToolset>v143</PlatformToolset>
5252
<WholeProgramOptimization>true</WholeProgramOptimization>
5353
<CharacterSet>MultiByte</CharacterSet>
5454
</PropertyGroup>
@@ -95,6 +95,7 @@
9595
<OpenMPSupport>true</OpenMPSupport>
9696
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
9797
<LanguageStandard>stdcpp17</LanguageStandard>
98+
<ControlFlowGuard>Guard</ControlFlowGuard>
9899
</ClCompile>
99100
<Link>
100101
<EnableCOMDATFolding>true</EnableCOMDATFolding>

0 commit comments

Comments
 (0)