mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-07 07:02:53 +03:00
Changes for building in Debian (#943)
Summary: Some changes that had to be done in Debian for the build to work: * Installation of system deps failed as it was not detecting the OS correctly * Updated the CMake manifest to uncomment the deb dependency as the CMake versions are newer * fb303 was not getting cloned as it was looking for a non-existent master branch Pull Request resolved: https://github.com/facebook/watchman/pull/943 Differential Revision: D30700180 Pulled By: fanzeyi fbshipit-source-id: 62eb9f8ba57510eb98d6bd56e40384bf38a74d8c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
921da2657c
commit
36f2a4f2b7
@@ -101,7 +101,7 @@ class HostType(object):
|
|||||||
return None
|
return None
|
||||||
if self.distro in ("fedora", "centos"):
|
if self.distro in ("fedora", "centos"):
|
||||||
return "rpm"
|
return "rpm"
|
||||||
if self.distro in ("debian", "ubuntu"):
|
if self.distro.startswith(("debian", "ubuntu")):
|
||||||
return "deb"
|
return "deb"
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
@@ -4,9 +4,8 @@ name = cmake
|
|||||||
[rpms]
|
[rpms]
|
||||||
cmake
|
cmake
|
||||||
|
|
||||||
# All current deb based distros have a cmake that is too old
|
[debs]
|
||||||
#[debs]
|
cmake
|
||||||
#cmake
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ninja
|
ninja
|
||||||
|
@@ -6,6 +6,7 @@ shipit_fbcode_builder = true
|
|||||||
|
|
||||||
[git]
|
[git]
|
||||||
repo_url = https://github.com/facebookincubator/fb303.git
|
repo_url = https://github.com/facebookincubator/fb303.git
|
||||||
|
rev = main
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
builder = cmake
|
builder = cmake
|
||||||
|
Reference in New Issue
Block a user