Skip to content

Commit 506b79e

Browse files
build swift-lmdb using cmake
1 parent d2d830f commit 506b79e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

utils/build.ps1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,6 +2439,17 @@ function Test-Format {
24392439
}
24402440
}
24412441

2442+
function Build-LMDB() {
2443+
Build-SPMProject `
2444+
-Action Build `
2445+
-Src $SourceCache\swift-lmdb `
2446+
-Bin (Get-HostProjectBinaryCache LMDB) `
2447+
-Arch $HostArch `
2448+
-Platform Windows `
2449+
-UseBuiltCompilers C `
2450+
-BuildTargets default
2451+
}
2452+
24422453
function Build-IndexStoreDB($Arch) {
24432454
$SDKInstallRoot = (Get-HostSwiftSDK);
24442455

@@ -2837,6 +2848,7 @@ if (-not $SkipBuild) {
28372848
Invoke-BuildStep Build-PackageManager $HostArch
28382849
Invoke-BuildStep Build-Markdown $HostArch
28392850
Invoke-BuildStep Build-Format $HostArch
2851+
Invoke-BuildStep Build-LMDB $HostArch
28402852
Invoke-BuildStep Build-IndexStoreDB $HostArch
28412853
Invoke-BuildStep Build-SourceKitLSP $HostArch
28422854
}

0 commit comments

Comments
 (0)