mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
Summary:
getdeps has been using CMake 3.20.2 since December 2021 (D32805140).
CMake 3.20.2 maps `CMAKE_CXX_STANDARD 20` on MSVC to `/std:c++latest`.
CMake 3.20.4 includes [this change](3aaf1d91bf
), which maps `CMAKE_CXX_STANDARD 20` on newer versions of MSVC to `/std:c++20`.
This change allows OSS builds to build with `CMAKE_CXX_STANDARD 20` without getting dumped into `/std:c++latest`, which may jump to even newer versions than desired.
---
This will allow us to build `fbthrift` OSS using C++ 20, and avoid OSS build breakages due to the discrepancy in C++ build standards (C++ 20 internally via Buck, C++ 17 in OSS via CMake) - e.g. D79365997.
Reviewed By: chadaustin
Differential Revision: D79590917
fbshipit-source-id: 552a68ae6854ff8482222b2fc164c7d6408e777a
50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
[manifest]
|
|
name = cmake
|
|
|
|
[homebrew]
|
|
cmake
|
|
|
|
# 18.04 cmake is too old
|
|
[debs.not(all(distro=ubuntu,distro_vers="18.04"))]
|
|
cmake
|
|
|
|
[rpms]
|
|
cmake
|
|
|
|
[pps]
|
|
cmake
|
|
|
|
[dependencies]
|
|
ninja
|
|
|
|
[download.os=windows]
|
|
url = https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-windows-x86_64.zip
|
|
sha256 = 965d2f001c3ca807d288f2b6b15c42b25579a0e73ef12c2a72c95f4c69123638
|
|
|
|
[download.os=darwin]
|
|
url = https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-macos-universal.tar.gz
|
|
sha256 = df90016635e3183834143c6d94607f0804fe9762f7cc6032f6a4afd7c19cd43b
|
|
|
|
[download.any(os=linux,os=freebsd)]
|
|
url = https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4.tar.gz
|
|
sha256 = 87a4060298f2c6bb09d479de1400bc78195a5b55a65622a7dceeb3d1090a1b16
|
|
|
|
[build.os=windows]
|
|
builder = nop
|
|
subdir = cmake-3.20.4-windows-x86_64
|
|
|
|
[build.os=darwin]
|
|
builder = nop
|
|
subdir = cmake-3.20.4-macos-universal
|
|
|
|
[install.files.os=darwin]
|
|
CMake.app/Contents/bin = bin
|
|
CMake.app/Contents/share = share
|
|
|
|
[build.any(os=linux,os=freebsd)]
|
|
builder = cmakebootstrap
|
|
subdir = cmake-3.20.4
|
|
|
|
[make.install_args.any(os=linux,os=freebsd)]
|
|
install
|