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

Build hhvm_clang with libstdc++ instead of libc++ #9213

Closed
wants to merge 57 commits into from

Conversation

Atry
Copy link
Contributor

@Atry Atry commented Sep 20, 2022

This PR builds hhvm_clang nix package with libstdc++ instead of libc++.

Note that this PR also switch clang to version 14 instead of version 12, because it is a closer version to the internal clang version 15, given that nixpkgs does not provide clang 15 right now. See NixOS/nixpkgs#191132

Test Plan:
This PR should not affect hhvm nix package, which is built with gcc. The CI job for hhvm_clang is expected to fail because we have not ported HHVM OSS to Clang.

Atry and others added 30 commits September 14, 2022 12:24
Running tests in the checkPhase would let the tests be package specific, i.e. the HHVM built packages with gcc and clang could have separate tests
In the next couple of PR, I will create a new HHVM package compiled with clang, which use the shared settings from common.nix.
This reverts commit f48cecd.
@facebook-github-bot
Copy link
Contributor

@Atry has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@Atry Atry marked this pull request as ready for review September 21, 2022 18:15
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@Atry has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@Atry has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

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

facebook-github-bot pushed a commit that referenced this pull request Sep 27, 2022
Summary:
This PR is an aggregation of the following PRs that fix issues in the HHVM OSS's clang build.

- #9226
- #9223
- #9220
- #9218
- #9217
- #9215
- #9214
- #9213
- #9211

It merges all the above PRs and removes `continue-on-error` for clang build.

Pull Request resolved: #9129

Test Plan: GitHub Action for the clang build should pass.

Reviewed By: alexeyt

Differential Revision: D38631930

Pulled By: Atry

fbshipit-source-id: 4fbd47ee355e760800444b7112af241555a9a8a5
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