From 7fedf1abf729e19e4cedca5f0a5733297bbca203 Mon Sep 17 00:00:00 2001 From: Jeffrey Igims Date: Mon, 4 Nov 2024 10:51:52 -0800 Subject: [PATCH] Add whl for x2p client Summary: Some changes to get this working: * Enable mpclmul and mssse3 instruction sets required by [GHashHardwareSSSE3](https://fburl.com/code/1gn2lych) and other flags from the fbcode toolchain * Don't enable `liburing` for folly usage. The third-party lib requires newer kernel headers than what we currently use during compilation with the conda toolchain. I haven't yet figured out a way to upgrade the headers without breaking other stuff in the toolchain. IIUC, the lib isn't strictly required Reviewed By: ngoyal, andrewjcg Differential Revision: D64972752 fbshipit-source-id: 393107e02d9825a8698aa7732fd089d45fc1f5ff --- folly/io/async/BUCK | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/folly/io/async/BUCK b/folly/io/async/BUCK index afe9119a9ee..1709388261c 100644 --- a/folly/io/async/BUCK +++ b/folly/io/async/BUCK @@ -255,7 +255,9 @@ cpp_library( cpp_library( name = "async_transport_certificate", headers = ["AsyncTransportCertificate.h"], - exported_deps = [], + exported_deps = [ + "//folly:optional", + ], ) cpp_library( @@ -592,6 +594,7 @@ cpp_library( "linux", select({ "DEFAULT": ["fbsource//third-party/liburing:uring"], + # @fb-only: "ovr_config//distro/constraints:conda": [], # @fb-only: "ovr_config//os:linux-sgx": [], }), )],