Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Adenilson
Copy link

ToT (Top of Tree) will fail to build if benchmarks are enabled (i.e. cmake ../ -DBUILD_BENCHMARKS=ON) on Monterey with clang++ 13.1.6.

This patchset will fix the build.

@Adenilson
Copy link
Author

@Orvid can we merge this one?

@facebook-github-bot
Copy link
Contributor

@Orvid has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Adenilson Cavalcanti added 2 commits September 14, 2022 08:15
Apparently OSX doesn't implement barriers since it is an optional part of
POSIX realtime threads extension, therefore we must test for its presence.

This patch fixes the build of futures_benchmark for OSX Monterey with
clang++ 13.1.6.
The benchmark for producer/consumer relies on a Linux-only API for
setting process/thread affinity.
@facebook-github-bot
Copy link
Contributor

@Orvid has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit to facebook/hhvm that referenced this pull request Sep 19, 2022
Summary:
ToT (Top of Tree) will fail to build if benchmarks are enabled (i.e.  cmake ../ -DBUILD_BENCHMARKS=ON) on Monterey with clang++ 13.1.6.

This patchset will fix the build.

X-link: facebook/folly#1847

Reviewed By: Gownta

Differential Revision: D39107587

Pulled By: Orvid

fbshipit-source-id: 0bec33e64ee4d869fd00f8c77ae3aa8a0b0be9a7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants