mirror of https://github.com/microsoft/vcpkg.git
[jsonifier] update to [v1.0.0] [rtc-benchmarksuite] update to v1.0.5 [discordcoreapi] deindex (#52546)
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
parent
7b4a20365d
commit
6f80f01b3b
|
|
@ -1,38 +0,0 @@
|
|||
if(VCPKG_TARGET_IS_LINUX)
|
||||
message(WARNING "DiscordCoreAPI only supports g++ 11 on linux.")
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO RealTimeChris/DiscordCoreAPI
|
||||
REF "v${VERSION}"
|
||||
SHA512 d977ed7d8805f0b110450d3baf0256eae11ecc25947496c657a9c9b17aa9222db92435f28ebd924c166927e4714b3e9ae388f64836175cc96b78b08315031ede
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
# discordcoreapi consumes extreme amounts of memory (>9GB per .cpp file). With our default
|
||||
# concurrency values this causes hanging and/or OOM killing on Linux build machines and
|
||||
# warnings on the Windows machines like:
|
||||
# #[warning]Free memory is lower than 5%; Currently used: 99.99%
|
||||
# #[warning]Free memory is lower than 5%; Currently used: 99.99%
|
||||
# #[warning]Free memory is lower than 5%; Currently used: 99.99%
|
||||
# Cut the requested concurrency in quarter to avoid this.
|
||||
if(VCPKG_CONCURRENCY GREATER 4)
|
||||
math(EXPR VCPKG_CONCURRENCY "${VCPKG_CONCURRENCY} / 4")
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(NO_PREFIX_CORRECTION)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/License.md")
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
"name": "discordcoreapi",
|
||||
"version": "2.0.8",
|
||||
"description": "A Discord bot library written in C++ using custom asynchronous coroutines.",
|
||||
"homepage": "https://discordcoreapi.com",
|
||||
"license": "MIT",
|
||||
"supports": "(windows & x64 & !xbox) | (linux & x64) | (osx & x64)",
|
||||
"dependencies": [
|
||||
"jsonifier",
|
||||
"libsodium",
|
||||
"openssl",
|
||||
"opus",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,17 +1,17 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO realtimechris/jsonifier
|
||||
REF "v${VERSION}"
|
||||
SHA512 d6465426218429a1597fa66b2d8cb912bce00831d663be7b8ea406267537dd6f455c1b99c3c8551dd8165a75d9dbe42fefedbad5979eb45d01e0286f08daad96
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release) # header-only
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/License.md")
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO realtimechris/jsonifier
|
||||
REF "v${VERSION}"
|
||||
SHA512 d417e8da4c4f64b7a37d70c85343daae46f52e72d5b0043b076fc5e18a0642cce7f5214aee7029b2acfb5953300977c5538f99098f0925fabc1199279408b820
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/License.md")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "jsonifier",
|
||||
"version": "0.9.98",
|
||||
"version": "1.0.0",
|
||||
"description": "A few classes for parsing and serializing json - very rapidly.",
|
||||
"homepage": "https://github.com/realtimechris/jsonifier",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO realtimechris/benchmarksuite
|
||||
REF "v${VERSION}"
|
||||
SHA512 5f10d9c9b57d1e6e8826516ed6fd04af78360731cda378e379ea7d1a8ce651c00558d19722e80129539498a55ecadf13ac7e75b13cedeaee3174805eba026955
|
||||
REF "v${VERSION}"
|
||||
SHA512 8fd2254289952d2f9a1697cde1f3ee7b278ad5e00a38c49a0f114d311e504deed9d05b2b482aa05d3d6f1289e27477b107cb83b969bdf7dfa0cb04c0b6649c1c
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
set(VCPKG_BUILD_TYPE release) # header-only
|
||||
set(VCPKG_BUILD_TYPE release)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "rtc-benchmarksuite",
|
||||
"version": "1.0.4",
|
||||
"version": "1.0.5",
|
||||
"description": "A header-only C++ benchmarking library with cross-platform hardware performance counter integration, providing precise measurements of cycles, instructions, branches, cache behavior, and throughput with minimal overhead.",
|
||||
"homepage": "https://github.com/realtimechris/benchmarksuite",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
|
|
@ -2556,10 +2556,6 @@
|
|||
"baseline": "3.4.0",
|
||||
"port-version": 4
|
||||
},
|
||||
"discordcoreapi": {
|
||||
"baseline": "2.0.8",
|
||||
"port-version": 0
|
||||
},
|
||||
"discount": {
|
||||
"baseline": "3.0.0d",
|
||||
"port-version": 0
|
||||
|
|
@ -4229,7 +4225,7 @@
|
|||
"port-version": 0
|
||||
},
|
||||
"jsonifier": {
|
||||
"baseline": "0.9.98",
|
||||
"baseline": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"jsonnet": {
|
||||
|
|
@ -8969,7 +8965,7 @@
|
|||
"port-version": 1
|
||||
},
|
||||
"rtc-benchmarksuite": {
|
||||
"baseline": "1.0.4",
|
||||
"baseline": "1.0.5",
|
||||
"port-version": 0
|
||||
},
|
||||
"rtlsdr": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3a8dace2df243b3c7458fd7840fb2f232c1a85f4",
|
||||
"version": "1.0.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "1c74184d63d1f960f3abc909d45469b454b30c9f",
|
||||
"version": "0.9.98",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ad0e199673c5baea55259ad6a811913a2e7a5905",
|
||||
"version": "1.0.5",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "412ab86bc1eda796b9b3ea868f61b20ba05fcb30",
|
||||
"version": "1.0.4",
|
||||
|
|
|
|||
Loading…
Reference in New Issue