Skip to content

Update folly/lang/Align.h (backport to C++11) - #6534

Closed
pdillinger wants to merge 2 commits into
meta:masterfrom
pdillinger:align-upgrade
Closed

pdillinger wants to merge 2 commits into
meta:masterfrom
pdillinger:align-upgrade

Conversation

@pdillinger

Copy link
Copy Markdown
Contributor

Summary: For s390x support, some updates in newer version of Align.h are
needed. Upgrading just that file as best we can, with one addition to
Portability.h and tweaking new code in Align.h to use C++11 only (no
non-trivial constexpr functions).

Test Plan: CI, further work in PR #6168

Summary: For s390x support, some updates in newer version of Align.h are
needed. Upgrading just that file as best we can, with one addition to
Portability.h and tweaking new code in Align.h to use C++11 only (no
non-trivial constexpr functions).

Test Plan: CI, further work in PR meta#6168
@pdillinger
pdillinger requested a review from adamretter March 13, 2020 19:13
@pdillinger pdillinger changed the title Update folly/lang/Align.h + backport to C++11 Update folly/lang/Align.h (backport to C++11) Mar 13, 2020

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@adamretter adamretter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't really comment on if it is correct, I don't have the depth of C++ knowledge required.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@pdillinger has updated the pull request. Re-import the pull request

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@pdillinger merged this pull request in 6c595f0.

Tim-Reed pushed a commit to Tim-Reed/rocksdb that referenced this pull request Oct 1, 2026
Summary:
For s390x support, some updates in newer version of Align.h are
needed. Upgrading just that file as best we can, with one addition to
Portability.h and tweaking new code in Align.h to use C++11 only (no
non-trivial constexpr functions).
Pull Request resolved: meta#6534

Test Plan: CI, further work in PR meta#6168

Differential Revision: D20445942

Pulled By: pdillinger

fbshipit-source-id: 0cef3c367463c71f3123d12cdf287c573af5e342
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.

4 participants