From 638f656411b84e62f98ff0af3c9a63efc580800a Mon Sep 17 00:00:00 2001 From: Chad Austin Date: Tue, 23 Aug 2022 12:19:31 -0700 Subject: [PATCH] python: install python3.8-dev on Ubuntu 18.04 Summary: It turns out we don't have to compile Python from source on Ubuntu 18.04. python3.8-dev is sufficient to complete a getdeps build of Watchman on Ubuntu 18.04. This reduces build times by a minute or two on my Vagrant VM. Reviewed By: xavierd Differential Revision: D38931978 fbshipit-source-id: bcde84fc5aca6e0466191650a316130c426d0dc5 --- build/fbcode_builder/manifests/python | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/fbcode_builder/manifests/python b/build/fbcode_builder/manifests/python index 83d62bb80..5adeae360 100644 --- a/build/fbcode_builder/manifests/python +++ b/build/fbcode_builder/manifests/python @@ -9,6 +9,9 @@ python3 python3-devel # eden_scm needs dataclasses which arrive in 3.7, and the bionic python is 3.6 +[debs.all(distro=ubuntu,distro_vers="18.04")] +python3.8-dev + [debs.not(all(distro=ubuntu,distro_vers="18.04"))] python3-all-dev