Use an optimized mirror for libdwarf

This commit is contained in:
Jeremy 2023-11-13 11:48:15 -05:00
parent fd5dc92a2c
commit 8297d234f6
No known key found for this signature in database
GPG Key ID: B4C8300FEC395042

View File

@ -330,8 +330,11 @@ if(CPPTRACE_GET_SYMBOLS_WITH_LIBDWARF)
include(FetchContent)
FetchContent_Declare(
libdwarf
GIT_REPOSITORY https://github.com/jeremy-rifkin/libdwarf-code.git
GIT_TAG 6216e185863f41d6f19ab850caabfff7326020d7 # v0.8.0
# GIT_REPOSITORY https://github.com/jeremy-rifkin/libdwarf-code.git
# GIT_TAG 6216e185863f41d6f19ab850caabfff7326020d7 # v0.8.0
# Using a lightweight mirror that's optimized for clone + configure speed
GIT_REPOSITORY https://github.com/jeremy-rifkin/libdwarf-lite.git
GIT_TAG c78e984f3abbd20f6e01d6f51819e826b1691f65
GIT_SHALLOW 1
)
FetchContent_MakeAvailable(libdwarf)