Skip to content

Conversation

@mszabo-wikia
Copy link
Contributor

The HHVM CMake build contains various bits that are outdated or never really were supported to begin with. The resulting bloat makes the build files harder to maintain. So, reduce the complexity by eliminating dead build logic:

  • Remove MSVC-specific build logic. HHVM support on Windows was only ever experimental and was not worked on from 2018 onwards.
  • Remove Cotire, an 11-year old experiment for precompiling headers.
  • Drop checks and conditional blocks for very old clang and gcc versions. Since we require C++20, any attempt to build on such archaic compiler versions would fail fast.
  • Drop configuration specific to the Intel C++ compiler.
  • Remove unused CPACK_GENERATOR option.
  • Remove SSE4.2 and AVX2 toggles in favor of march=x86-64-v3.

The HHVM CMake build contains various bits that are outdated
or never really were supported to begin with. The resulting bloat
makes the build files harder to maintain. So, reduce the complexity
by eliminating dead build logic:

* Remove MSVC-specific build logic. HHVM support on Windows was only
  ever experimental and was not worked on from 2018 onwards.
* Remove Cotire, an 11-year old experiment for precompiling headers.
* Drop checks and conditional blocks for very old clang and gcc
  versions. Since we require C++20, any attempt to build on such
  archaic compiler versions would fail fast.
* Drop configuration specific to the Intel C++ compiler.
* Remove unused CPACK_GENERATOR option.
* Remove SSE4.2 and AVX2 toggles in favor of `march=x86-64-v3`.
@meta-cla meta-cla bot added the CLA Signed label Nov 7, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 7, 2025

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D86521728. (Because this pull request was imported automatically, there will not be any future comments.)

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.

1 participant