Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build #1

Open
wants to merge 286 commits into
base: main
Choose a base branch
from
Open

Fix build #1

wants to merge 286 commits into from

Conversation

afrind
Copy link
Owner

@afrind afrind commented Dec 19, 2024

No description provided.

Open Source Bot and others added 30 commits July 31, 2024 09:32
Summary: This is not the full draft 5 scheme, this just munges all the bits into a uint64 and uses sequential ordering, with stream ID tiebreakers.

Reviewed By: jordicenzano

Differential Revision:
D59690806

Privacy Context Container: L1222497

fbshipit-source-id: 60a07e8d07b01585cef967f4c94df43636298496
Summary: Pull Request resolved: facebook/mvfst#349

Reviewed By: vitaut

Differential Revision: D60154344

fbshipit-source-id: dfadbf0a7e01867875c00b244857a560bc3497ad
Summary: As in title

Reviewed By: roticv

Differential Revision: D60542475

fbshipit-source-id: d1b97544308cebdbb7e55c61f20c752b92b34456
Summary: As in title.  Also a small tweak to session closure.

Reviewed By: lucasgadani

Differential Revision: D60542502

fbshipit-source-id: f404d926d76375dd5f58347bd500da9ffd158ebe
Summary:
X-link: facebookincubator/zstrong#949

libgpiod is used by GpioLine.cpp but has never been needed in OSS before, adding this library to the CMake manifests to enable that.

Reviewed By: paulcruz74

Differential Revision: D60934748

fbshipit-source-id: 8c705b3ffd3eb611ef96a3df95bbb7d70dd7f86d
Summary:
X-link: facebookincubator/zstrong#950

Adds the ability to use GPIO lines for presence detection. Utilizes the GpioLine library from fboss lib.

Reviewed By: kimdo8736

Differential Revision: D60946559

fbshipit-source-id: ce52d96e8cdcb1aa3e0bb385f1ef502185aaa33f
Summary:
This benchmarks various functions that convert decimal values in string representation to IEEE-754 double representation.

These benchmarks `std::strtof`, `std::strtof` with a copy (needed for non-c-strings), `std::strtofl` with the C locale (for locale-indepent processing), `std::from_chars`, libdouble-conversion, and libfast_float.

The functions are benchmarked on different inputs. There is input that is hardcoded values in decimal and exponentional notation. There is randomly generated values in the double space range. There is also inputs for single and double digit ints. As well as percentages.

Note that `std::from_chars`, which on platform010/libstdc++ v11 uses `strtof` + `uselocale` [0]. libstdc++ v12 uses fast float[2].

0: gcc-mirror/gcc@932fbc8
1:  gcc-mirror/gcc@490e230#diff-d3c32d9c9c566f7f3888d150c6448428ea194170146a1a166917ba45b1252187

Reviewed By: yfeldblum, Orvid

Differential Revision: D61356955

fbshipit-source-id: 6ec21b602b08505d946551dda49a35402bee7dae
Summary:
X-link: facebookincubator/zstrong#944

https://github.com/facebook/mcrouter currently uses a legacy autotools-based build system, which forces third parties to rely on a collection of scripts hosted in the repository to build it with all required dependencies. This is brittle and has lead to many issue reports about build problems.

In facebook/mcrouter#449, I've prepared a working CMake-based build system for mcrouter that could replace the legacy autotools setup. This patch adds the necessary manifests for mcrouter and its ragel dependency so that fbcode_builder itself will be setup for the repo without having to do it in the PR.

X-link: facebook/folly#2268

Reviewed By: yfeldblum

Differential Revision: D60537337

Pulled By: Orvid

fbshipit-source-id: ed73693d4af93acc3b8e996a7c61d0090075949f
Summary:
The MoQSession needs to wait for the promise to be completed before it can start publishing more data.

This diff returns the SemiFuture which allows the client to ensure that data has been flushed before writing more data.

```
F0819 15:11:20.110482 2032140288 HTTPTransaction.cpp:2159] Check failed: !writePromise_ Wait for previous write to complete
```

Reviewed By: afrind

Differential Revision: D61499501

fbshipit-source-id: 1fcbb75169955d1a655fbfbe9c3b418072717b89
Open Source Bot and others added 30 commits December 5, 2024 09:42
Summary:
X-link: facebookincubator/zstrong#1084

openssl build on windows is slow due to nmake being single threaded

fortunately the Qt developers had the same problem and produced jom - a nmake compatible make that adds the /j<parallelism> flag

add a jom manifest and use it for the openssl build on windows

Reviewed By: bigfootjon

Differential Revision: D66818562

fbshipit-source-id: 88938dbc862da18ae7f75df51aa99bb669aae71a
Summary:
X-link: facebookincubator/fizz#155

X-link: facebookincubator/zstrong#1085

getdeps windows file copy is very slow, speed it up

Reviewed By: bigfootjon

Differential Revision: D66830544

fbshipit-source-id: 43213e258c71ae706bb059600619e276e7491a90
Summary:
Pull Request resolved: facebookexperimental#8

Adds support to MoQFramer, MoQCodec and MoQSession to send and receive fetch streams

Reviewed By: sharmafb

Differential Revision: D65532676

fbshipit-source-id: a667a677c1a9f3af98e9681e508769cf3df050c9
Summary: It's not used anymore, works with generic relay

Reviewed By: roticv

Differential Revision: D66881584

fbshipit-source-id: 189d4182b07b5208123611c9af1ffd9675a627f6
Summary:
X-link: facebookincubator/zstrong#1086

Discussed with Opensource team further. 4-core-ubuntu-22.04 label does not work since it does not exist and runners can work only with the allocated list of labels.

Opensource team has now added necessary label, is added for 8-core as requested. So, now making code change for good, hopefully!

https://fb.workplace.com/groups/osssupport/permalink/27367197886235467/

Reviewed By: xiangxu1121

Differential Revision: D66487987

fbshipit-source-id: 62fa2b60b5613876aaa1f0c1a47dde8826746926
Summary: The purpose of Codec is to manage parsing states between packets, which is not required for datagram.

Reviewed By: sharmafb

Differential Revision: D66976849

fbshipit-source-id: 37c7e6b7885d21bdb4a5965189de5c4ee59d1022
Summary:
Pull Request resolved: facebookexperimental#9

This will close the session when all fetches and subscribes are complete.  This required changing the objects() and payload() read loops a bit.  Since the sources are shared pointers, the callees can continue reading from them after the session is gone.  We use try_dequeue() to drain the queue after the session's token has been cancelled.

Reviewed By: NEUDitao

Differential Revision: D65532678

fbshipit-source-id: e7bf4023cd0cf61bb77910da92523133c41d86c1
Summary: Some sanity checks that make subsequent refactors a little smaller

Reviewed By: NEUDitao

Differential Revision: D67147834

fbshipit-source-id: 89177bc42212dc132526e9529a13a551956c0832
Summary:
Replace SUBSCRIBE in the past in MoQDateServer with FETCH.

Change MoQTextClient so that it will determine the live head and FETCH for any past data requested on the command line.

Pull Request resolved: facebookexperimental#10

Reviewed By: sharmafb

Differential Revision: D65532689

fbshipit-source-id: 5a27cd22ec665e7f1e3964b0270f806acf3bfaf7
Summary:
The MoQSession APIs were really just hacks to get things started and haven't kept up with draft changes.  This is the beginning of a rewrite.

The interfaces in MoQConsumers.h will be both the publish and subscribe side API.

The session will return a TrackConsumer object from subscribeOK and a FetchConsumer from fetchOK.  The caller will provide a TrackConsumer to subscribe and a FetchConsumer to fetch that will be used as callbacks.

The existing read and write paths for non-control data in MoQSession will be replaced.

Reviewed By: sharmafb

Differential Revision: D66881590

fbshipit-source-id: 5f280c8bff269c7991a0f60ced9b659abb4ff6af
Summary: Now that we have a fancy streaming callback structure, make an adapter for applications that only want to receive whole objects and aren't concerned about the receive order.

Reviewed By: NEUDitao

Differential Revision: D66881604

fbshipit-source-id: b3384290b419b1186f0181657130444b5a36c86a
Summary: Returning a SemiFuture when the stream window was full, and only allowing one was too heavy handed.  Instead, just return the state and add a new API (awaitWritable) for applications that don't want to build a buffer.

Reviewed By: sharmafb

Differential Revision: D66881576

fbshipit-source-id: 38a88929c449df77eac7eb62af65085a4596710b
Summary: This is an adapter that is close to the old MoQSession read interface.

Reviewed By: sharmafb

Differential Revision: D67245323

fbshipit-source-id: 5eff879d005e2883f95250e3f3aa73777d99efbf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.