Spaces:
Sleeping
Sleeping
6b450b83d08b9845201df413285be20e4b4924c10418b4bbe2c6216f2a2c3715
Browse files- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blaze/portfile.cmake +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blaze/vcpkg.json +11 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blend2d/portfile.cmake +59 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blend2d/usage +1 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blend2d/vcpkg.json +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blitz/portfile.cmake +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blitz/vcpkg.json +22 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blosc/0001-find-deps.patch +52 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blosc/0002-export-blosc-config.patch +66 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blosc/portfile.cmake +45 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/blosc/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boinc/001-add-openssl3-support.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boinc/CMakeLists.txt +238 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boinc/portfile.cmake +48 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boinc/vcpkg.json +20 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bond/fix-install-path.patch +56 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bond/portfile.cmake +74 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bond/skip-grpc-compilation.patch +11 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/bond/vcpkg.json +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boolinq/portfile.cmake +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boolinq/vcpkg.json +6 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-accumulators/portfile.cmake +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-accumulators/vcpkg.json +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-algorithm/portfile.cmake +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-algorithm/vcpkg.json +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-align/portfile.cmake +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-align/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-any/portfile.cmake +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-any/vcpkg.json +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-array/portfile.cmake +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-array/vcpkg.json +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-asio/portfile.cmake +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-asio/vcpkg.json +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-asio/windows_alloca_header.patch +15 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-assert/portfile.cmake +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-assert/vcpkg.json +10 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-assign/portfile.cmake +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-assign/vcpkg.json +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-atomic/0001-fix-compilation-for-uwp.patch +81 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-atomic/portfile.cmake +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-atomic/vcpkg.json +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-beast/portfile.cmake +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-beast/vcpkg.json +30 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-bimap/portfile.cmake +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-bimap/vcpkg.json +23 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-bind/portfile.cmake +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-bind/vcpkg.json +11 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost/portfile.cmake +1 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost/usage +5 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost/vcpkg.json +205 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blaze/portfile.cmake
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_bitbucket(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO blaze-lib/blaze
|
4 |
+
REF 0380370f0626de2ad0ec7ea815803e22bbf6b42e
|
5 |
+
SHA512 47df2a291febf0565787ed9c4222ee1958d03c5b76c54923e4d8e44f75321c266e81d69ba4512a4ab07d7e431c065d025e01269cf9c1d5f0927f133885def4c7
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
fix-vm-build.patch
|
9 |
+
)
|
10 |
+
|
11 |
+
vcpkg_configure_cmake(
|
12 |
+
SOURCE_PATH ${SOURCE_PATH}
|
13 |
+
PREFER_NINJA
|
14 |
+
OPTIONS
|
15 |
+
-DBLAZE_SMP_THREADS=OpenMP
|
16 |
+
)
|
17 |
+
|
18 |
+
vcpkg_install_cmake()
|
19 |
+
|
20 |
+
vcpkg_fixup_cmake_targets(CONFIG_PATH share/blaze/cmake)
|
21 |
+
|
22 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
|
23 |
+
|
24 |
+
# Handle copyright
|
25 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blaze/vcpkg.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "blaze",
|
3 |
+
"version-string": "3.8",
|
4 |
+
"port-version": 2,
|
5 |
+
"description": "Blaze is an open-source, high-performance C++ math library for dense and sparse arithmetic.",
|
6 |
+
"homepage": "https://bitbucket.org/blaze-lib/blaze",
|
7 |
+
"dependencies": [
|
8 |
+
"boost-exception",
|
9 |
+
"lapack"
|
10 |
+
]
|
11 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blend2d/portfile.cmake
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO blend2d/blend2d
|
4 |
+
REF 63db360c7eb2c1c3ca9cd92a867dbb23dc95ca7d
|
5 |
+
SHA512 cf83dd36e51fc92587633dec315b3ad8570137ab0b58836c43b8c73ba934dfc0ad03a58e633bd76b79753b12831007c2a5b3fde237d671594c62a3919507c39a
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BLEND2D_STATIC)
|
10 |
+
|
11 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
12 |
+
INVERTED_FEATURES
|
13 |
+
futex BLEND2D_NO_FUTEX
|
14 |
+
jit BLEND2D_NO_JIT
|
15 |
+
logging BLEND2D_NO_JIT_LOGGING
|
16 |
+
tls BLEND2D_NO_TLS
|
17 |
+
)
|
18 |
+
|
19 |
+
if(NOT BLEND2D_NO_JIT)
|
20 |
+
vcpkg_from_github(
|
21 |
+
OUT_SOURCE_PATH ASMJIT_SOURCE_PATH
|
22 |
+
REPO asmjit/asmjit
|
23 |
+
REF a4e1e88374142f4a842892f9c4bd0b0776fdcd0a
|
24 |
+
SHA512 c8588e2185502c9d045a63ebf722d1cf14eb7373423ef36f0e410525837430f117ad6c841aac16af17246c4d348c3e9094a848b917985de3f677098c1e32606f
|
25 |
+
HEAD_REF master
|
26 |
+
)
|
27 |
+
|
28 |
+
file(REMOVE_RECURSE ${SOURCE_PATH}/3rdparty/asmjit)
|
29 |
+
|
30 |
+
get_filename_component(ASMJIT_SOURCE_DIR_NAME ${ASMJIT_SOURCE_PATH} NAME)
|
31 |
+
file(COPY ${ASMJIT_SOURCE_PATH} DESTINATION ${SOURCE_PATH}/3rdparty)
|
32 |
+
file(RENAME ${SOURCE_PATH}/3rdparty/${ASMJIT_SOURCE_DIR_NAME} ${SOURCE_PATH}/3rdparty/asmjit)
|
33 |
+
endif()
|
34 |
+
|
35 |
+
vcpkg_cmake_configure(
|
36 |
+
SOURCE_PATH ${SOURCE_PATH}
|
37 |
+
OPTIONS
|
38 |
+
-DBLEND2D_STATIC=${BLEND2D_STATIC}
|
39 |
+
${FEATURE_OPTIONS}
|
40 |
+
)
|
41 |
+
|
42 |
+
vcpkg_cmake_install()
|
43 |
+
vcpkg_copy_pdbs()
|
44 |
+
|
45 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
|
46 |
+
|
47 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
48 |
+
|
49 |
+
if(BLEND2D_STATIC)
|
50 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
51 |
+
endif()
|
52 |
+
|
53 |
+
# Handle copyright
|
54 |
+
configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
55 |
+
|
56 |
+
if(BLEND2D_STATIC)
|
57 |
+
# Install usage
|
58 |
+
configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY)
|
59 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blend2d/usage
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Define BL_STATIC before any @PORT@ includes.
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blend2d/vcpkg.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "blend2d",
|
3 |
+
"version-date": "2022-02-19",
|
4 |
+
"description": "Beta 2D Vector Graphics Powered by a JIT Compiler",
|
5 |
+
"homepage": "https://github.com/blend2d/blend2d",
|
6 |
+
"documentation": "https://blend2d.com/doc/index.html",
|
7 |
+
"license": "Zlib",
|
8 |
+
"supports": "!arm & !uwp & !wasm32",
|
9 |
+
"dependencies": [
|
10 |
+
{
|
11 |
+
"name": "vcpkg-cmake",
|
12 |
+
"host": true
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "vcpkg-cmake-config",
|
16 |
+
"host": true
|
17 |
+
}
|
18 |
+
],
|
19 |
+
"default-features": [
|
20 |
+
"futex",
|
21 |
+
"jit",
|
22 |
+
"logging",
|
23 |
+
"tls"
|
24 |
+
],
|
25 |
+
"features": {
|
26 |
+
"futex": {
|
27 |
+
"description": "Default feature. Enables use of futex."
|
28 |
+
},
|
29 |
+
"jit": {
|
30 |
+
"description": "Default feature. Enables jit pipeline compilation. Not supported for ARM and UWP."
|
31 |
+
},
|
32 |
+
"logging": {
|
33 |
+
"description": "Default feature. Enables logging."
|
34 |
+
},
|
35 |
+
"tls": {
|
36 |
+
"description": "Default feature. Enables use of thread_local feature. Disable for platforms where thread local storage is expensive or not supported."
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blitz/portfile.cmake
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO blitzpp/blitz
|
4 |
+
REF 839fc5e0f35b1c38a01cfd7a94e83de81e8a6b55
|
5 |
+
SHA512 efb6b19691e23c95cf6abd59607bce299b0c02a12ce6be105a35ad8509ab564b8dac8d6363f048e547d199e117d2bdd0e4ef3046d3c411f669c0a453a0b75627
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_find_acquire_program(PYTHON2)
|
10 |
+
get_filename_component(PYTHON2_DIR "${PYTHON2}" DIRECTORY)
|
11 |
+
vcpkg_add_to_path("${PYTHON2_DIR}")
|
12 |
+
|
13 |
+
vcpkg_cmake_configure(
|
14 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
15 |
+
OPTIONS
|
16 |
+
-DBUILD_DOC=OFF
|
17 |
+
-DBUILD_TESTING=OFF
|
18 |
+
)
|
19 |
+
|
20 |
+
vcpkg_cmake_install()
|
21 |
+
|
22 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
23 |
+
|
24 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
25 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
26 |
+
endif()
|
27 |
+
|
28 |
+
vcpkg_copy_pdbs()
|
29 |
+
|
30 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
|
31 |
+
vcpkg_fixup_pkgconfig()
|
32 |
+
|
33 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/matbops.h" "${SOURCE_PATH}" "")
|
34 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/matuops.h" "${SOURCE_PATH}" "")
|
35 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/mathfunc.h" "${SOURCE_PATH}" "")
|
36 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/promote-old.h" "${SOURCE_PATH}" "")
|
37 |
+
|
38 |
+
# Handle copyright
|
39 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blitz/vcpkg.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "blitz",
|
3 |
+
"version-date": "2020-03-25",
|
4 |
+
"port-version": 5,
|
5 |
+
"description": "Blitz++ is a C++ template class library that provides high-performance multidimensional array containers for scientific computing.",
|
6 |
+
"homepage": "https://github.com/blitzpp/blitz",
|
7 |
+
"supports": "!(arm | arm64 | uwp)",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "vcpkg-cmake",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
{
|
14 |
+
"name": "vcpkg-cmake-config",
|
15 |
+
"host": true
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"name": "vcpkg-tool-python2",
|
19 |
+
"host": true
|
20 |
+
}
|
21 |
+
]
|
22 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blosc/0001-find-deps.patch
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/cmake/FindLZ4.cmake b/cmake/FindLZ4.cmake
|
2 |
+
index e581a80..8ce17c5 100644
|
3 |
+
--- a/cmake/FindLZ4.cmake
|
4 |
+
+++ b/cmake/FindLZ4.cmake
|
5 |
+
@@ -1,10 +1,13 @@
|
6 |
+
-find_path(LZ4_INCLUDE_DIR lz4.h)
|
7 |
+
+find_path(LZ4_INCLUDE_DIRS NAMES lz4.h)
|
8 |
+
|
9 |
+
-find_library(LZ4_LIBRARY NAMES lz4)
|
10 |
+
+find_library(LZ4_LIBRARY_DEBUG NAMES lz4d)
|
11 |
+
+find_library(LZ4_LIBRARY_RELEASE NAMES lz4)
|
12 |
+
|
13 |
+
-if (LZ4_INCLUDE_DIR AND LZ4_LIBRARY)
|
14 |
+
- set(LZ4_FOUND TRUE)
|
15 |
+
- message(STATUS "Found LZ4 library: ${LZ4_LIBRARY}")
|
16 |
+
-else ()
|
17 |
+
- message(STATUS "No LZ4 library found. Using internal sources.")
|
18 |
+
-endif ()
|
19 |
+
+include(SelectLibraryConfigurations)
|
20 |
+
+select_library_configurations(LZ4)
|
21 |
+
+
|
22 |
+
+include(FindPackageHandleStandardArgs)
|
23 |
+
+find_package_handle_standard_args(
|
24 |
+
+ LZ4
|
25 |
+
+ REQUIRED_VARS LZ4_LIBRARIES LZ4_INCLUDE_DIRS
|
26 |
+
+)
|
27 |
+
diff --git a/cmake/FindSnappy.cmake b/cmake/FindSnappy.cmake
|
28 |
+
index 688d4d5..c8b9a05 100644
|
29 |
+
--- a/cmake/FindSnappy.cmake
|
30 |
+
+++ b/cmake/FindSnappy.cmake
|
31 |
+
@@ -1,10 +1,13 @@
|
32 |
+
-find_path(SNAPPY_INCLUDE_DIR snappy-c.h)
|
33 |
+
+find_path(SNAPPY_INCLUDE_DIR snappy.h)
|
34 |
+
|
35 |
+
-find_library(SNAPPY_LIBRARY NAMES snappy)
|
36 |
+
+find_library(SNAPPY_LIBRARY_DEBUG NAMES snappyd)
|
37 |
+
+find_library(SNAPPY_LIBRARY_RELEASE NAMES snappy)
|
38 |
+
|
39 |
+
-if (SNAPPY_INCLUDE_DIR AND SNAPPY_LIBRARY)
|
40 |
+
- set(SNAPPY_FOUND TRUE)
|
41 |
+
- message(STATUS "Found SNAPPY library: ${SNAPPY_LIBRARY}")
|
42 |
+
-else ()
|
43 |
+
- message(STATUS "No snappy found. Using internal sources.")
|
44 |
+
-endif ()
|
45 |
+
+include(SelectLibraryConfigurations)
|
46 |
+
+select_library_configurations(SNAPPY)
|
47 |
+
+
|
48 |
+
+include(FindPackageHandleStandardArgs)
|
49 |
+
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(
|
50 |
+
+ SNAPPY DEFAULT_MSG
|
51 |
+
+ SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR
|
52 |
+
+)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blosc/0002-export-blosc-config.patch
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/blosc/CMakeLists.txt b/blosc/CMakeLists.txt
|
2 |
+
index f4e5c29..24641ad 100644
|
3 |
+
--- a/blosc/CMakeLists.txt
|
4 |
+
+++ b/blosc/CMakeLists.txt
|
5 |
+
@@ -122,14 +122,14 @@ endif (NOT DEACTIVATE_ZSTD)
|
6 |
+
|
7 |
+
# targets
|
8 |
+
if (BUILD_SHARED)
|
9 |
+
- add_library(blosc_shared SHARED ${SOURCES})
|
10 |
+
- set_target_properties(blosc_shared PROPERTIES OUTPUT_NAME blosc)
|
11 |
+
- set_target_properties(blosc_shared PROPERTIES
|
12 |
+
+ add_library(blosc SHARED ${SOURCES})
|
13 |
+
+ #set_target_properties(blosc_shared PROPERTIES OUTPUT_NAME blosc)
|
14 |
+
+ set_target_properties(blosc PROPERTIES
|
15 |
+
VERSION ${version_string}
|
16 |
+
SOVERSION 1 # Change this when an ABI change happens
|
17 |
+
)
|
18 |
+
set_property(
|
19 |
+
- TARGET blosc_shared
|
20 |
+
+ TARGET blosc
|
21 |
+
APPEND PROPERTY COMPILE_DEFINITIONS BLOSC_SHARED_LIBRARY)
|
22 |
+
endif()
|
23 |
+
|
24 |
+
@@ -192,8 +192,8 @@ if (BUILD_TESTS)
|
25 |
+
endif()
|
26 |
+
|
27 |
+
if (BUILD_SHARED)
|
28 |
+
- target_link_libraries(blosc_shared ${LIBS})
|
29 |
+
- target_include_directories(blosc_shared PUBLIC ${BLOSC_INCLUDE_DIRS})
|
30 |
+
+ target_link_libraries(blosc ${LIBS})
|
31 |
+
+ target_include_directories(blosc PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
32 |
+
endif()
|
33 |
+
|
34 |
+
if (BUILD_TESTS)
|
35 |
+
@@ -202,22 +202,24 @@ if (BUILD_TESTS)
|
36 |
+
endif()
|
37 |
+
|
38 |
+
if(BUILD_STATIC)
|
39 |
+
- add_library(blosc_static STATIC ${SOURCES})
|
40 |
+
- set_target_properties(blosc_static PROPERTIES OUTPUT_NAME blosc)
|
41 |
+
+ add_library(blosc STATIC ${SOURCES})
|
42 |
+
+ #set_target_properties(blosc_static PROPERTIES OUTPUT_NAME blosc)
|
43 |
+
if (MSVC)
|
44 |
+
- set_target_properties(blosc_static PROPERTIES PREFIX lib)
|
45 |
+
+ #set_target_properties(blosc_static PROPERTIES PREFIX lib)
|
46 |
+
endif()
|
47 |
+
- target_link_libraries(blosc_static ${LIBS})
|
48 |
+
- target_include_directories(blosc_static PUBLIC ${BLOSC_INCLUDE_DIRS})
|
49 |
+
+ target_link_libraries(blosc ${LIBS})
|
50 |
+
+ target_include_directories(blosc PUBLIC $<INSTALL_INTERFACE:include> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
51 |
+
endif(BUILD_STATIC)
|
52 |
+
|
53 |
+
# install
|
54 |
+
if(BLOSC_INSTALL)
|
55 |
+
install(FILES blosc.h blosc-export.h DESTINATION include COMPONENT DEV)
|
56 |
+
if(BUILD_SHARED)
|
57 |
+
- install(TARGETS blosc_shared LIBRARY DESTINATION ${lib_dir} ARCHIVE DESTINATION ${lib_dir} RUNTIME DESTINATION bin COMPONENT LIB)
|
58 |
+
+ install(TARGETS blosc EXPORT blosc-config RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib)
|
59 |
+
endif(BUILD_SHARED)
|
60 |
+
if(BUILD_STATIC)
|
61 |
+
- install(TARGETS blosc_static LIBRARY DESTINATION ${lib_dir} ARCHIVE DESTINATION ${lib_dir} RUNTIME DESTINATION bin COMPONENT DEV)
|
62 |
+
+ install(TARGETS blosc EXPORT blosc-config RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib)
|
63 |
+
endif(BUILD_STATIC)
|
64 |
+
endif(BLOSC_INSTALL)
|
65 |
+
+
|
66 |
+
+install(EXPORT blosc-config DESTINATION share/cmake/blosc)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blosc/portfile.cmake
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO Blosc/c-blosc
|
4 |
+
REF 9fae1c9acb659159321aca69aefcdbce663e2374 # v1.18.1
|
5 |
+
SHA512 6cc77832100041aca8f320e44aa803adc0d3344b52742b995a3155b953e5d149534de65c8244d964448150b73715a81f54285d7d01f1b45d7b10fe07f5bdb141
|
6 |
+
HEAD_REF master
|
7 |
+
PATCHES
|
8 |
+
0001-find-deps.patch
|
9 |
+
0002-export-blosc-config.patch
|
10 |
+
)
|
11 |
+
|
12 |
+
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
13 |
+
set(BLOSC_STATIC ON)
|
14 |
+
set(BLOSC_SHARED OFF)
|
15 |
+
else()
|
16 |
+
set(BLOSC_STATIC OFF)
|
17 |
+
set(BLOSC_SHARED ON)
|
18 |
+
endif()
|
19 |
+
|
20 |
+
file(REMOVE_RECURSE ${SOURCE_PATH}/internal-complibs)
|
21 |
+
|
22 |
+
vcpkg_configure_cmake(
|
23 |
+
SOURCE_PATH ${SOURCE_PATH}
|
24 |
+
PREFER_NINJA
|
25 |
+
OPTIONS -DPREFER_EXTERNAL_LZ4=ON
|
26 |
+
-DPREFER_EXTERNAL_SNAPPY=ON
|
27 |
+
-DPREFER_EXTERNAL_ZLIB=ON
|
28 |
+
-DPREFER_EXTERNAL_ZSTD=ON
|
29 |
+
-DBUILD_TESTS=OFF
|
30 |
+
-DBUILD_BENCHMARKS=OFF
|
31 |
+
-DBUILD_STATIC=${BLOSC_STATIC}
|
32 |
+
-DBUILD_SHARED=${BLOSC_SHARED}
|
33 |
+
)
|
34 |
+
|
35 |
+
vcpkg_install_cmake()
|
36 |
+
vcpkg_copy_pdbs()
|
37 |
+
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/blosc)
|
38 |
+
|
39 |
+
# cleanup
|
40 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
41 |
+
|
42 |
+
# Handle copyright
|
43 |
+
file(INSTALL ${SOURCE_PATH}/LICENSES/BLOSC.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/blosc RENAME copyright)
|
44 |
+
|
45 |
+
vcpkg_fixup_pkgconfig()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/blosc/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "blosc",
|
3 |
+
"version-string": "1.18.1",
|
4 |
+
"port-version": 4,
|
5 |
+
"description": "A blocking, shuffling and loss-less compression library that can be faster than `memcpy()`",
|
6 |
+
"homepage": "https://github.com/Blosc/c-blosc",
|
7 |
+
"dependencies": [
|
8 |
+
"lz4",
|
9 |
+
"snappy",
|
10 |
+
"zlib",
|
11 |
+
"zstd"
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boinc/001-add-openssl3-support.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/lib/crypt.cpp b/lib/crypt.cpp
|
2 |
+
index 01249cfc340..9b1f69160b8 100644
|
3 |
+
--- a/lib/crypt.cpp
|
4 |
+
+++ b/lib/crypt.cpp
|
5 |
+
@@ -672,7 +672,7 @@ int check_validity_of_cert(
|
6 |
+
}
|
7 |
+
#ifdef HAVE_OPAQUE_RSA_DSA_DH
|
8 |
+
RSA *rsa;
|
9 |
+
- rsa = EVP_PKEY_get0_RSA(pubKey);
|
10 |
+
+ rsa = (rsa_st*)EVP_PKEY_get0_RSA(pubKey);
|
11 |
+
if (!RSA_blinding_on(rsa, c)) {
|
12 |
+
#else
|
13 |
+
if (!RSA_blinding_on(pubKey->pkey.rsa, c)) {
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boinc/CMakeLists.txt
ADDED
@@ -0,0 +1,238 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cmake_minimum_required(VERSION 3.20)
|
2 |
+
project(boinc)
|
3 |
+
|
4 |
+
find_package(OpenSSL REQUIRED)
|
5 |
+
|
6 |
+
set(LIBBOINC_HEADERS_WIN
|
7 |
+
lib/boinc_win.h
|
8 |
+
lib/diagnostics_win.h
|
9 |
+
lib/idlemon.h
|
10 |
+
lib/stackwalker_imports.h
|
11 |
+
lib/stackwalker_win.h
|
12 |
+
)
|
13 |
+
|
14 |
+
set(LIBBOINC_HEADERS_UNIX
|
15 |
+
lib/synch.h
|
16 |
+
lib/unix_util.h
|
17 |
+
)
|
18 |
+
|
19 |
+
set(LIBBOINC_HEADERS_APPLE
|
20 |
+
lib/mac/dyld_gdb.h
|
21 |
+
lib/mac/mac_backtrace.h
|
22 |
+
lib/mac/mac_spawn.h
|
23 |
+
lib/mac/QBacktrace.h
|
24 |
+
lib/mac/QCrashReport.h
|
25 |
+
lib/mac/QMachOImage.h
|
26 |
+
lib/mac/QMachOImageList.h
|
27 |
+
lib/mac/QSymbols.h
|
28 |
+
lib/mac/QTaskMemory.h
|
29 |
+
lib/mac/mac_branding.h
|
30 |
+
)
|
31 |
+
|
32 |
+
set(LIBBOINC_HEADERS_GENERIC
|
33 |
+
lib/app_ipc.h
|
34 |
+
lib/base64.h
|
35 |
+
lib/cal_boinc.h
|
36 |
+
lib/cc_config.h
|
37 |
+
lib/cert_sig.h
|
38 |
+
lib/cl_boinc.h
|
39 |
+
lib/common_defs.h
|
40 |
+
lib/coproc.h
|
41 |
+
lib/crypt.h
|
42 |
+
lib/diagnostics.h
|
43 |
+
lib/error_numbers.h
|
44 |
+
lib/filesys.h
|
45 |
+
lib/hostinfo.h
|
46 |
+
lib/keyword.h
|
47 |
+
lib/md5.h
|
48 |
+
lib/md5_file.h
|
49 |
+
lib/mem_usage.h
|
50 |
+
lib/mfile.h
|
51 |
+
lib/miofile.h
|
52 |
+
lib/network.h
|
53 |
+
lib/notice.h
|
54 |
+
lib/opencl_boinc.h
|
55 |
+
lib/parse.h
|
56 |
+
lib/prefs.h
|
57 |
+
lib/proc_control.h
|
58 |
+
lib/procinfo.h
|
59 |
+
lib/project_init.h
|
60 |
+
lib/proxy_info.h
|
61 |
+
lib/std_fixes.h
|
62 |
+
lib/str_replace.h
|
63 |
+
lib/str_util.h
|
64 |
+
lib/url.h
|
65 |
+
lib/util.h
|
66 |
+
lib/win_util.h
|
67 |
+
lib/wslinfo.h
|
68 |
+
)
|
69 |
+
|
70 |
+
set(LIBBOINC_SOURCES_WIN
|
71 |
+
lib/boinc_win.cpp
|
72 |
+
lib/diagnostics_win.cpp
|
73 |
+
lib/idlemon_win.cpp
|
74 |
+
lib/procinfo_win.cpp
|
75 |
+
lib/stackwalker_win.cpp
|
76 |
+
lib/win_util.cpp
|
77 |
+
)
|
78 |
+
|
79 |
+
set(LIBBOINC_SOURCES_UNIX
|
80 |
+
lib/procinfo_unix.cpp
|
81 |
+
lib/synch.cpp
|
82 |
+
lib/unix_util.cpp
|
83 |
+
)
|
84 |
+
|
85 |
+
set(LIBBOINC_SOURCES_APPLE
|
86 |
+
lib/procinfo_mac.cpp
|
87 |
+
lib/mac/mac_backtrace.cpp
|
88 |
+
lib/mac/mac_spawn.cpp
|
89 |
+
lib/mac/QBacktrace.c
|
90 |
+
lib/mac/QCrashReport.c
|
91 |
+
lib/mac/QMachOImage.c
|
92 |
+
lib/mac/QMachOImageList.c
|
93 |
+
lib/mac/QSymbols.c
|
94 |
+
lib/mac/QTaskMemory.c
|
95 |
+
lib/mac/mac_branding.cpp
|
96 |
+
)
|
97 |
+
|
98 |
+
set(LIBBOINC_SOURCES_GENERIC
|
99 |
+
lib/app_ipc.cpp
|
100 |
+
lib/base64.cpp
|
101 |
+
lib/cc_config.cpp
|
102 |
+
lib/cert_sig.cpp
|
103 |
+
lib/coproc.cpp
|
104 |
+
lib/crypt.cpp
|
105 |
+
lib/diagnostics.cpp
|
106 |
+
lib/filesys.cpp
|
107 |
+
lib/hostinfo.cpp
|
108 |
+
lib/keyword.cpp
|
109 |
+
lib/md5.cpp
|
110 |
+
lib/md5_file.cpp
|
111 |
+
lib/mem_usage.cpp
|
112 |
+
lib/mfile.cpp
|
113 |
+
lib/miofile.cpp
|
114 |
+
lib/network.cpp
|
115 |
+
lib/notice.cpp
|
116 |
+
lib/opencl_boinc.cpp
|
117 |
+
lib/parse.cpp
|
118 |
+
lib/prefs.cpp
|
119 |
+
lib/proc_control.cpp
|
120 |
+
lib/procinfo.cpp
|
121 |
+
lib/project_init.cpp
|
122 |
+
lib/proxy_info.cpp
|
123 |
+
lib/shmem.cpp
|
124 |
+
lib/str_util.cpp
|
125 |
+
lib/url.cpp
|
126 |
+
lib/util.cpp
|
127 |
+
lib/wslinfo.cpp
|
128 |
+
)
|
129 |
+
|
130 |
+
set(LIBBOINCAPI_HEADERS
|
131 |
+
api/boinc_api.h
|
132 |
+
)
|
133 |
+
|
134 |
+
set(LIBBOINCAPI_SOURCES_WIN
|
135 |
+
lib/boinc_win.cpp
|
136 |
+
)
|
137 |
+
|
138 |
+
set(LIBBOINCAPI_SOURCES_GENERIC
|
139 |
+
api/boinc_api.cpp
|
140 |
+
)
|
141 |
+
|
142 |
+
if(APPLE)
|
143 |
+
set(LIBBOINC_HEADERS ${LIBBOINC_HEADERS_GENERIC} ${LIBBOINC_HEADERS_APPLE})
|
144 |
+
set(LIBBOINC_SOURCES ${LIBBOINC_SOURCES_GENERIC} ${LIBBOINC_SOURCES_APPLE})
|
145 |
+
|
146 |
+
set(LIBBOINCAPI_SOURCES ${LIBBOINCAPI_SOURCES_GENERIC})
|
147 |
+
elseif(WIN32)
|
148 |
+
set(LIBBOINC_HEADERS ${LIBBOINC_HEADERS_GENERIC} ${LIBBOINC_HEADERS_WIN})
|
149 |
+
set(LIBBOINC_SOURCES ${LIBBOINC_SOURCES_GENERIC} ${LIBBOINC_SOURCES_WIN})
|
150 |
+
|
151 |
+
set(LIBBOINCAPI_SOURCES ${LIBBOINCAPI_SOURCES_GENERIC} ${LIBBOINCAPI_SOURCES_WIN})
|
152 |
+
elseif(UNIX)
|
153 |
+
set(LIBBOINC_HEADERS ${LIBBOINC_HEADERS_GENERIC} ${LIBBOINC_HEADERS_UNIX})
|
154 |
+
set(LIBBOINC_SOURCES ${LIBBOINC_SOURCES_GENERIC} ${LIBBOINC_SOURCES_UNIX})
|
155 |
+
|
156 |
+
set(LIBBOINCAPI_SOURCES ${LIBBOINCAPI_SOURCES_GENERIC})
|
157 |
+
endif()
|
158 |
+
|
159 |
+
add_library(boinc ${LIBBOINC_SOURCES})
|
160 |
+
add_library(boincapi ${LIBBOINCAPI_SOURCES})
|
161 |
+
|
162 |
+
if(WIN32 OR APPLE)
|
163 |
+
set_target_properties(boinc PROPERTIES PREFIX "lib")
|
164 |
+
set_target_properties(boinc PROPERTIES IMPORT_PREFIX "lib")
|
165 |
+
|
166 |
+
set_target_properties(boincapi PROPERTIES PREFIX "lib")
|
167 |
+
set_target_properties(boincapi PROPERTIES IMPORT_PREFIX "lib")
|
168 |
+
endif()
|
169 |
+
|
170 |
+
if(APPLE)
|
171 |
+
target_include_directories(boinc PUBLIC
|
172 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/lib/mac>
|
173 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/clientgui/mac>
|
174 |
+
)
|
175 |
+
|
176 |
+
target_include_directories(boincapi PUBLIC
|
177 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/lib/mac>
|
178 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/clientgui/mac>
|
179 |
+
)
|
180 |
+
elseif(WIN32)
|
181 |
+
target_compile_definitions(boinc PUBLIC
|
182 |
+
-D_CRT_SECURE_NO_WARNINGS
|
183 |
+
-DWIN32
|
184 |
+
-D_CONSOLE
|
185 |
+
)
|
186 |
+
|
187 |
+
target_compile_definitions(boincapi PUBLIC
|
188 |
+
-D_CRT_SECURE_NO_WARNINGS
|
189 |
+
-DWIN32
|
190 |
+
-D_CONSOLE
|
191 |
+
)
|
192 |
+
|
193 |
+
target_include_directories(boinc PUBLIC
|
194 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/win_build>
|
195 |
+
)
|
196 |
+
|
197 |
+
target_include_directories(boincapi PUBLIC
|
198 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/win_build>
|
199 |
+
)
|
200 |
+
elseif(UNIX)
|
201 |
+
target_include_directories(boinc PUBLIC
|
202 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/config-h-${CMAKE_BUILD_TYPE}>
|
203 |
+
)
|
204 |
+
|
205 |
+
target_include_directories(boincapi PUBLIC
|
206 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/config-h-${CMAKE_BUILD_TYPE}>
|
207 |
+
)
|
208 |
+
endif()
|
209 |
+
|
210 |
+
target_include_directories(boinc PUBLIC
|
211 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
|
212 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/lib>
|
213 |
+
$<INSTALL_INTERFACE:include>
|
214 |
+
)
|
215 |
+
|
216 |
+
target_include_directories(boincapi PUBLIC
|
217 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
|
218 |
+
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/lib>
|
219 |
+
$<INSTALL_INTERFACE:include>
|
220 |
+
)
|
221 |
+
|
222 |
+
target_link_libraries(boinc PRIVATE
|
223 |
+
OpenSSL::SSL
|
224 |
+
OpenSSL::Crypto
|
225 |
+
)
|
226 |
+
|
227 |
+
target_link_libraries(boincapi PRIVATE
|
228 |
+
boinc
|
229 |
+
)
|
230 |
+
|
231 |
+
install(TARGETS boinc boincapi EXPORT boinc-config
|
232 |
+
RUNTIME DESTINATION bin
|
233 |
+
ARCHIVE DESTINATION lib
|
234 |
+
LIBRARY DESTINATION lib
|
235 |
+
)
|
236 |
+
|
237 |
+
install(FILES ${LIBBOINC_HEADERS} ${LIBBOINCAPI_HEADERS} DESTINATION include/boinc)
|
238 |
+
install(EXPORT boinc-config NAMESPACE unofficial::boinc:: DESTINATION share/boinc)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boinc/portfile.cmake
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO BOINC/boinc
|
6 |
+
REF client_release/7.18/7.18.1
|
7 |
+
SHA512 200587a0896aec6a7e7247132811141909aa333cb2bb9350c5ba016ffdf056413b1c5346361b311c087634b2d29cdbb204486385d8561a299b68739244c5a532
|
8 |
+
HEAD_REF master
|
9 |
+
PATCHES
|
10 |
+
001-add-openssl3-support.patch
|
11 |
+
)
|
12 |
+
|
13 |
+
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
14 |
+
|
15 |
+
if(VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_ANDROID)
|
16 |
+
vcpkg_configure_make(
|
17 |
+
SOURCE_PATH ${SOURCE_PATH}
|
18 |
+
AUTOCONFIG
|
19 |
+
NO_ADDITIONAL_PATHS
|
20 |
+
OPTIONS
|
21 |
+
${OPTIONS}
|
22 |
+
--disable-server
|
23 |
+
--disable-client
|
24 |
+
--disable-manager
|
25 |
+
)
|
26 |
+
|
27 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
28 |
+
file(COPY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/config.h DESTINATION ${SOURCE_PATH}/config-h-Release)
|
29 |
+
endif()
|
30 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
31 |
+
file(COPY ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/config.h DESTINATION ${SOURCE_PATH}/config-h-Debug)
|
32 |
+
endif()
|
33 |
+
endif()
|
34 |
+
|
35 |
+
vcpkg_cmake_configure(
|
36 |
+
SOURCE_PATH ${SOURCE_PATH}
|
37 |
+
)
|
38 |
+
|
39 |
+
vcpkg_cmake_install()
|
40 |
+
|
41 |
+
vcpkg_cmake_config_fixup()
|
42 |
+
|
43 |
+
vcpkg_copy_pdbs()
|
44 |
+
|
45 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
46 |
+
|
47 |
+
file(INSTALL "${SOURCE_PATH}/COPYING.LESSER" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
48 |
+
file(INSTALL "${SOURCE_PATH}/COPYRIGHT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME license)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boinc/vcpkg.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boinc",
|
3 |
+
"version": "7.18.1",
|
4 |
+
"port-version": 5,
|
5 |
+
"description": "Open-source software for volunteer computing and grid computing.",
|
6 |
+
"homepage": "https://boinc.berkeley.edu/",
|
7 |
+
"license": "LGPL-3.0-or-later",
|
8 |
+
"supports": "!(windows & arm) & !uwp",
|
9 |
+
"dependencies": [
|
10 |
+
"openssl",
|
11 |
+
{
|
12 |
+
"name": "vcpkg-cmake",
|
13 |
+
"host": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "vcpkg-cmake-config",
|
17 |
+
"host": true
|
18 |
+
}
|
19 |
+
]
|
20 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bond/fix-install-path.patch
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index f2f8eaa..1b0c01c 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -23,7 +23,7 @@ set (BOND_FIND_RAPIDJSON
|
6 |
+
# settings so that we don't apply our settings to third-party code.
|
7 |
+
add_subdirectory (thirdparty)
|
8 |
+
|
9 |
+
-enable_testing()
|
10 |
+
+#enable_testing()
|
11 |
+
|
12 |
+
set (BOND_IDL ${CMAKE_CURRENT_SOURCE_DIR}/idl)
|
13 |
+
set (BOND_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/cpp/inc)
|
14 |
+
@@ -85,6 +85,6 @@ if (BOND_GBC_PATH)
|
15 |
+
|
16 |
+
install (
|
17 |
+
FILES ${BOND_GBC_PATH}
|
18 |
+
- DESTINATION bin
|
19 |
+
+ DESTINATION tools
|
20 |
+
RENAME ${INSTALLED_GBC_NAME})
|
21 |
+
endif()
|
22 |
+
diff --git a/compiler/CMakeLists.txt b/compiler/CMakeLists.txt
|
23 |
+
index 1dff9d0..9a11575 100644
|
24 |
+
--- a/compiler/CMakeLists.txt
|
25 |
+
+++ b/compiler/CMakeLists.txt
|
26 |
+
@@ -108,7 +108,7 @@ set (test_sources
|
27 |
+
tests/TestMain.hs
|
28 |
+
${tests})
|
29 |
+
|
30 |
+
-set (completion_dir etc/bash_completion.d)
|
31 |
+
+set (completion_dir tools/bond)
|
32 |
+
set (completion ${CMAKE_CURRENT_BINARY_DIR}/gbc.comp)
|
33 |
+
set (output ${CMAKE_CURRENT_BINARY_DIR}/build/gbc/gbc${CMAKE_EXECUTABLE_SUFFIX})
|
34 |
+
set (GBC_EXECUTABLE ${output} PARENT_SCOPE)
|
35 |
+
@@ -130,7 +130,7 @@ endif()
|
36 |
+
|
37 |
+
install (FILES ${output}
|
38 |
+
PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
|
39 |
+
- DESTINATION bin)
|
40 |
+
+ DESTINATION ${completion_dir})
|
41 |
+
|
42 |
+
install (FILES ${completion}
|
43 |
+
RENAME gbc
|
44 |
+
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
|
45 |
+
index b45078e..1eebe9c 100644
|
46 |
+
--- a/cpp/CMakeLists.txt
|
47 |
+
+++ b/cpp/CMakeLists.txt
|
48 |
+
@@ -110,7 +110,7 @@ target_include_directories (bond_apply BEFORE PRIVATE
|
49 |
+
|
50 |
+
install (TARGETS bond bond_apply
|
51 |
+
EXPORT bond
|
52 |
+
- ARCHIVE DESTINATION lib/bond
|
53 |
+
+ ARCHIVE DESTINATION lib
|
54 |
+
INCLUDES DESTINATION include)
|
55 |
+
|
56 |
+
install (DIRECTORY ${BOND_IDL}/bond/core DESTINATION include/bond)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bond/portfile.cmake
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2 |
+
|
3 |
+
set(BOND_VER 9.0.3)
|
4 |
+
|
5 |
+
vcpkg_from_github(
|
6 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
7 |
+
REPO microsoft/bond
|
8 |
+
REF ${BOND_VER}
|
9 |
+
SHA512 3a7884eb00e6d0ab40c688f4a40cb2d3f356c48b38d48a9a08c756047a94b82619ef345483f42c3240732f5da06816b65a61acb83bfebb3c2c6b44099ce71bf9
|
10 |
+
HEAD_REF master
|
11 |
+
PATCHES fix-install-path.patch skip-grpc-compilation.patch
|
12 |
+
)
|
13 |
+
|
14 |
+
if (VCPKG_TARGET_IS_WINDOWS)
|
15 |
+
vcpkg_download_distfile(GBC_ARCHIVE
|
16 |
+
URLS "https://github.com/microsoft/bond/releases/download/${BOND_VER}/gbc-${BOND_VER}-amd64.zip"
|
17 |
+
FILENAME "gbc-${BOND_VER}-amd64.zip"
|
18 |
+
SHA512 41a4e01a9a0f6246a3c07f516f2c0cfc8a837eff2166c2bb787877e409d6f55eeb6084e63aabc3502492775a3fa7e381bf37fde0bdfced50a9d0b39dfaca7dfd
|
19 |
+
)
|
20 |
+
|
21 |
+
# Clear the generator to prevent it from updating
|
22 |
+
file(REMOVE_RECURSE "${CURRENT_BUILDTREES_DIR}/tools/")
|
23 |
+
# Extract the precompiled gbc
|
24 |
+
vcpkg_extract_source_archive(extracted_tool_dir ARCHIVE "${GBC_ARCHIVE}" NO_REMOVE_ONE_LEVEL)
|
25 |
+
file(RENAME "${extracted_tool_dir}" "${CURRENT_BUILDTREES_DIR}/tools")
|
26 |
+
|
27 |
+
set(FETCHED_GBC_PATH "${CURRENT_BUILDTREES_DIR}/tools/gbc-${BOND_VER}-amd64.exe")
|
28 |
+
if(NOT EXISTS "${FETCHED_GBC_PATH}")
|
29 |
+
message(FATAL_ERROR "Fetching GBC failed. Expected '${FETCHED_GBC_PATH}' to exist, but it doesn't.")
|
30 |
+
endif()
|
31 |
+
else()
|
32 |
+
# According to the readme on https://github.com/microsoft/bond/
|
33 |
+
# The build needs a version of the Haskel Tool stack that is newer than some distros ship with.
|
34 |
+
# For this reason the message is not guarded by checking to see if the tool is installed.
|
35 |
+
message("\nA recent version of Haskell Tool Stack is required to build.\n For information on how to install see https://docs.haskellstack.org/en/stable/README/\n")
|
36 |
+
|
37 |
+
endif()
|
38 |
+
|
39 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
40 |
+
FEATURES
|
41 |
+
bond-over-grpc BOND_ENABLE_GRPC
|
42 |
+
)
|
43 |
+
|
44 |
+
vcpkg_cmake_configure(
|
45 |
+
SOURCE_PATH "${SOURCE_PATH}"
|
46 |
+
DISABLE_PARALLEL_CONFIGURE
|
47 |
+
OPTIONS
|
48 |
+
-DBOND_LIBRARIES_ONLY=TRUE
|
49 |
+
-DBOND_GBC_PATH=${FETCHED_GBC_PATH}
|
50 |
+
-DBOND_SKIP_GBC_TESTS=TRUE
|
51 |
+
-DBOND_ENABLE_COMM=FALSE
|
52 |
+
-DBOND_FIND_RAPIDJSON=TRUE
|
53 |
+
-DBOND_STACK_OPTIONS=--allow-different-user
|
54 |
+
${FEATURE_OPTIONS}
|
55 |
+
)
|
56 |
+
|
57 |
+
vcpkg_cmake_install()
|
58 |
+
|
59 |
+
vcpkg_cmake_config_fixup(CONFIG_PATH lib/bond)
|
60 |
+
|
61 |
+
vcpkg_copy_pdbs()
|
62 |
+
|
63 |
+
cmake_path(NATIVE_PATH SOURCE_PATH native_source_path)
|
64 |
+
foreach(header bond_apply.h bond_const_apply.h bond_const_enum.h bond_const_reflection.h bond_const_types.h bond_enum.h bond_reflection.h bond_types.h)
|
65 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/bond/core/${header}" "${native_source_path}" "")
|
66 |
+
endforeach()
|
67 |
+
|
68 |
+
# There's no way to supress installation of the headers in the debug build,
|
69 |
+
# so we just delete them.
|
70 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
71 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
72 |
+
|
73 |
+
# Put the license file where vcpkg expects it
|
74 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bond/skip-grpc-compilation.patch
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/thirdparty/CMakeLists.txt b/thirdparty/CMakeLists.txt
|
2 |
+
index f8c7bf3..e69de29 100644
|
3 |
+
--- a/thirdparty/CMakeLists.txt
|
4 |
+
+++ b/thirdparty/CMakeLists.txt
|
5 |
+
@@ -1,6 +0,0 @@
|
6 |
+
-include (Compiler)
|
7 |
+
-
|
8 |
+
-if (BOND_ENABLE_GRPC)
|
9 |
+
- cxx_add_compile_options (Clang -Wno-unused-value)
|
10 |
+
- add_subdirectory(grpc)
|
11 |
+
-endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/bond/vcpkg.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "bond",
|
3 |
+
"version": "9.0.3",
|
4 |
+
"port-version": 3,
|
5 |
+
"description": "Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services.",
|
6 |
+
"homepage": "https://github.com/Microsoft/bond",
|
7 |
+
"dependencies": [
|
8 |
+
"boost-assign",
|
9 |
+
"boost-config",
|
10 |
+
"boost-locale",
|
11 |
+
"boost-utility",
|
12 |
+
"rapidjson",
|
13 |
+
{
|
14 |
+
"name": "vcpkg-cmake",
|
15 |
+
"host": true
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"name": "vcpkg-cmake-config",
|
19 |
+
"host": true
|
20 |
+
}
|
21 |
+
],
|
22 |
+
"features": {
|
23 |
+
"bond-over-grpc": {
|
24 |
+
"description": "Bond-over-gRPC provides code generation from Bond IDL service definitions to send Bond objects via gRPC.",
|
25 |
+
"dependencies": [
|
26 |
+
"grpc"
|
27 |
+
]
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boolinq/portfile.cmake
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Single-file header-only library
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO k06a/boolinq
|
6 |
+
REF 0df37ed90570a148c9d2395f5066313fd59247c9 #v3.0.4
|
7 |
+
SHA512 c1c23cf4e3c3f2a02a6c6ea59faf1eb223fe0a6ba840b4f306671e3e866bfd156d0a7a46542b684eeba3d9c744d678c48d4f1d7471f07fb7f1ba0bb8812f548f
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
file(COPY "${SOURCE_PATH}/include/boolinq/boolinq.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/boolinq")
|
12 |
+
|
13 |
+
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boolinq/vcpkg.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boolinq",
|
3 |
+
"version": "3.0.4",
|
4 |
+
"description": "Super tiny C++11 single-file header-only LINQ library",
|
5 |
+
"homepage": "https://github.com/k06a/boolinq"
|
6 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-accumulators/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/accumulators
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 b72d1d2eac58261487ec9c87a2bb6fdd0eed229c39fef62fa83b188f423e9ad96bfd6e5d177b01dec2e541d2e94ca9e548f823a05af24338d97ad98f8d85ef9c
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-accumulators/vcpkg.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-accumulators",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost accumulators module",
|
5 |
+
"homepage": "https://github.com/boostorg/accumulators",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-array",
|
8 |
+
"boost-assert",
|
9 |
+
"boost-circular-buffer",
|
10 |
+
"boost-concept-check",
|
11 |
+
"boost-config",
|
12 |
+
"boost-core",
|
13 |
+
"boost-fusion",
|
14 |
+
"boost-iterator",
|
15 |
+
"boost-mpl",
|
16 |
+
"boost-numeric-conversion",
|
17 |
+
"boost-parameter",
|
18 |
+
"boost-preprocessor",
|
19 |
+
"boost-range",
|
20 |
+
"boost-serialization",
|
21 |
+
"boost-static-assert",
|
22 |
+
"boost-throw-exception",
|
23 |
+
"boost-tuple",
|
24 |
+
"boost-type-traits",
|
25 |
+
"boost-typeof",
|
26 |
+
"boost-ublas",
|
27 |
+
"boost-vcpkg-helpers"
|
28 |
+
]
|
29 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-algorithm/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/algorithm
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 1536de626708ecef49d5d059258c5f00ea5d56a5ad8526bdb867494f7749ea7af25c10d90f642cd9d25a931dde87b2ab9eea1c2a20a2531ecd9d6b7e73ad4a4a
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-algorithm/vcpkg.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-algorithm",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost algorithm module",
|
5 |
+
"homepage": "https://github.com/boostorg/algorithm",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-array",
|
8 |
+
"boost-assert",
|
9 |
+
"boost-bind",
|
10 |
+
"boost-concept-check",
|
11 |
+
"boost-config",
|
12 |
+
"boost-core",
|
13 |
+
"boost-exception",
|
14 |
+
"boost-function",
|
15 |
+
"boost-iterator",
|
16 |
+
"boost-mpl",
|
17 |
+
"boost-range",
|
18 |
+
"boost-regex",
|
19 |
+
"boost-static-assert",
|
20 |
+
"boost-throw-exception",
|
21 |
+
"boost-tuple",
|
22 |
+
"boost-type-traits",
|
23 |
+
"boost-unordered",
|
24 |
+
"boost-vcpkg-helpers"
|
25 |
+
]
|
26 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-align/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/align
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 2d7efe0a2a87942fe4e6b8e18871631c514d271f690a272e5b30e775eed60c389a2d2e7b1c6fdc7575d5ccea2d2a71a96169af60a0548d182ba9b90e5015a7b7
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-align/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-align",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost align module",
|
5 |
+
"homepage": "https://github.com/boostorg/align",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-assert",
|
8 |
+
"boost-config",
|
9 |
+
"boost-core",
|
10 |
+
"boost-static-assert",
|
11 |
+
"boost-vcpkg-helpers"
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-any/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/any
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 fd9670fc4d7086fc28131c8d02b5dcd0d4bbcfdf54720df1859c50079d77d19d6c08a70421b1c0ec7c13f3b31b8606eaa8f8db847fd359cf03e24f913b0e660c
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-any/vcpkg.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-any",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost any module",
|
5 |
+
"homepage": "https://github.com/boostorg/any",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-assert",
|
8 |
+
"boost-config",
|
9 |
+
"boost-core",
|
10 |
+
"boost-static-assert",
|
11 |
+
"boost-throw-exception",
|
12 |
+
"boost-type-index",
|
13 |
+
"boost-type-traits",
|
14 |
+
"boost-vcpkg-helpers"
|
15 |
+
]
|
16 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-array/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/array
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 1d07d224f3e0fd4a2d5beb4704d102a64e4f4f95bd6fb218c5b63b28acba8e5b3cac140505df94dab9082a0eae70e11821d827b2c586e6203562262dd9b8a1f2
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-array/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-array",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost array module",
|
5 |
+
"homepage": "https://github.com/boostorg/array",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-assert",
|
8 |
+
"boost-config",
|
9 |
+
"boost-core",
|
10 |
+
"boost-static-assert",
|
11 |
+
"boost-throw-exception",
|
12 |
+
"boost-vcpkg-helpers"
|
13 |
+
]
|
14 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-asio/portfile.cmake
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/asio
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 78c58a64d669eaeabb5ba003200c581065412d33912e641143186ee95c11e0fb0411ed8dbb9a9acced8c8ecd258e0de33872b2e22dfc4a572315cd9a665db8a6
|
8 |
+
HEAD_REF master
|
9 |
+
PATCHES windows_alloca_header.patch
|
10 |
+
)
|
11 |
+
|
12 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
13 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-asio/vcpkg.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-asio",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost asio module",
|
5 |
+
"homepage": "https://github.com/boostorg/asio",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-align",
|
8 |
+
"boost-array",
|
9 |
+
"boost-assert",
|
10 |
+
"boost-bind",
|
11 |
+
"boost-chrono",
|
12 |
+
"boost-config",
|
13 |
+
"boost-core",
|
14 |
+
{
|
15 |
+
"name": "boost-coroutine",
|
16 |
+
"platform": "!arm & !uwp & !emscripten"
|
17 |
+
},
|
18 |
+
"boost-date-time",
|
19 |
+
"boost-function",
|
20 |
+
"boost-regex",
|
21 |
+
"boost-smart-ptr",
|
22 |
+
"boost-system",
|
23 |
+
"boost-throw-exception",
|
24 |
+
"boost-type-traits",
|
25 |
+
"boost-utility",
|
26 |
+
"boost-vcpkg-helpers"
|
27 |
+
],
|
28 |
+
"features": {
|
29 |
+
"ssl": {
|
30 |
+
"description": "Build with SSL support",
|
31 |
+
"dependencies": [
|
32 |
+
{
|
33 |
+
"name": "openssl",
|
34 |
+
"platform": "!emscripten"
|
35 |
+
}
|
36 |
+
]
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-asio/windows_alloca_header.patch
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/include/boost/asio/detail/impl/socket_ops.ipp b/include/boost/asio/detail/impl/socket_ops.ipp
|
2 |
+
index 7d7c31f..d2cd468 100644
|
3 |
+
--- a/include/boost/asio/detail/impl/socket_ops.ipp
|
4 |
+
+++ b/include/boost/asio/detail/impl/socket_ops.ipp
|
5 |
+
@@ -27,6 +27,10 @@
|
6 |
+
#include <boost/asio/detail/socket_ops.hpp>
|
7 |
+
#include <boost/asio/error.hpp>
|
8 |
+
|
9 |
+
+#if defined(BOOST_ASIO_WINDOWS)
|
10 |
+
+#include <malloc.h>
|
11 |
+
+#endif
|
12 |
+
+
|
13 |
+
#if defined(BOOST_ASIO_WINDOWS_RUNTIME)
|
14 |
+
# include <codecvt>
|
15 |
+
# include <locale>
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-assert/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/assert
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 8ad826aa3c3865d77d4155c4c2b318b2f6204e0861f9fb3699efa9e8c22752d6f419bba92ec0a035f3e2583aa7236d4c2ad83fdcf0cd625cc20d40690669bd2c
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-assert/vcpkg.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-assert",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost assert module",
|
5 |
+
"homepage": "https://github.com/boostorg/assert",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-config",
|
8 |
+
"boost-vcpkg-helpers"
|
9 |
+
]
|
10 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-assign/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/assign
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 72cb3460624d3f4fa12859edc1086ed966ffb83be94dc22c257e088ba10c9686129baa410d7b524237794dd29c983d92c25f65fad6c7c84288275a4ca77b95e8
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-assign/vcpkg.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-assign",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost assign module",
|
5 |
+
"homepage": "https://github.com/boostorg/assign",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-array",
|
8 |
+
"boost-config",
|
9 |
+
"boost-core",
|
10 |
+
"boost-move",
|
11 |
+
"boost-mpl",
|
12 |
+
"boost-preprocessor",
|
13 |
+
"boost-ptr-container",
|
14 |
+
"boost-range",
|
15 |
+
"boost-static-assert",
|
16 |
+
"boost-throw-exception",
|
17 |
+
"boost-tuple",
|
18 |
+
"boost-type-traits",
|
19 |
+
"boost-vcpkg-helpers"
|
20 |
+
]
|
21 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-atomic/0001-fix-compilation-for-uwp.patch
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
From bf08155d16ea8c359d1bfab6bac684cdfada4a5b Mon Sep 17 00:00:00 2001
|
2 |
+
From: Andrey Semashev <[email protected]>
|
3 |
+
Date: Wed, 15 Dec 2021 02:06:11 +0300
|
4 |
+
Subject: [PATCH] Fix compilation for UWP.
|
5 |
+
|
6 |
+
UWP does not support APIs related to dynamic symbol binding and dlls.
|
7 |
+
Disable runtime detection of WaitOnAddress & co. for that target. These
|
8 |
+
APIs should be enabled at compile time on Windows 8.
|
9 |
+
|
10 |
+
Fixes https://github.com/boostorg/atomic/issues/54.
|
11 |
+
---
|
12 |
+
doc/changelog.qbk | 4 ++++
|
13 |
+
src/wait_on_address.cpp | 16 ++++++++++++++++
|
14 |
+
2 files changed, 20 insertions(+)
|
15 |
+
|
16 |
+
diff --git a/doc/changelog.qbk b/doc/changelog.qbk
|
17 |
+
index 9c370c9..ffbd902 100644
|
18 |
+
--- a/doc/changelog.qbk
|
19 |
+
+++ b/doc/changelog.qbk
|
20 |
+
@@ -7,6 +7,10 @@
|
21 |
+
|
22 |
+
[section:changelog Changelog]
|
23 |
+
|
24 |
+
+[heading Boost 1.79]
|
25 |
+
+
|
26 |
+
+* Fixed compilation for Universal Windows Platform (UWP). ([github_issue 54])
|
27 |
+
+
|
28 |
+
[heading Boost 1.78]
|
29 |
+
|
30 |
+
* Use process-local futex operations on Android for non-IPC waiting and notifying operations.
|
31 |
+
diff --git a/src/wait_on_address.cpp b/src/wait_on_address.cpp
|
32 |
+
index 7cf5bd0..6f8a165 100644
|
33 |
+
--- a/src/wait_on_address.cpp
|
34 |
+
+++ b/src/wait_on_address.cpp
|
35 |
+
@@ -25,6 +25,8 @@
|
36 |
+
#include <boost/atomic/detail/once_flag.hpp>
|
37 |
+
#include <boost/atomic/detail/wait_on_address.hpp>
|
38 |
+
|
39 |
+
+#if BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM
|
40 |
+
+
|
41 |
+
#include <boost/static_assert.hpp>
|
42 |
+
#include <boost/memory_order.hpp>
|
43 |
+
#include <boost/winapi/thread.hpp>
|
44 |
+
@@ -33,6 +35,8 @@
|
45 |
+
|
46 |
+
#include <boost/atomic/detail/core_operations.hpp>
|
47 |
+
|
48 |
+
+#endif // BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM
|
49 |
+
+
|
50 |
+
#include <boost/atomic/detail/header.hpp>
|
51 |
+
|
52 |
+
namespace boost {
|
53 |
+
@@ -43,6 +47,8 @@ BOOST_ATOMIC_DECL wait_on_address_t* wait_on_address = NULL;
|
54 |
+
BOOST_ATOMIC_DECL wake_by_address_t* wake_by_address_single = NULL;
|
55 |
+
BOOST_ATOMIC_DECL wake_by_address_t* wake_by_address_all = NULL;
|
56 |
+
|
57 |
+
+#if BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM
|
58 |
+
+
|
59 |
+
BOOST_ATOMIC_DECL once_flag wait_functions_once_flag = { 2u };
|
60 |
+
|
61 |
+
BOOST_ATOMIC_DECL void initialize_wait_functions() BOOST_NOEXCEPT
|
62 |
+
@@ -90,6 +96,16 @@ BOOST_ATOMIC_DECL void initialize_wait_functions() BOOST_NOEXCEPT
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
+#else // BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM
|
67 |
+
+
|
68 |
+
+BOOST_ATOMIC_DECL once_flag wait_functions_once_flag = { 0u };
|
69 |
+
+
|
70 |
+
+BOOST_ATOMIC_DECL void initialize_wait_functions() BOOST_NOEXCEPT
|
71 |
+
+{
|
72 |
+
+}
|
73 |
+
+
|
74 |
+
+#endif // BOOST_WINAPI_PARTITION_DESKTOP || BOOST_WINAPI_PARTITION_SYSTEM
|
75 |
+
+
|
76 |
+
} // namespace detail
|
77 |
+
} // namespace atomics
|
78 |
+
} // namespace boost
|
79 |
+
--
|
80 |
+
2.34.1.windows.1
|
81 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-atomic/portfile.cmake
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/atomic
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 a6eba43c7038228fa7ce537b05429e263397bc914235d9ad9aa47badce5455f4905e15e5f1979c19088b47faca3091bd0dfcdb017290f796d34a36b682592345
|
8 |
+
HEAD_REF master
|
9 |
+
PATCHES 0001-fix-compilation-for-uwp.patch
|
10 |
+
)
|
11 |
+
|
12 |
+
file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents)
|
13 |
+
string(REPLACE
|
14 |
+
"project.load [ path.join [ path.make $(here:D) ] ../../config/checks/architecture ]"
|
15 |
+
"project.load [ path.join [ path.make $(here:D) ] ../config/checks/architecture ]"
|
16 |
+
_contents "${_contents}")
|
17 |
+
file(WRITE "${SOURCE_PATH}/build/Jamfile.v2" "${_contents}")
|
18 |
+
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/config")
|
19 |
+
if(NOT DEFINED CURRENT_HOST_INSTALLED_DIR)
|
20 |
+
message(FATAL_ERROR "boost-atomic requires a newer version of vcpkg in order to build.")
|
21 |
+
endif()
|
22 |
+
include(${CURRENT_HOST_INSTALLED_DIR}/share/boost-build/boost-modular-build.cmake)
|
23 |
+
boost_modular_build(SOURCE_PATH ${SOURCE_PATH})
|
24 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
25 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-atomic/vcpkg.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-atomic",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost atomic module",
|
5 |
+
"homepage": "https://github.com/boostorg/atomic",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-align",
|
8 |
+
"boost-assert",
|
9 |
+
{
|
10 |
+
"name": "boost-build",
|
11 |
+
"host": true
|
12 |
+
},
|
13 |
+
"boost-config",
|
14 |
+
{
|
15 |
+
"name": "boost-modular-build-helper",
|
16 |
+
"host": true
|
17 |
+
},
|
18 |
+
"boost-predef",
|
19 |
+
"boost-preprocessor",
|
20 |
+
"boost-static-assert",
|
21 |
+
"boost-type-traits",
|
22 |
+
"boost-vcpkg-helpers",
|
23 |
+
"boost-winapi",
|
24 |
+
{
|
25 |
+
"name": "vcpkg-cmake",
|
26 |
+
"host": true
|
27 |
+
}
|
28 |
+
]
|
29 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-beast/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/beast
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 6b8c46d50833265642093d612c6a1c29e764e9fbee65e8514c377390ee69469a8a170ab5829de2d0f28641d5b15d11d7f174367d3c68eb0f36dbdd2b3bd08392
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-beast/vcpkg.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-beast",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost beast module",
|
5 |
+
"homepage": "https://github.com/boostorg/beast",
|
6 |
+
"supports": "!emscripten",
|
7 |
+
"dependencies": [
|
8 |
+
"boost-asio",
|
9 |
+
"boost-assert",
|
10 |
+
"boost-bind",
|
11 |
+
"boost-config",
|
12 |
+
"boost-container",
|
13 |
+
"boost-container-hash",
|
14 |
+
"boost-core",
|
15 |
+
"boost-endian",
|
16 |
+
"boost-intrusive",
|
17 |
+
"boost-logic",
|
18 |
+
"boost-mp11",
|
19 |
+
"boost-optional",
|
20 |
+
"boost-smart-ptr",
|
21 |
+
"boost-static-assert",
|
22 |
+
"boost-system",
|
23 |
+
"boost-throw-exception",
|
24 |
+
"boost-type-index",
|
25 |
+
"boost-type-traits",
|
26 |
+
"boost-utility",
|
27 |
+
"boost-vcpkg-helpers",
|
28 |
+
"boost-winapi"
|
29 |
+
]
|
30 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-bimap/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/bimap
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 ab681674da7c1d5cf14f93f9832d5f0010661b42dc0fff2299dd7dced026fd0a474633363d070260a57bad0b3e956431c02ab5116e7d990d04bf37cf2f274c8a
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-bimap/vcpkg.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-bimap",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost bimap module",
|
5 |
+
"homepage": "https://github.com/boostorg/bimap",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-concept-check",
|
8 |
+
"boost-config",
|
9 |
+
"boost-container-hash",
|
10 |
+
"boost-core",
|
11 |
+
"boost-iterator",
|
12 |
+
"boost-lambda",
|
13 |
+
"boost-mpl",
|
14 |
+
"boost-multi-index",
|
15 |
+
"boost-preprocessor",
|
16 |
+
"boost-serialization",
|
17 |
+
"boost-static-assert",
|
18 |
+
"boost-throw-exception",
|
19 |
+
"boost-type-traits",
|
20 |
+
"boost-utility",
|
21 |
+
"boost-vcpkg-helpers"
|
22 |
+
]
|
23 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-bind/portfile.cmake
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Automatically generated by scripts/boost/generate-ports.ps1
|
2 |
+
|
3 |
+
vcpkg_from_github(
|
4 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
5 |
+
REPO boostorg/bind
|
6 |
+
REF boost-1.78.0
|
7 |
+
SHA512 8fc9484da8aeacd8a9fb60ad3dc061de278ae854d9abb6e513f330e38452d3af8cfa9342f185a15c7fff907b0dec02b7e54fbb8661633639aa34d9e9cd7ae7e2
|
8 |
+
HEAD_REF master
|
9 |
+
)
|
10 |
+
|
11 |
+
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)
|
12 |
+
boost_modular_headers(SOURCE_PATH ${SOURCE_PATH})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost-bind/vcpkg.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost-bind",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Boost bind module",
|
5 |
+
"homepage": "https://github.com/boostorg/bind",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-config",
|
8 |
+
"boost-core",
|
9 |
+
"boost-vcpkg-helpers"
|
10 |
+
]
|
11 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost/portfile.cmake
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost/usage
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The package boost is compatible with built-in CMake targets:
|
2 |
+
|
3 |
+
find_package(Boost REQUIRED [COMPONENTS <libs>...])
|
4 |
+
target_link_libraries(main PRIVATE ${Boost_LIBRARIES})
|
5 |
+
target_include_directories(main PRIVATE ${Boost_INCLUDE_DIRS})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/boost/vcpkg.json
ADDED
@@ -0,0 +1,205 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "boost",
|
3 |
+
"version": "1.78.0",
|
4 |
+
"description": "Peer-reviewed portable C++ source libraries",
|
5 |
+
"homepage": "https://boost.org",
|
6 |
+
"dependencies": [
|
7 |
+
"boost-accumulators",
|
8 |
+
"boost-algorithm",
|
9 |
+
"boost-align",
|
10 |
+
"boost-any",
|
11 |
+
"boost-array",
|
12 |
+
"boost-asio",
|
13 |
+
"boost-assert",
|
14 |
+
"boost-assign",
|
15 |
+
"boost-atomic",
|
16 |
+
{
|
17 |
+
"name": "boost-beast",
|
18 |
+
"platform": "!emscripten"
|
19 |
+
},
|
20 |
+
"boost-bimap",
|
21 |
+
"boost-bind",
|
22 |
+
"boost-callable-traits",
|
23 |
+
"boost-chrono",
|
24 |
+
"boost-circular-buffer",
|
25 |
+
"boost-compatibility",
|
26 |
+
"boost-compute",
|
27 |
+
"boost-concept-check",
|
28 |
+
"boost-config",
|
29 |
+
"boost-container",
|
30 |
+
"boost-container-hash",
|
31 |
+
{
|
32 |
+
"name": "boost-context",
|
33 |
+
"platform": "!uwp & !emscripten"
|
34 |
+
},
|
35 |
+
"boost-contract",
|
36 |
+
"boost-conversion",
|
37 |
+
"boost-convert",
|
38 |
+
"boost-core",
|
39 |
+
{
|
40 |
+
"name": "boost-coroutine",
|
41 |
+
"platform": "!arm & !uwp & !emscripten"
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"name": "boost-coroutine2",
|
45 |
+
"platform": "!emscripten"
|
46 |
+
},
|
47 |
+
"boost-crc",
|
48 |
+
"boost-date-time",
|
49 |
+
"boost-describe",
|
50 |
+
"boost-detail",
|
51 |
+
"boost-dll",
|
52 |
+
"boost-dynamic-bitset",
|
53 |
+
"boost-endian",
|
54 |
+
"boost-exception",
|
55 |
+
{
|
56 |
+
"name": "boost-fiber",
|
57 |
+
"platform": "!osx & !uwp & !arm & !emscripten"
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"name": "boost-filesystem",
|
61 |
+
"platform": "!uwp"
|
62 |
+
},
|
63 |
+
"boost-flyweight",
|
64 |
+
"boost-foreach",
|
65 |
+
"boost-format",
|
66 |
+
"boost-function",
|
67 |
+
"boost-function-types",
|
68 |
+
"boost-functional",
|
69 |
+
"boost-fusion",
|
70 |
+
"boost-geometry",
|
71 |
+
"boost-gil",
|
72 |
+
"boost-graph",
|
73 |
+
"boost-hana",
|
74 |
+
"boost-heap",
|
75 |
+
"boost-histogram",
|
76 |
+
"boost-hof",
|
77 |
+
"boost-icl",
|
78 |
+
"boost-integer",
|
79 |
+
"boost-interprocess",
|
80 |
+
"boost-interval",
|
81 |
+
"boost-intrusive",
|
82 |
+
"boost-io",
|
83 |
+
{
|
84 |
+
"name": "boost-iostreams",
|
85 |
+
"platform": "!uwp"
|
86 |
+
},
|
87 |
+
"boost-iterator",
|
88 |
+
"boost-json",
|
89 |
+
"boost-lambda",
|
90 |
+
"boost-lambda2",
|
91 |
+
"boost-leaf",
|
92 |
+
"boost-lexical-cast",
|
93 |
+
"boost-local-function",
|
94 |
+
{
|
95 |
+
"name": "boost-locale",
|
96 |
+
"platform": "!uwp"
|
97 |
+
},
|
98 |
+
"boost-lockfree",
|
99 |
+
{
|
100 |
+
"name": "boost-log",
|
101 |
+
"platform": "!uwp & !emscripten"
|
102 |
+
},
|
103 |
+
"boost-logic",
|
104 |
+
"boost-math",
|
105 |
+
"boost-metaparse",
|
106 |
+
"boost-move",
|
107 |
+
"boost-mp11",
|
108 |
+
"boost-mpl",
|
109 |
+
"boost-msm",
|
110 |
+
"boost-multi-array",
|
111 |
+
"boost-multi-index",
|
112 |
+
"boost-multiprecision",
|
113 |
+
"boost-nowide",
|
114 |
+
"boost-numeric-conversion",
|
115 |
+
"boost-odeint",
|
116 |
+
"boost-optional",
|
117 |
+
"boost-outcome",
|
118 |
+
"boost-parameter",
|
119 |
+
{
|
120 |
+
"name": "boost-parameter-python",
|
121 |
+
"platform": "!emscripten"
|
122 |
+
},
|
123 |
+
"boost-pfr",
|
124 |
+
"boost-phoenix",
|
125 |
+
"boost-poly-collection",
|
126 |
+
"boost-polygon",
|
127 |
+
"boost-pool",
|
128 |
+
"boost-predef",
|
129 |
+
"boost-preprocessor",
|
130 |
+
{
|
131 |
+
"name": "boost-process",
|
132 |
+
"platform": "!emscripten"
|
133 |
+
},
|
134 |
+
"boost-program-options",
|
135 |
+
"boost-property-map",
|
136 |
+
"boost-property-tree",
|
137 |
+
"boost-proto",
|
138 |
+
"boost-ptr-container",
|
139 |
+
{
|
140 |
+
"name": "boost-python",
|
141 |
+
"platform": "!uwp & !emscripten & !ios & !android"
|
142 |
+
},
|
143 |
+
"boost-qvm",
|
144 |
+
"boost-random",
|
145 |
+
"boost-range",
|
146 |
+
"boost-ratio",
|
147 |
+
"boost-rational",
|
148 |
+
"boost-regex",
|
149 |
+
"boost-safe-numerics",
|
150 |
+
"boost-scope-exit",
|
151 |
+
"boost-serialization",
|
152 |
+
"boost-signals2",
|
153 |
+
"boost-smart-ptr",
|
154 |
+
"boost-sort",
|
155 |
+
"boost-spirit",
|
156 |
+
{
|
157 |
+
"name": "boost-stacktrace",
|
158 |
+
"platform": "!uwp"
|
159 |
+
},
|
160 |
+
"boost-statechart",
|
161 |
+
"boost-static-assert",
|
162 |
+
"boost-static-string",
|
163 |
+
"boost-stl-interfaces",
|
164 |
+
"boost-system",
|
165 |
+
{
|
166 |
+
"name": "boost-test",
|
167 |
+
"platform": "!uwp"
|
168 |
+
},
|
169 |
+
"boost-thread",
|
170 |
+
"boost-throw-exception",
|
171 |
+
"boost-timer",
|
172 |
+
"boost-tokenizer",
|
173 |
+
"boost-tti",
|
174 |
+
"boost-tuple",
|
175 |
+
"boost-type-erasure",
|
176 |
+
"boost-type-index",
|
177 |
+
"boost-type-traits",
|
178 |
+
"boost-typeof",
|
179 |
+
"boost-ublas",
|
180 |
+
"boost-units",
|
181 |
+
"boost-unordered",
|
182 |
+
"boost-utility",
|
183 |
+
"boost-uuid",
|
184 |
+
"boost-variant",
|
185 |
+
"boost-variant2",
|
186 |
+
"boost-vmd",
|
187 |
+
{
|
188 |
+
"name": "boost-wave",
|
189 |
+
"platform": "!uwp"
|
190 |
+
},
|
191 |
+
"boost-winapi",
|
192 |
+
"boost-xpressive",
|
193 |
+
"boost-yap"
|
194 |
+
],
|
195 |
+
"features": {
|
196 |
+
"mpi": {
|
197 |
+
"description": "Build with MPI support",
|
198 |
+
"dependencies": [
|
199 |
+
"boost-graph-parallel",
|
200 |
+
"boost-mpi",
|
201 |
+
"boost-property-map-parallel"
|
202 |
+
]
|
203 |
+
}
|
204 |
+
}
|
205 |
+
}
|