diff --git a/utils/build.ps1 b/utils/build.ps1 index b76933e98a8ef..6053c5ec73d68 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -2439,6 +2439,15 @@ function Test-Format { } } +function Build-LMDB($Arch) { + Build-CMakeProject ` + -Src $SourceCache\swift-lmdb ` + -Bin (Get-HostProjectBinaryCache LMDB) ` + -Arch $Arch ` + -UseMSVCCompilers C ` + -BuildTargets default +} + function Build-IndexStoreDB($Arch) { $SDKInstallRoot = (Get-HostSwiftSDK); @@ -2454,6 +2463,7 @@ function Build-IndexStoreDB($Arch) { BUILD_SHARED_LIBS = "NO"; CMAKE_C_FLAGS = @("-I$SDKInstallRoot\usr\include", "-I$SDKInstallRoot\usr\include\Block"); CMAKE_CXX_FLAGS = @("-I$SDKInstallRoot\usr\include", "-I$SDKInstallRoot\usr\include\Block"); + LMDB_DIR = (Get-HostProjectCMakeModules LMDB); } } @@ -2837,6 +2847,7 @@ if (-not $SkipBuild) { Invoke-BuildStep Build-PackageManager $HostArch Invoke-BuildStep Build-Markdown $HostArch Invoke-BuildStep Build-Format $HostArch + Invoke-BuildStep Build-LMDB $HostArch Invoke-BuildStep Build-IndexStoreDB $HostArch Invoke-BuildStep Build-SourceKitLSP $HostArch }