libedgetpu: fix building with Abseil 20250512.0

Abseil 20250512.0 removed the bad_optional_access library.
This commit is contained in:
Jack Wilsdon
2025-07-15 01:01:36 +01:00
parent d85725671b
commit 369b49c104
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,12 @@
diff --git a/makefile_build/Makefile b/makefile_build/Makefile
index 335e74a..71492d0 100644
--- a/makefile_build/Makefile
+++ b/makefile_build/Makefile
@@ -40,7 +40,6 @@ LIBEDGETPU_LDFLAGS := \
-labsl_hashtablez_sampler \
-labsl_raw_hash_set \
-labsl_str_format_internal \
- -labsl_bad_optional_access \
-lusb-1.0
LIBEDGETPU_FLATC_SRCS := \
+1
View File
@@ -41,6 +41,7 @@ stdenv.mkDerivation {
url = "https://patch-diff.githubusercontent.com/raw/google-coral/libedgetpu/pull/66.patch";
hash = "sha256-mMODpQmikfXtsQvtgh26cy97EiykYNLngSjidOBt/3I=";
})
./fix-abseil-20250512.0.patch
];
postPatch = ''