зеркало из https://github.com/microsoft/vcpkg.git
Родитель
7f461d51b2
Коммит
3e8c7ff5d6
|
@ -1,3 +1,10 @@
|
||||||
|
vcpkg_download_distfile(
|
||||||
|
GCC_11_PATCH
|
||||||
|
URLS https://github.com/baidu/braft/commit/361ef01185b88baf90b7926f992c8e71fc4aefc2.patch?full_index=1
|
||||||
|
SHA512 245470404885cc8a903893fbcde201b892d0b160d7c1f09758f20c83a0d8f476f4512ee8091aa7a1d3798c8315eb0dae8e9a8da7af8425df62ab6f837b025392
|
||||||
|
FILENAME 361ef01185b88baf90b7926f992c8e71fc4aefc2.patch
|
||||||
|
)
|
||||||
|
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO baidu/braft
|
REPO baidu/braft
|
||||||
|
@ -8,6 +15,7 @@ vcpkg_from_github(
|
||||||
fix-build.patch
|
fix-build.patch
|
||||||
fix-dependency.patch
|
fix-dependency.patch
|
||||||
export-target.patch
|
export-target.patch
|
||||||
|
"${GCC_11_PATCH}"
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_cmake_configure(
|
vcpkg_cmake_configure(
|
||||||
|
@ -16,6 +24,7 @@ vcpkg_cmake_configure(
|
||||||
-DBRPC_WITH_GLOG=ON
|
-DBRPC_WITH_GLOG=ON
|
||||||
-DBUILD_TOOLS=OFF
|
-DBUILD_TOOLS=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_cmake_install()
|
vcpkg_cmake_install()
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "braft",
|
"name": "braft",
|
||||||
"version-date": "2021-26-04",
|
"version-date": "2021-26-04",
|
||||||
"description": "Consesus algorithm library",
|
"port-version": 1,
|
||||||
|
"description": "Consensus algorithm library",
|
||||||
"homepage": "https://github.com/baidu/braft",
|
"homepage": "https://github.com/baidu/braft",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"supports": "!windows",
|
"supports": "!windows",
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "774dbc3ef386eed16fd345f23109f94a899f39e8",
|
||||||
|
"version-date": "2021-26-04",
|
||||||
|
"port-version": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "d9afe1afea46ce35f64aaed5c2702c34113fe683",
|
"git-tree": "d9afe1afea46ce35f64aaed5c2702c34113fe683",
|
||||||
"version-date": "2021-26-04",
|
"version-date": "2021-26-04",
|
||||||
|
|
|
@ -1250,7 +1250,7 @@
|
||||||
},
|
},
|
||||||
"braft": {
|
"braft": {
|
||||||
"baseline": "2021-26-04",
|
"baseline": "2021-26-04",
|
||||||
"port-version": 0
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"breakpad": {
|
"breakpad": {
|
||||||
"baseline": "2022-07-12",
|
"baseline": "2022-07-12",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче