PKGNAME=fbthrift
PKGSEC=net
PKGDEP="fizz fmt folly gflags glog mvfst wangle xxhash zlib zstd"
BUILDDEP="llvm"
PKGDES="Serialization and RPC framework for service communication"

# FIXME: fbthrift/abbuild/thrift/lib/thrift/gen-cpp2/protocol_types.h:13:10: fatal error: 'thrift/lib/thrift/gen-cpp2/type_types.h' file not found
ABTYPE=cmake
CMAKE_AFTER=(
    '-DBUILD_SHARED_LIBS=ON'
)

# FIXME: error: call of overloaded ‘find(const std::__cxx11::basic_string<char>&)’ is ambiguous
USECLANG=1

# FIXME: [ERROR: .../fbthrift/thrift/lib/thrift/RpcMetadata.thrift:34] unordered_map::at
NOLTO=1
