From 26624d4314f3e85a72a724a638a46fe677632912 Mon Sep 17 00:00:00 2001 From: YR Chen Date: Sat, 20 Aug 2022 23:17:06 +0800 Subject: [PATCH] [Windows] Add `vcpkg` manifests. `vcpkg` uses a JSON manifest file to specify dependencies, and we keep all the manifests here as part of build infrastructure. --- shared/Foundation/vcpkg.json | 14 ++++++++++++++ shared/LLBuild/vcpkg.json | 10 ++++++++++ shared/TSC/vcpkg.json | 10 ++++++++++ 3 files changed, 34 insertions(+) create mode 100644 shared/Foundation/vcpkg.json create mode 100644 shared/LLBuild/vcpkg.json create mode 100644 shared/TSC/vcpkg.json diff --git a/shared/Foundation/vcpkg.json b/shared/Foundation/vcpkg.json new file mode 100644 index 00000000..62082a52 --- /dev/null +++ b/shared/Foundation/vcpkg.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json", + "name": "swift-foundation", + "version-string": "main", + "builtin-baseline": "44d94c2edbd44f0c01d66c2ad95eb6982a9a61bc", + "dependencies": [ + { "name": "curl", "default-features": false }, + "libxml2" + ], + "overrides": [ + { "name": "curl", "version": "7.78.0" }, + { "name": "libxml2", "version": "2.9.12" } + ] +} \ No newline at end of file diff --git a/shared/LLBuild/vcpkg.json b/shared/LLBuild/vcpkg.json new file mode 100644 index 00000000..ff270d22 --- /dev/null +++ b/shared/LLBuild/vcpkg.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json", + "name": "swift-llbuild", + "version-string": "main", + "builtin-baseline": "44d94c2edbd44f0c01d66c2ad95eb6982a9a61bc", + "dependencies": ["sqlite3"], + "overrides": [ + { "name": "sqlite3", "version": "3.36.0" } + ] +} \ No newline at end of file diff --git a/shared/TSC/vcpkg.json b/shared/TSC/vcpkg.json new file mode 100644 index 00000000..b6ad3c2e --- /dev/null +++ b/shared/TSC/vcpkg.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json", + "name": "swift-tools-support-core", + "version-string": "main", + "builtin-baseline": "44d94c2edbd44f0c01d66c2ad95eb6982a9a61bc", + "dependencies": ["sqlite3"], + "overrides": [ + { "name": "sqlite3", "version": "3.36.0" } + ] +} \ No newline at end of file