diff options
| author | Crucible <crucible@localhost> | 2026-09-27 12:24:23 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-27 12:24:23 -0500 |
| commit | 18a2245b637f88ed99cb70e5d207d4423848c8e4 (patch) | |
| tree | fda8f0351a1fd5180aa9aaad1567eba8f360757c /dev-cpp | |
| parent | aba64ab3634d0abde4e8efa812a0c5a4ee412f3a (diff) | |
| download | srcux-18a2245b637f88ed99cb70e5d207d4423848c8e4.tar.gz srcux-18a2245b637f88ed99cb70e5d207d4423848c8e4.tar.xz srcux-18a2245b637f88ed99cb70e5d207d4423848c8e4.zip | |
Publish srcux candidate 0000000497-20260927-122227
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/glaze/files/glaze-8.1.0-unbundle-test-deps.patch | 42 | ||||
| -rw-r--r-- | dev-cpp/glaze/glaze-8.1.0.ebuild | 5 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-cpp/glaze/files/glaze-8.1.0-unbundle-test-deps.patch b/dev-cpp/glaze/files/glaze-8.1.0-unbundle-test-deps.patch new file mode 100644 index 000000000000..4630960c0ebc --- /dev/null +++ b/dev-cpp/glaze/files/glaze-8.1.0-unbundle-test-deps.patch @@ -0,0 +1,42 @@ +diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt +index 4f4b781c..92e1e47f 100644 +--- a/tests/CMakeLists.txt ++++ b/tests/CMakeLists.txt +@@ -1,17 +1,9 @@ + include(FetchContent) + +-FetchContent_Declare( +- ut +- GIT_REPOSITORY https://github.com/openalgz/ut +- GIT_TAG v1.2.1 +- GIT_SHALLOW TRUE +-) ++find_package(ut2-glaze REQUIRED) + + message(STATUS "Fetching dependencies...") + set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE) +-set(CMAKE_SKIP_INSTALL_RULES ON CACHE BOOL "" FORCE) +-FetchContent_MakeAvailable(ut) +-set(CMAKE_SKIP_INSTALL_RULES OFF CACHE BOOL "" FORCE) + set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL FALSE) + message(STATUS "...finished fetching dependencies.") + +@@ -33,7 +25,7 @@ option(glaze_ENABLE_SANITIZERS "Enable AddressSanitizer and UndefinedBehaviorSan + + add_library(glz_test_common INTERFACE) + target_compile_features(glz_test_common INTERFACE cxx_std_23) +-target_link_libraries(glz_test_common INTERFACE ut::ut glaze::glaze glaze::asio) ++target_link_libraries(glz_test_common INTERFACE ut2-glaze::ut2-glaze glaze::glaze glaze::asio) + # scratch_directory.hpp, included by the suites that write files to isolate themselves + target_include_directories(glz_test_common INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) + +@@ -59,7 +51,7 @@ endif() + + add_library(glz_test_exceptions INTERFACE) + target_compile_features(glz_test_exceptions INTERFACE cxx_std_23) +-target_link_libraries(glz_test_exceptions INTERFACE ut::ut glaze::glaze glaze::asio) ++target_link_libraries(glz_test_exceptions INTERFACE ut2-glaze::ut2-glaze glaze::glaze glaze::asio) + target_include_directories(glz_test_exceptions INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) + if(MSVC) + target_compile_options(glz_test_exceptions INTERFACE /GR- /bigobj) + diff --git a/dev-cpp/glaze/glaze-8.1.0.ebuild b/dev-cpp/glaze/glaze-8.1.0.ebuild index c87b505c179c..8473b1ff1a0a 100644 --- a/dev-cpp/glaze/glaze-8.1.0.ebuild +++ b/dev-cpp/glaze/glaze-8.1.0.ebuild @@ -28,6 +28,11 @@ DEPEND=" " RDEPEND="${DEPEND}" +# Unbundle test dependencies otherwise they are fetched from github at build time +PATCHES=( + "${FILESDIR}/${P}-unbundle-test-deps.patch" +) + src_configure() { local mycmakeargs=( -DCMAKE_SKIP_INSTALL_RULES=OFF |
