sapling/build/fbcode_builder
Alex Hornby 463349ff8e fix windows build with --free-up-disk
Summary:
getdeps can generate a windows wrapper script that can be used to run build artifacts from build directory.

In github actions for large projects we set a getdeps option delete the build dir as soon as we've successfully installed artefacts to save disk space. This option was enabled for windows in D56165825.   Turns out that didn't work, this diff adds the missing conditional so that it should.

Reviewed By: vitaut

Differential Revision: D56930778

fbshipit-source-id: 0cb9ac94ef9b39f4e33af8fb91098dc0d833731b
2024-05-03 09:30:36 -07:00
..
CMake Add LibUnwind as a dependency of glog::glog 2024-03-25 16:10:33 -07:00
getdeps fix windows build with --free-up-disk 2024-05-03 09:30:36 -07:00
manifests airstore next: bundle V4: thrift working in OSS build 2024-04-29 10:52:35 -07:00
patches upgrade zlib to 1.3.1 2024-01-25 02:13:59 -08:00
.gitignore add fbcode_builder sources 2019-04-26 11:31:58 -07:00
getdeps.py change python3 to fbpython 2024-05-02 13:49:18 -07:00
LICENSE Relicense getdeps from BSD to MIT 2019-10-10 13:20:05 -07:00
README.md update fbcode_builder README to document getdeps.py 2020-09-09 15:40:21 -07:00

Easy builds for Facebook projects

This directory contains tools designed to simplify continuous-integration (and other builds) of Facebook open source projects. In particular, this helps manage builds for cross-project dependencies.

The main entry point is the getdeps.py script. This script has several subcommands, but the most notable is the build command. This will download and build all dependencies for a project, and then build the project itself.

Deployment

This directory is copied literally into a number of different Facebook open source repositories. Any change made to code in this directory will be automatically be replicated by our open source tooling into all GitHub hosted repositories that use fbcode_builder. Typically this directory is copied into the open source repositories as build/fbcode_builder/.

Project Configuration Files

The manifests subdirectory contains configuration files for many different projects, describing how to build each project. These files also list dependencies between projects, enabling getdeps.py to build all dependencies for a project before building the project itself.

Shared CMake utilities

Since this directory is copied into many Facebook open source repositories, it is also used to help share some CMake utility files across projects. The CMake/ subdirectory contains a number of .cmake files that are shared by the CMake-based build systems across several different projects.

Older Build Scripts

This directory also still contains a handful of older build scripts that pre-date the current getdeps.py build system. Most of the other .py files in this top directory, apart from getdeps.py itself, are from this older build system. This older system is only used by a few remaining projects, and new projects should generally use the newer getdeps.py script, by adding a new configuration file in the manifests/ subdirectory.