{folly,fizz,mvfst,wangle,fbthrift,fb303,edencommon,watchman}: 2024.12.09.00 -> 2025.01.06.00, add patches for glog ≥ 0.7.0 (#371610)
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 8d7b3454df..2ce7b5af1a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -50,8 +50,7 @@
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/build/fbcode_builder/CMake"
|
||||
${CMAKE_MODULE_PATH})
|
||||
|
||||
-find_package(Glog MODULE REQUIRED)
|
||||
-include_directories(${GLOG_INCLUDE_DIR})
|
||||
+find_package(Glog CONFIG REQUIRED)
|
||||
|
||||
find_package(Gflags REQUIRED)
|
||||
include_directories(${GFLAGS_INCLUDE_DIR})
|
||||
diff --git a/eden/common/testharness/CMakeLists.txt b/eden/common/testharness/CMakeLists.txt
|
||||
index bef7421906..f35067efa9 100644
|
||||
--- a/eden/common/testharness/CMakeLists.txt
|
||||
+++ b/eden/common/testharness/CMakeLists.txt
|
||||
@@ -19,7 +19,7 @@
|
||||
${BOOST_LIBRARIES}
|
||||
Folly::folly_test_util
|
||||
${LIBGMOCK_LIBRARIES}
|
||||
- ${GLOG_LIBRARY}
|
||||
+ glog::glog
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "edencommon";
|
||||
version = "2024.12.09.00";
|
||||
version = "2025.01.06.00";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -32,13 +32,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "facebookexperimental";
|
||||
repo = "edencommon";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-2kn7RCFNpsfyXFWhV7ikXiCCLMND185JRyxAnNq/1ro=";
|
||||
hash = "sha256-9JCyXFWglnIuDw5jSSqcnuMfQ2JXMdNwFVyyBccjoag=";
|
||||
};
|
||||
|
||||
patches = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
|
||||
# Test discovery timeout is bizarrely flaky on `x86_64-darwin`
|
||||
./increase-test-discovery-timeout.patch
|
||||
];
|
||||
patches =
|
||||
[
|
||||
./glog-0.7.patch
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
|
||||
# Test discovery timeout is bizarrely flaky on `x86_64-darwin`
|
||||
./increase-test-discovery-timeout.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 477b8d6a55..cfeae9ab3f 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
find_package(Gflags REQUIRED)
|
||||
|
||||
-find_package(Glog MODULE REQUIRED)
|
||||
+find_package(Glog CONFIG REQUIRED)
|
||||
|
||||
find_package(folly CONFIG REQUIRED)
|
||||
|
||||
@@ -88,7 +88,6 @@
|
||||
|
||||
target_include_directories(fb303 PUBLIC
|
||||
${GFLAGS_INCLUDE_DIR}
|
||||
- ${GLOG_INCLUDE_DIR}
|
||||
${DOUBLE_CONVERSION_INCLUDE_DIR}
|
||||
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}>
|
||||
$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>
|
||||
@@ -98,6 +97,7 @@
|
||||
fb303_thrift_cpp
|
||||
Folly::folly
|
||||
FBThrift::thrift
|
||||
+ glog::glog
|
||||
)
|
||||
|
||||
install(
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fb303";
|
||||
version = "2024.12.09.00";
|
||||
version = "2025.01.06.00";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -30,9 +30,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "facebook";
|
||||
repo = "fb303";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-XG/qW+XT1BVN8ZLTN2lqNBxi0x8fx3n/779BJN2lE4E=";
|
||||
hash = "sha256-SW1dRo1Wr14eHzYPg7Wm4QypFpNGXeaFlreEVWWyWgs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./glog-0.7.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c6b2b2a810..1813c88e42 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -106,7 +106,7 @@ endif ()
|
||||
# Find required dependencies for thrift/lib
|
||||
if (THRIFT_LIB_ONLY OR build_all)
|
||||
find_package(Gflags REQUIRED)
|
||||
- find_package(Glog REQUIRED)
|
||||
+ find_package(Glog CONFIG REQUIRED)
|
||||
find_package(folly CONFIG REQUIRED)
|
||||
find_package(fizz CONFIG REQUIRED)
|
||||
find_package(wangle CONFIG REQUIRED)
|
||||
@@ -119,7 +119,6 @@ if (THRIFT_LIB_ONLY OR build_all)
|
||||
find_package(Threads)
|
||||
include_directories(
|
||||
${LIBGFLAGS_INCLUDE_DIR}
|
||||
- ${GLOG_INCLUDE_DIRS}
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
${ZSTD_INCLUDE_DIRS}
|
||||
${Xxhash_INCLUDE_DIR}
|
||||
diff --git a/thrift/example/cpp2/CMakeLists.txt b/thrift/example/cpp2/CMakeLists.txt
|
||||
index afa28dad61..318860b3d6 100644
|
||||
--- a/thrift/example/cpp2/CMakeLists.txt
|
||||
+++ b/thrift/example/cpp2/CMakeLists.txt
|
||||
@@ -28,7 +28,7 @@ target_link_libraries(
|
||||
thriftcpp2
|
||||
chatroom-cpp2
|
||||
${LIBGFLAGS_LIBRARY}
|
||||
- ${GLOG_LIBRARIES}
|
||||
+ glog::glog
|
||||
)
|
||||
install(
|
||||
TARGETS example_server
|
||||
diff --git a/thrift/lib/cpp/CMakeLists.txt b/thrift/lib/cpp/CMakeLists.txt
|
||||
index 6461588a86..8b6ed1b030 100644
|
||||
--- a/thrift/lib/cpp/CMakeLists.txt
|
||||
+++ b/thrift/lib/cpp/CMakeLists.txt
|
||||
@@ -45,7 +45,7 @@ target_link_libraries(
|
||||
PUBLIC
|
||||
Folly::folly
|
||||
${LIBGFLAGS_LIBRARY}
|
||||
- ${GLOG_LIBRARIES}
|
||||
+ glog::glog
|
||||
)
|
||||
|
||||
add_library(
|
||||
@@ -121,7 +121,7 @@ target_link_libraries(
|
||||
Boost::boost
|
||||
Folly::folly
|
||||
wangle::wangle
|
||||
- ${GLOG_LIBRARIES}
|
||||
+ glog::glog
|
||||
${OPENSSL_LIBRARIES}
|
||||
)
|
||||
|
||||
@@ -137,7 +137,7 @@ target_link_libraries(
|
||||
thriftprotocol
|
||||
transport
|
||||
Folly::folly
|
||||
- ${GLOG_LIBRARIES}
|
||||
+ glog::glog
|
||||
)
|
||||
|
||||
set(THRIFT1_HEADER_DIRS
|
||||
diff --git a/thrift/lib/cpp2/CMakeLists.txt b/thrift/lib/cpp2/CMakeLists.txt
|
||||
index f941688ab0..b3609bbc62 100644
|
||||
--- a/thrift/lib/cpp2/CMakeLists.txt
|
||||
+++ b/thrift/lib/cpp2/CMakeLists.txt
|
||||
@@ -75,7 +75,7 @@ target_link_libraries(
|
||||
Folly::folly
|
||||
thriftmetadata
|
||||
thriftprotocol
|
||||
- ${GLOG_LIBRARIES}
|
||||
+ glog::glog
|
||||
${LIBGFLAGS_LIBRARY}
|
||||
)
|
||||
|
||||
@@ -206,7 +206,7 @@ target_link_libraries(
|
||||
thrift
|
||||
Folly::folly
|
||||
wangle::wangle
|
||||
- ${GLOG_LIBRARIES}
|
||||
+ glog::glog
|
||||
thrift-core
|
||||
)
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fbthrift";
|
||||
version = "2024.12.09.00";
|
||||
version = "2025.01.06.00";
|
||||
|
||||
outputs = [
|
||||
# Trying to split this up further into `bin`, `out`, and `dev`
|
||||
@@ -39,13 +39,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "facebook";
|
||||
repo = "fbthrift";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-u0XsGasHaHKXJoADpszwZ/4LnChYofXBdFNZ6UjFUqg=";
|
||||
hash = "sha256-VIWUh238MJDGxf6j/yanom9SNnNjBBzGbpg/SAquN5E=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Remove a line that breaks the build due to the CMake classic of
|
||||
# incorrect path concatenation.
|
||||
./remove-cmake-install-rpath.patch
|
||||
|
||||
./glog-0.7.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
diff --git a/fizz/CMakeLists.txt b/fizz/CMakeLists.txt
|
||||
index c60177c2b9..425326c529 100644
|
||||
--- a/fizz/CMakeLists.txt
|
||||
+++ b/fizz/CMakeLists.txt
|
||||
@@ -50,7 +50,7 @@
|
||||
find_package(fmt CONFIG REQUIRED)
|
||||
|
||||
find_package(OpenSSL REQUIRED)
|
||||
-find_package(Glog REQUIRED)
|
||||
+find_package(Glog CONFIG REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(Zstd REQUIRED)
|
||||
if (UNIX AND NOT APPLE)
|
||||
@@ -198,7 +198,6 @@
|
||||
${sodium_INCLUDE_DIR}
|
||||
${ZSTD_INCLUDE_DIR}
|
||||
PRIVATE
|
||||
- ${GLOG_INCLUDE_DIRS}
|
||||
${FIZZ_INCLUDE_DIRECTORIES}
|
||||
)
|
||||
|
||||
@@ -212,7 +211,7 @@
|
||||
ZLIB::ZLIB
|
||||
${ZSTD_LIBRARY}
|
||||
PRIVATE
|
||||
- ${GLOG_LIBRARIES}
|
||||
+ glog::glog
|
||||
${GFLAGS_LIBRARIES}
|
||||
${FIZZ_LINK_LIBRARIES}
|
||||
${CMAKE_DL_LIBS}
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fizz";
|
||||
version = "2024.12.09.00";
|
||||
version = "2025.01.06.00";
|
||||
|
||||
outputs = [
|
||||
"bin"
|
||||
@@ -38,9 +38,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "facebookincubator";
|
||||
repo = "fizz";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-fdaNIGndj3tCbMHE+nVtw+aTxrlaftz6gs9VFs1ANqs=";
|
||||
hash = "sha256-ENMWP4CkJHe6Z0qsRNkmgw8NcYQvduAs7jIZLwirsCs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./glog-0.7.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
|
||||
cmake,
|
||||
ninja,
|
||||
@@ -39,7 +40,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "folly";
|
||||
version = "2024.12.09.00";
|
||||
version = "2025.01.06.00";
|
||||
|
||||
# split outputs to reduce downstream closure sizes
|
||||
outputs = [
|
||||
@@ -51,7 +52,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "facebook";
|
||||
repo = "folly";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-uX63Zg0Dy5kHdDFYAX7kbVTXUyrWNsdz867VJ0191YI=";
|
||||
hash = "sha256-GxHOs6jfjiKQWWFs03O/sI92OvpPsf+Xilnawb8Nygs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -121,6 +122,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# The base template for std::char_traits has been removed in LLVM 19
|
||||
# https://releases.llvm.org/19.1.0/projects/libcxx/docs/ReleaseNotes.html
|
||||
./char_traits.patch
|
||||
|
||||
# <https://github.com/facebook/folly/issues/2171>
|
||||
(fetchpatch {
|
||||
name = "folly-fix-glog-0.7.patch";
|
||||
url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-cmake-find-glog.patch?h=folly&id=4b68f47338d4b20111e3ffa1291433120bb899f0";
|
||||
hash = "sha256-QGNpS5UNEm+0PW9+agwUVILzpK9t020KXDGyP03OAwE=";
|
||||
})
|
||||
];
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/144170
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a878c7c473..c76c989f91 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -52,7 +52,7 @@
|
||||
find_package(fmt REQUIRED)
|
||||
find_package(folly REQUIRED)
|
||||
find_package(Fizz REQUIRED)
|
||||
-find_package(Glog REQUIRED)
|
||||
+find_package(Glog CONFIG REQUIRED)
|
||||
find_package(Threads)
|
||||
|
||||
SET(GFLAG_DEPENDENCIES "")
|
||||
diff --git a/cmake/QuicTest.cmake b/cmake/QuicTest.cmake
|
||||
index e7d9f0c0c3..5f4525189c 100644
|
||||
--- a/cmake/QuicTest.cmake
|
||||
+++ b/cmake/QuicTest.cmake
|
||||
@@ -50,7 +50,7 @@
|
||||
target_link_libraries(${QUIC_TEST_TARGET} PUBLIC
|
||||
"${QUIC_TEST_DEPENDS}"
|
||||
${LIBGMOCK_LIBRARIES}
|
||||
- ${GLOG_LIBRARY}
|
||||
+ glog::glog
|
||||
)
|
||||
|
||||
# Per https://github.com/facebook/mvfst/pull/9, disable some warnings
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mvfst";
|
||||
version = "2024.12.09.00";
|
||||
version = "2025.01.06.00";
|
||||
|
||||
outputs = [
|
||||
"bin"
|
||||
@@ -33,9 +33,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "facebook";
|
||||
repo = "mvfst";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-AZauUGOJxspBLSg3bAV3xviYkH4wm7aPJ8SrD+mPHBM=";
|
||||
hash = "sha256-xgqVksPcm9CStAK32oNz7DT0CVzFb8ANohNxtyP0iT0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./glog-0.7.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
diff --git a/wangle/CMakeLists.txt b/wangle/CMakeLists.txt
|
||||
index 041e73c2b1..2804ad72cf 100644
|
||||
--- a/wangle/CMakeLists.txt
|
||||
+++ b/wangle/CMakeLists.txt
|
||||
@@ -66,7 +66,7 @@
|
||||
find_package(fizz CONFIG REQUIRED)
|
||||
find_package(fmt CONFIG REQUIRED)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
-find_package(Glog REQUIRED)
|
||||
+find_package(Glog CONFIG REQUIRED)
|
||||
find_package(gflags CONFIG QUIET)
|
||||
if (gflags_FOUND)
|
||||
message(STATUS "Found gflags from package config")
|
||||
@@ -162,7 +162,6 @@
|
||||
${FOLLY_INCLUDE_DIR}
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${OPENSSL_INCLUDE_DIR}
|
||||
- ${GLOG_INCLUDE_DIRS}
|
||||
${GFLAGS_INCLUDE_DIRS}
|
||||
${LIBEVENT_INCLUDE_DIR}
|
||||
${DOUBLE_CONVERSION_INCLUDE_DIR}
|
||||
@@ -172,7 +171,7 @@
|
||||
${FIZZ_LIBRARIES}
|
||||
${Boost_LIBRARIES}
|
||||
${OPENSSL_LIBRARIES}
|
||||
- ${GLOG_LIBRARIES}
|
||||
+ glog::glog
|
||||
${GFLAGS_LIBRARIES}
|
||||
${LIBEVENT_LIB}
|
||||
${DOUBLE_CONVERSION_LIBRARY}
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "wangle";
|
||||
version = "2024.12.09.00";
|
||||
version = "2025.01.06.00";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
@@ -34,9 +34,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
owner = "facebook";
|
||||
repo = "wangle";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-alRlq5gHVlyY1B8344D9C1EHjgQWl4VaOcTVhZ9NdSI=";
|
||||
hash = "sha256-H10BwlKypOuxqrV8BpeJd7gWUqYrCaoW0HwV4I7nxu0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./glog-0.7.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
|
||||
Generated
+46
-40
@@ -1,6 +1,6 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
version = 4
|
||||
|
||||
[[package]]
|
||||
name = "addr2line"
|
||||
@@ -41,9 +41,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "anyhow"
|
||||
version = "1.0.94"
|
||||
version = "1.0.95"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7"
|
||||
checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04"
|
||||
|
||||
[[package]]
|
||||
name = "atty"
|
||||
@@ -110,6 +110,12 @@ version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||
|
||||
[[package]]
|
||||
name = "cfg_aliases"
|
||||
version = "0.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
|
||||
|
||||
[[package]]
|
||||
name = "clap"
|
||||
version = "2.34.0"
|
||||
@@ -146,18 +152,18 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "crossbeam-channel"
|
||||
version = "0.5.13"
|
||||
version = "0.5.14"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2"
|
||||
checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471"
|
||||
dependencies = [
|
||||
"crossbeam-utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "crossbeam-deque"
|
||||
version = "0.8.5"
|
||||
version = "0.8.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
||||
checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
|
||||
dependencies = [
|
||||
"crossbeam-epoch",
|
||||
"crossbeam-utils",
|
||||
@@ -174,18 +180,18 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "crossbeam-queue"
|
||||
version = "0.3.11"
|
||||
version = "0.3.12"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35"
|
||||
checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115"
|
||||
dependencies = [
|
||||
"crossbeam-utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "crossbeam-utils"
|
||||
version = "0.8.20"
|
||||
version = "0.8.21"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80"
|
||||
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
||||
|
||||
[[package]]
|
||||
name = "duct"
|
||||
@@ -267,7 +273,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.90",
|
||||
"syn 2.0.95",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -360,9 +366,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
version = "0.2.168"
|
||||
version = "0.2.169"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5aaeb2981e0606ca11d79718f8bb01164f1d6ed75080182d3abf017e6d244b6d"
|
||||
checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
|
||||
|
||||
[[package]]
|
||||
name = "lock_api"
|
||||
@@ -394,18 +400,18 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
||||
|
||||
[[package]]
|
||||
name = "memoffset"
|
||||
version = "0.7.1"
|
||||
version = "0.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
|
||||
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "miniz_oxide"
|
||||
version = "0.8.0"
|
||||
version = "0.8.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
|
||||
checksum = "4ffbe83022cedc1d264172192511ae958937694cd57ce297164951b8b3568394"
|
||||
dependencies = [
|
||||
"adler2",
|
||||
]
|
||||
@@ -423,15 +429,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nix"
|
||||
version = "0.26.4"
|
||||
version = "0.29.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b"
|
||||
checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
|
||||
dependencies = [
|
||||
"bitflags 1.3.2",
|
||||
"bitflags 2.6.0",
|
||||
"cfg-if",
|
||||
"cfg_aliases",
|
||||
"libc",
|
||||
"memoffset",
|
||||
"pin-utils",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -445,9 +451,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "object"
|
||||
version = "0.36.5"
|
||||
version = "0.36.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "aedf0a2d09c573ed1d8d85b30c119153926a2b36dce0ab28322c09a117a4683e"
|
||||
checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
@@ -493,9 +499,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "pin-project-lite"
|
||||
version = "0.2.15"
|
||||
version = "0.2.16"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "915a1e146535de9163f3987b8944ed8cf49a18bb0056bcebcdcece385cece4ff"
|
||||
checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
|
||||
|
||||
[[package]]
|
||||
name = "pin-utils"
|
||||
@@ -538,9 +544,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.37"
|
||||
version = "1.0.38"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
|
||||
checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
]
|
||||
@@ -594,9 +600,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
||||
|
||||
[[package]]
|
||||
name = "serde"
|
||||
version = "1.0.216"
|
||||
version = "1.0.217"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e"
|
||||
checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70"
|
||||
dependencies = [
|
||||
"serde_derive",
|
||||
]
|
||||
@@ -624,20 +630,20 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive"
|
||||
version = "1.0.216"
|
||||
version = "1.0.217"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e"
|
||||
checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.90",
|
||||
"syn 2.0.95",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_json"
|
||||
version = "1.0.133"
|
||||
version = "1.0.134"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377"
|
||||
checksum = "d00f4175c42ee48b15416f6193a959ba3a0d67fc699a0db9ad12df9f83991c7d"
|
||||
dependencies = [
|
||||
"itoa",
|
||||
"memchr",
|
||||
@@ -732,9 +738,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "2.0.90"
|
||||
version = "2.0.95"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31"
|
||||
checksum = "46f71c0377baf4ef1cc3e3402ded576dccc315800fbc62dfc7fe04b009773b4a"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@@ -791,7 +797,7 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.90",
|
||||
"syn 2.0.95",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -821,7 +827,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.90",
|
||||
"syn 2.0.95",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -1069,5 +1075,5 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn 2.0.90",
|
||||
"syn 2.0.95",
|
||||
]
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index dd6eec3320..ee74ab0008 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -333,7 +333,7 @@
|
||||
find_package(Gflags REQUIRED)
|
||||
include_directories(SYSTEM ${GFLAGS_INCLUDE_DIR})
|
||||
|
||||
-find_package(Glog REQUIRED)
|
||||
+find_package(Glog CONFIG REQUIRED)
|
||||
add_compile_definitions(GLOG_NO_ABBREVIATED_SEVERITIES)
|
||||
|
||||
# We indirectly depend on boost. This logic needs to match
|
||||
@@ -479,7 +479,6 @@
|
||||
)
|
||||
target_include_directories(third_party_deps INTERFACE
|
||||
${FOLLY_INCLUDE_DIR}
|
||||
- ${GLOG_INCLUDE_DIR}
|
||||
${GFLAGS_INCLUDE_DIR}
|
||||
${Boost_INCLUDE_DIRS}
|
||||
)
|
||||
@@ -36,15 +36,19 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "watchman";
|
||||
version = "2024.12.09.00";
|
||||
version = "2025.01.06.00";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "watchman";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-w8Xm0xAkPH/Yapph/K8uPoPQxfc9bHLEDr0wFrNJ2LA=";
|
||||
hash = "sha256-W37+xs+Fj2yL9KzR9CugfgbFl+g3f+2Dx+xL9MpQEQ4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./glog-0.7.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
|
||||
Reference in New Issue
Block a user