Commit 60d9f5d7 authored by Anuradha Weeraman's avatar Anuradha Weeraman Committed by Facebook GitHub Bot

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
parent 4ae8b4df
...@@ -101,7 +101,7 @@ class HostType(object): ...@@ -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 ...@@ -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 ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment