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):
return None
if self.distro in ("fedora", "centos"):
return "rpm"
if self.distro in ("debian", "ubuntu"):
if self.distro.startswith(("debian", "ubuntu")):
return "deb"
return None
......
......@@ -4,9 +4,8 @@ name = cmake
[rpms]
cmake
# All current deb based distros have a cmake that is too old
#[debs]
#cmake
[debs]
cmake
[dependencies]
ninja
......
......@@ -6,6 +6,7 @@ shipit_fbcode_builder = true
[git]
repo_url = https://github.com/facebookincubator/fb303.git
rev = main
[build]
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