From 6f80f01b3bfe9a22a1b3f1a632015e9e98cbdf21 Mon Sep 17 00:00:00 2001 From: RealTimeChris <40668522+RealTimeChris@users.noreply.github.com> Date: Tue, 23 Jun 2026 22:20:08 -0400 Subject: [PATCH] [jsonifier] update to [v1.0.0] [rtc-benchmarksuite] update to v1.0.5 [discordcoreapi] deindex (#52546) Co-authored-by: Billy Robert O'Neal III --- ports/discordcoreapi/portfile.cmake | 38 ------------------------- ports/discordcoreapi/vcpkg.json | 22 -------------- ports/jsonifier/portfile.cmake | 34 +++++++++++----------- ports/jsonifier/vcpkg.json | 2 +- ports/rtc-benchmarksuite/portfile.cmake | 6 ++-- ports/rtc-benchmarksuite/vcpkg.json | 2 +- versions/baseline.json | 8 ++---- versions/j-/jsonifier.json | 5 ++++ versions/r-/rtc-benchmarksuite.json | 5 ++++ 9 files changed, 34 insertions(+), 88 deletions(-) delete mode 100644 ports/discordcoreapi/portfile.cmake delete mode 100644 ports/discordcoreapi/vcpkg.json diff --git a/ports/discordcoreapi/portfile.cmake b/ports/discordcoreapi/portfile.cmake deleted file mode 100644 index eb99479b29..0000000000 --- a/ports/discordcoreapi/portfile.cmake +++ /dev/null @@ -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") diff --git a/ports/discordcoreapi/vcpkg.json b/ports/discordcoreapi/vcpkg.json deleted file mode 100644 index f15ce5e973..0000000000 --- a/ports/discordcoreapi/vcpkg.json +++ /dev/null @@ -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 - } - ] -} diff --git a/ports/jsonifier/portfile.cmake b/ports/jsonifier/portfile.cmake index 22d4b01a37..05b990d199 100644 --- a/ports/jsonifier/portfile.cmake +++ b/ports/jsonifier/portfile.cmake @@ -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") diff --git a/ports/jsonifier/vcpkg.json b/ports/jsonifier/vcpkg.json index 1d9196252a..f0b63c92d4 100644 --- a/ports/jsonifier/vcpkg.json +++ b/ports/jsonifier/vcpkg.json @@ -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", diff --git a/ports/rtc-benchmarksuite/portfile.cmake b/ports/rtc-benchmarksuite/portfile.cmake index a304ba5778..f280f8ed27 100644 --- a/ports/rtc-benchmarksuite/portfile.cmake +++ b/ports/rtc-benchmarksuite/portfile.cmake @@ -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}" diff --git a/ports/rtc-benchmarksuite/vcpkg.json b/ports/rtc-benchmarksuite/vcpkg.json index 74d1da874f..ce62300bec 100644 --- a/ports/rtc-benchmarksuite/vcpkg.json +++ b/ports/rtc-benchmarksuite/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index 209b4396c5..2d143c9098 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -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": { diff --git a/versions/j-/jsonifier.json b/versions/j-/jsonifier.json index 998079574e..3f6bd1e036 100644 --- a/versions/j-/jsonifier.json +++ b/versions/j-/jsonifier.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "3a8dace2df243b3c7458fd7840fb2f232c1a85f4", + "version": "1.0.0", + "port-version": 0 + }, { "git-tree": "1c74184d63d1f960f3abc909d45469b454b30c9f", "version": "0.9.98", diff --git a/versions/r-/rtc-benchmarksuite.json b/versions/r-/rtc-benchmarksuite.json index 4aa25889e0..471e70eefd 100644 --- a/versions/r-/rtc-benchmarksuite.json +++ b/versions/r-/rtc-benchmarksuite.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ad0e199673c5baea55259ad6a811913a2e7a5905", + "version": "1.0.5", + "port-version": 0 + }, { "git-tree": "412ab86bc1eda796b9b3ea868f61b20ba05fcb30", "version": "1.0.4",