mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
Fetch missing dependency for crashpad on linux (#30957)
Note that this does not change the fact that crashpad is marked as unsupported, but it makes the build work now with `--allow-unsupported`. The build seems to work fine if the default compiler is set to clang, it does not build with gcc, which is probably why it's marked as unsupported. Co-authored-by: Martijn Otto <martijn@resolume.com>
This commit is contained in:
parent
ec4a7d72b1
commit
38b5cc29ab
@ -30,6 +30,15 @@ checkout_in_path(
|
||||
"5654edb4225bcad13901155c819febb5748e502b"
|
||||
)
|
||||
|
||||
if(VCPKG_TARGET_IS_LINUX)
|
||||
# fetch lss
|
||||
checkout_in_path(
|
||||
"${SOURCE_PATH}/third_party/lss/lss"
|
||||
https://chromium.googlesource.com/linux-syscall-support
|
||||
9719c1e1e676814c456b55f5f070eabad6709d31
|
||||
)
|
||||
endif()
|
||||
|
||||
function(replace_gn_dependency INPUT_FILE OUTPUT_FILE LIBRARY_NAMES)
|
||||
unset(_LIBRARY_DEB CACHE)
|
||||
find_library(_LIBRARY_DEB NAMES ${LIBRARY_NAMES}
|
||||
|
@ -1,14 +1,14 @@
|
||||
{
|
||||
"name": "crashpad",
|
||||
"version-date": "2022-09-05",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": [
|
||||
"Crashpad is a crash-reporting system.",
|
||||
"Crashpad is a library for capturing, storing and transmitting postmortem crash reports from a client to an upstream collection server. Crashpad aims to make it possible for clients to capture process state at the time of crash with the best possible fidelity and coverage, with the minimum of fuss."
|
||||
],
|
||||
"homepage": "https://chromium.googlesource.com/crashpad/crashpad/+/master/README.md",
|
||||
"license": "Apache-2.0",
|
||||
"supports": "osx | (windows & !uwp)",
|
||||
"supports": "linux | osx | (windows & !uwp)",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake-get-vars",
|
||||
|
@ -175,6 +175,7 @@ cppcoro:x64-uwp=fail
|
||||
# This is known to work on x64-linux as of gcc 10.3.0.
|
||||
cppgraphqlgen:x64-linux=fail
|
||||
crashpad:arm-uwp=fail
|
||||
crashpad:x64-linux=fail
|
||||
cuda:x64-osx=fail
|
||||
# Since pipeline cannot automatically install dbghelp dependency, skip this detection
|
||||
dbghelp:arm-uwp=skip
|
||||
|
@ -1846,7 +1846,7 @@
|
||||
},
|
||||
"crashpad": {
|
||||
"baseline": "2022-09-05",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"crashrpt": {
|
||||
"baseline": "1.4.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "63c757af964d6d69f6abdeb0a3849889ad3531a9",
|
||||
"version-date": "2022-09-05",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "699f5caaac594c10928ddf73ba45e64ad764252f",
|
||||
"version-date": "2022-09-05",
|
||||
|
Loading…
x
Reference in New Issue
Block a user