From 786d044bd64f4b9cf9746071d1c8adc92b61c26a Mon Sep 17 00:00:00 2001 From: Jon Janzen Date: Thu, 14 Dec 2023 12:50:26 -0800 Subject: [PATCH] Remove unused manifests Summary: X-link: https://github.com/facebookincubator/velox/pull/7890 I'm investigating some deep surgery to how we do open source builds and reading a bunch of the relevant code here. I noticed that these manifests aren't used by any projects Reviewed By: chadaustin Differential Revision: D51869247 fbshipit-source-id: 5686ff80f10440c1ade271352149fd3e33645963 --- build/fbcode_builder/manifests/date | 10 ----- build/fbcode_builder/manifests/git-lfs | 12 ------ build/fbcode_builder/manifests/gnu-bash | 20 ---------- build/fbcode_builder/manifests/gnu-coreutils | 15 -------- build/fbcode_builder/manifests/gnu-grep | 15 -------- build/fbcode_builder/manifests/gnu-sed | 15 -------- build/fbcode_builder/manifests/googletest_1_8 | 18 --------- build/fbcode_builder/manifests/jq | 24 ------------ .../manifests/libbpf_0_2_0_beta | 26 ------------- build/fbcode_builder/manifests/lld | 13 ------- build/fbcode_builder/manifests/nmap | 25 ------------- build/fbcode_builder/manifests/patchelf | 17 --------- build/fbcode_builder/manifests/pcre | 20 ---------- build/fbcode_builder/manifests/python-click | 9 ----- build/fbcode_builder/manifests/python-dulwich | 19 ---------- build/fbcode_builder/manifests/sqlite3-bin | 28 -------------- build/fbcode_builder/manifests/tcl | 20 ---------- build/fbcode_builder/manifests/tree | 37 ------------------- 18 files changed, 343 deletions(-) delete mode 100644 build/fbcode_builder/manifests/date delete mode 100644 build/fbcode_builder/manifests/git-lfs delete mode 100644 build/fbcode_builder/manifests/gnu-bash delete mode 100644 build/fbcode_builder/manifests/gnu-coreutils delete mode 100644 build/fbcode_builder/manifests/gnu-grep delete mode 100644 build/fbcode_builder/manifests/gnu-sed delete mode 100644 build/fbcode_builder/manifests/googletest_1_8 delete mode 100644 build/fbcode_builder/manifests/jq delete mode 100644 build/fbcode_builder/manifests/libbpf_0_2_0_beta delete mode 100644 build/fbcode_builder/manifests/lld delete mode 100644 build/fbcode_builder/manifests/nmap delete mode 100644 build/fbcode_builder/manifests/patchelf delete mode 100644 build/fbcode_builder/manifests/pcre delete mode 100644 build/fbcode_builder/manifests/python-click delete mode 100644 build/fbcode_builder/manifests/python-dulwich delete mode 100644 build/fbcode_builder/manifests/sqlite3-bin delete mode 100644 build/fbcode_builder/manifests/tcl delete mode 100644 build/fbcode_builder/manifests/tree diff --git a/build/fbcode_builder/manifests/date b/build/fbcode_builder/manifests/date deleted file mode 100644 index 8a4e255c8..000000000 --- a/build/fbcode_builder/manifests/date +++ /dev/null @@ -1,10 +0,0 @@ -[manifest] -name = date - -[download] -url = https://github.com/HowardHinnant/date/archive/refs/tags/v3.0.1.tar.gz -sha256 = 7a390f200f0ccd207e8cff6757e04817c1a0aec3e327b006b7eb451c57ee3538 - -[build] -builder = cmake -subdir = date-3.0.1 diff --git a/build/fbcode_builder/manifests/git-lfs b/build/fbcode_builder/manifests/git-lfs deleted file mode 100644 index 38a5e6aeb..000000000 --- a/build/fbcode_builder/manifests/git-lfs +++ /dev/null @@ -1,12 +0,0 @@ -[manifest] -name = git-lfs - -[download.os=linux] -url = https://github.com/git-lfs/git-lfs/releases/download/v2.9.1/git-lfs-linux-amd64-v2.9.1.tar.gz -sha256 = 2a8e60cf51ec45aa0f4332aa0521d60ec75c76e485d13ebaeea915b9d70ea466 - -[build] -builder = nop - -[install.files] -git-lfs = bin/git-lfs diff --git a/build/fbcode_builder/manifests/gnu-bash b/build/fbcode_builder/manifests/gnu-bash deleted file mode 100644 index 89da77ca2..000000000 --- a/build/fbcode_builder/manifests/gnu-bash +++ /dev/null @@ -1,20 +0,0 @@ -[manifest] -name = gnu-bash - -[download.os=darwin] -url = https://ftp.gnu.org/gnu/bash/bash-5.1-rc1.tar.gz -sha256 = 0b2684eb1990329d499c96decfe2459f3e150deb915b0a9d03cf1be692b1d6d3 - -[build.os=darwin] -# The buildin FreeBSD bash on OSX is both outdated and incompatible with the -# modern GNU bash, so for the sake of being cross-platform friendly this -# manifest provides GNU bash. -# NOTE: This is the 5.1-rc1 version, which is almost the same as what Homebrew -# uses (Homebrew installs 5.0 with the 18 patches that in fact make the 5.1-rc1 -# version). -builder = autoconf -subdir = bash-5.1-rc1 -build_in_src_dir = true - -[build.not(os=darwin)] -builder = nop diff --git a/build/fbcode_builder/manifests/gnu-coreutils b/build/fbcode_builder/manifests/gnu-coreutils deleted file mode 100644 index 1ab4d9d4a..000000000 --- a/build/fbcode_builder/manifests/gnu-coreutils +++ /dev/null @@ -1,15 +0,0 @@ -[manifest] -name = gnu-coreutils - -[download.os=darwin] -url = https://ftp.gnu.org/gnu/coreutils/coreutils-8.32.tar.gz -sha256 = d5ab07435a74058ab69a2007e838be4f6a90b5635d812c2e26671e3972fca1b8 - -[build.os=darwin] -# The buildin FreeBSD version incompatible with the GNU one, so for the sake of -# being cross-platform friendly this manifest provides the GNU version. -builder = autoconf -subdir = coreutils-8.32 - -[build.not(os=darwin)] -builder = nop diff --git a/build/fbcode_builder/manifests/gnu-grep b/build/fbcode_builder/manifests/gnu-grep deleted file mode 100644 index e6a163d37..000000000 --- a/build/fbcode_builder/manifests/gnu-grep +++ /dev/null @@ -1,15 +0,0 @@ -[manifest] -name = gnu-grep - -[download.os=darwin] -url = https://ftp.gnu.org/gnu/grep/grep-3.5.tar.gz -sha256 = 9897220992a8fd38a80b70731462defa95f7ff2709b235fb54864ddd011141dd - -[build.os=darwin] -# The buildin FreeBSD version incompatible with the GNU one, so for the sake of -# being cross-platform friendly this manifest provides the GNU version. -builder = autoconf -subdir = grep-3.5 - -[build.not(os=darwin)] -builder = nop diff --git a/build/fbcode_builder/manifests/gnu-sed b/build/fbcode_builder/manifests/gnu-sed deleted file mode 100644 index 9b458df6e..000000000 --- a/build/fbcode_builder/manifests/gnu-sed +++ /dev/null @@ -1,15 +0,0 @@ -[manifest] -name = gnu-sed - -[download.os=darwin] -url = https://ftp.gnu.org/gnu/sed/sed-4.8.tar.gz -sha256 = 53cf3e14c71f3a149f29d13a0da64120b3c1d3334fba39c4af3e520be053982a - -[build.os=darwin] -# The buildin FreeBSD version incompatible with the GNU one, so for the sake of -# being cross-platform friendly this manifest provides the GNU version. -builder = autoconf -subdir = sed-4.8 - -[build.not(os=darwin)] -builder = nop diff --git a/build/fbcode_builder/manifests/googletest_1_8 b/build/fbcode_builder/manifests/googletest_1_8 deleted file mode 100644 index 76c0ce51f..000000000 --- a/build/fbcode_builder/manifests/googletest_1_8 +++ /dev/null @@ -1,18 +0,0 @@ -[manifest] -name = googletest_1_8 - -[download] -url = https://github.com/google/googletest/archive/release-1.8.0.tar.gz -sha256 = 58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8 - -[build] -builder = cmake -subdir = googletest-release-1.8.0 - -[cmake.defines] -# Everything else defaults to the shared runtime, so tell gtest that -# it should not use its choice of the static runtime -gtest_force_shared_crt=ON - -[cmake.defines.os=windows] -BUILD_SHARED_LIBS=ON diff --git a/build/fbcode_builder/manifests/jq b/build/fbcode_builder/manifests/jq deleted file mode 100644 index 231818f34..000000000 --- a/build/fbcode_builder/manifests/jq +++ /dev/null @@ -1,24 +0,0 @@ -[manifest] -name = jq - -[rpms] -jq - -[debs] -jq - -[download.not(os=windows)] -url = https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz -sha256 = c4d2bfec6436341113419debf479d833692cc5cdab7eb0326b5a4d4fbe9f493c - -[build.not(os=windows)] -builder = autoconf -subdir = jq-1.5 - -[build.os=windows] -builder = nop - -[autoconf.args] -# This argument turns off some developers tool and it is recommended in jq's -# README ---disable-maintainer-mode diff --git a/build/fbcode_builder/manifests/libbpf_0_2_0_beta b/build/fbcode_builder/manifests/libbpf_0_2_0_beta deleted file mode 100644 index 072639817..000000000 --- a/build/fbcode_builder/manifests/libbpf_0_2_0_beta +++ /dev/null @@ -1,26 +0,0 @@ -[manifest] -name = libbpf_0_2_0_beta - -[download] -url = https://github.com/libbpf/libbpf/archive/b6dd2f2.tar.gz -sha256 = 8db9dca90f5c445ef2362e3c6a00f3d6c4bf36e8782f8e27704109c78e541497 - -# BPF only builds on linux, so make it a NOP on other platforms -[build.not(os=linux)] -builder = nop - -[build.os=linux] -builder = make -subdir = libbpf-b6dd2f2b7df4d3bd35d64aaf521d9ad18d766f53/src - -[make.build_args] -BUILD_STATIC_ONLY=y - -# libbpf now requires uapi headers >= 5.8 -[make.install_args] -install -install_uapi_headers -BUILD_STATIC_ONLY=y - -[dependencies] -libelf diff --git a/build/fbcode_builder/manifests/lld b/build/fbcode_builder/manifests/lld deleted file mode 100644 index 39f5b0952..000000000 --- a/build/fbcode_builder/manifests/lld +++ /dev/null @@ -1,13 +0,0 @@ -[manifest] -name = lld - -[debs] -lld - -[rpms] -lld - -# We use the system lld where needed on linux and default linker elsewhere -[build] -builder = nop - diff --git a/build/fbcode_builder/manifests/nmap b/build/fbcode_builder/manifests/nmap deleted file mode 100644 index c245e1241..000000000 --- a/build/fbcode_builder/manifests/nmap +++ /dev/null @@ -1,25 +0,0 @@ -[manifest] -name = nmap - -[rpms] -nmap - -[debs] -nmap - -[download.not(os=windows)] -url = https://api.github.com/repos/nmap/nmap/tarball/ef8213a36c2e89233c806753a57b5cd473605408 -sha256 = eda39e5a8ef4964fac7db16abf91cc11ff568eac0fa2d680b0bfa33b0ed71f4a - -[build.not(os=windows)] -builder = autoconf -subdir = nmap-nmap-ef8213a -build_in_src_dir = true - -[build.os=windows] -builder = nop - -[autoconf.args] -# Without this option the build was filing to find some third party libraries -# that we don't need -enable_rdma=no diff --git a/build/fbcode_builder/manifests/patchelf b/build/fbcode_builder/manifests/patchelf deleted file mode 100644 index f9d050424..000000000 --- a/build/fbcode_builder/manifests/patchelf +++ /dev/null @@ -1,17 +0,0 @@ -[manifest] -name = patchelf - -[rpms] -patchelf - -[debs] -patchelf - -[download] -url = https://github.com/NixOS/patchelf/archive/0.10.tar.gz -sha256 = b3cb6bdedcef5607ce34a350cf0b182eb979f8f7bc31eae55a93a70a3f020d13 - -[build] -builder = autoconf -subdir = patchelf-0.10 - diff --git a/build/fbcode_builder/manifests/pcre b/build/fbcode_builder/manifests/pcre deleted file mode 100644 index 047f6352b..000000000 --- a/build/fbcode_builder/manifests/pcre +++ /dev/null @@ -1,20 +0,0 @@ -[manifest] -name = pcre - -[homebrew] -pcre - -[rpms] -pcre-devel -pcre-static - -[debs] -libpcre3-dev - -[download] -url = https://versaweb.dl.sourceforge.net/project/pcre/pcre/8.43/pcre-8.43.tar.gz -sha256 = 0b8e7465dc5e98c757cc3650a20a7843ee4c3edf50aaf60bb33fd879690d2c73 - -[build] -builder = cmake -subdir = pcre-8.43 diff --git a/build/fbcode_builder/manifests/python-click b/build/fbcode_builder/manifests/python-click deleted file mode 100644 index ea9a9d2d3..000000000 --- a/build/fbcode_builder/manifests/python-click +++ /dev/null @@ -1,9 +0,0 @@ -[manifest] -name = python-click - -[download] -url = https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl -sha256 = dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc - -[build] -builder = python-wheel diff --git a/build/fbcode_builder/manifests/python-dulwich b/build/fbcode_builder/manifests/python-dulwich deleted file mode 100644 index 0d995e12f..000000000 --- a/build/fbcode_builder/manifests/python-dulwich +++ /dev/null @@ -1,19 +0,0 @@ -[manifest] -name = python-dulwich - -# The below links point to custom github forks of project dulwich, because the -# 0.18.6 version didn't have an official rollout of wheel packages. - -[download.os=linux] -url = https://github.com/lukaspiatkowski/dulwich/releases/download/dulwich-0.18.6-wheel/dulwich-0.18.6-cp36-cp36m-linux_x86_64.whl -sha256 = e96f545f3d003e67236785473caaba2c368e531ea85fd508a3bd016ebac3a6d8 - -[download.os=darwin] -url = https://github.com/lukaspiatkowski/dulwich/releases/download/dulwich-0.18.6-wheel/dulwich-0.18.6-cp37-cp37m-macosx_10_14_x86_64.whl -sha256 = 8373652056284ad40ea5220b659b3489b0a91f25536322345a3e4b5d29069308 - -[build.not(os=windows)] -builder = python-wheel - -[build.os=windows] -builder = nop diff --git a/build/fbcode_builder/manifests/sqlite3-bin b/build/fbcode_builder/manifests/sqlite3-bin deleted file mode 100644 index aa138d499..000000000 --- a/build/fbcode_builder/manifests/sqlite3-bin +++ /dev/null @@ -1,28 +0,0 @@ -[manifest] -name = sqlite3-bin - -[rpms] -sqlite - -[debs] -sqlite3 - -[download.os=linux] -url = https://github.com/sqlite/sqlite/archive/version-3.33.0.tar.gz -sha256 = 48e5f989eefe9af0ac758096f82ead0f3c7b58118ac17cc5810495bd5084a331 - -[build.os=linux] -builder = autoconf -subdir = sqlite-version-3.33.0 - -[build.not(os=linux)] -# MacOS comes with sqlite3 preinstalled and don't need Windows here -builder = nop - -[dependencies.os=linux] -tcl - -[autoconf.args] -# This flag disabled tcl as a runtime library used for some functionality, -# but tcl is still a required dependency as it is used by the build files ---disable-tcl diff --git a/build/fbcode_builder/manifests/tcl b/build/fbcode_builder/manifests/tcl deleted file mode 100644 index 5e9892f37..000000000 --- a/build/fbcode_builder/manifests/tcl +++ /dev/null @@ -1,20 +0,0 @@ -[manifest] -name = tcl - -[rpms] -tcl - -[debs] -tcl - -[download] -url = https://github.com/tcltk/tcl/archive/core-8-7a3.tar.gz -sha256 = 22d748f0c9652f3ecc195fed3f24a1b6eea8d449003085e6651197951528982e - -[build.os=linux] -builder = autoconf -subdir = tcl-core-8-7a3/unix - -[build.not(os=linux)] -# This is for sqlite3 on Linux for now -builder = nop diff --git a/build/fbcode_builder/manifests/tree b/build/fbcode_builder/manifests/tree deleted file mode 100644 index ccd0180a7..000000000 --- a/build/fbcode_builder/manifests/tree +++ /dev/null @@ -1,37 +0,0 @@ -[manifest] -name = tree - -[debs] -tree - -[homebrew] -tree - -[rpms] -tree - -[download.os=linux] -url = https://salsa.debian.org/debian/tree-packaging/-/archive/debian/1.8.0-1/tree-packaging-debian-1.8.0-1.tar.gz -sha256 = a841eee1d52bfd64a48f54caab9937b9bd92935055c48885c4ab1ae4dab7fae5 - -[download.os=darwin] -# The official package of tree source requires users of non-Linux platform to -# comment/uncomment certain lines in the Makefile to build for their platform. -# Besauce getdeps.py doesn't have that functionality we just use this custom -# fork of tree which has proper lines uncommented for a OSX build -url = https://github.com/lukaspiatkowski/tree-command/archive/debian/1.8.0-1-macos.tar.gz -sha256 = 9cbe889553d95cf5a2791dd0743795d46a3c092c5bba691769c0e5c52e11229e - -[build.os=linux] -builder = make -subdir = tree-packaging-debian-1.8.0-1 - -[build.os=darwin] -builder = make -subdir = tree-command-debian-1.8.0-1-macos - -[build.os=windows] -builder = nop - -[make.install_args] -install