Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
96bad76
folly/cli: eliminate double scan in cli_parse_args_from_content EOF path
darion-yaphet May 8, 2026
8c83b5a
Fix PYRE_MISSING_ANNOTATIONS issues in fbcode/folly/python/test/teard…
Apr 25, 2026
d0c7952
Fix PYRE_MISSING_ANNOTATIONS issues in fbcode/folly/python/test/teard…
Apr 26, 2026
83df4fe
Fix File::temporary() for Android by replacing tmpfile() with mkstemp
scramsby Apr 26, 2026
d594edc
Route file_test through fb_xplat_cxx_test for Android
scramsby Apr 27, 2026
8280d50
Route memory_mapping_test through fb_xplat_cxx_test
scramsby Apr 27, 2026
8017aea
getdeps: emit DEVELOPER_DIR for macOS CI builds; regenerate rebalance…
r-barnes Apr 27, 2026
32a66c5
folly CMake: export Boost::thread transitively through Folly::folly o…
r-barnes Apr 27, 2026
51262be
Teach MemoryMapping to size Android ashmem fds
scramsby Apr 27, 2026
b12770a
Updating hashes
Apr 27, 2026
36ba20d
Add xxhash as OSS dependency
rlyerly Apr 27, 2026
23e39ae
Remove unnecessary if __name__ == "__main__": unittest.main() boilerp…
Apr 27, 2026
7f87cc7
Fix forward T267364388
jaejunku Apr 27, 2026
bfaf969
Remove dead doc link in Range.h
sdruzkin Apr 27, 2026
1ca815b
Fix CQS signal modernize-use-using in fbcode/folly/container
Apr 27, 2026
af9ad0c
Fix JSON5 LineContinuation to discard newlines per spec
Mizuchi Apr 28, 2026
375f604
Updating hashes
Apr 28, 2026
459a28c
Migrate symbolizer usage to non experimental folly dir
8Keep Apr 28, 2026
4074d9b
Migrate fbcode coro references from folly/experimental to folly/coro …
8Keep Apr 28, 2026
bd3c013
Remove symbolizer shims from xplat/folly/experimental and fbcode/foll…
8Keep Apr 28, 2026
7c38142
migrate merge_test to fb_dirsync_cpp_unittest
rexzhang123 Apr 29, 2026
c8122a8
folly | hash | Add AArch32 hardware CRC32 support.
nlutsenko Apr 29, 2026
7634a7c
migrate :gflags to fb_dirsync_cpp_library
rexzhang123 Apr 29, 2026
2982e5e
Add FOLLY_MUSTTAIL and use tail call in Json5ProtocolReader
Mizuchi Apr 29, 2026
a5af12c
delete test non_fbcode_target
rexzhang123 Apr 29, 2026
2d52718
Migrate folly/test to fb_dirsync macros
DanielC314 Apr 29, 2026
0cc4cbd
Cache available_concurrency()
Apr 29, 2026
071da49
Convert folly constraint to a constraint()
8Keep Apr 29, 2026
ed8b310
migrate f14_detail_test to fb_dirsync_cpp_unittest
rexzhang123 Apr 29, 2026
c519d56
Skip filter_strip_marker for symlinked source files
Apr 29, 2026
b3be8a2
migrate uuid_benchmark to fb_dirsync_cpp_benchmark + fix util-linux:u…
rexzhang123 Apr 29, 2026
e815974
migrate primary_ptr_test to fb_dirsync_cpp_unittest
rexzhang123 Apr 29, 2026
bbf8ce7
migrate file_util_detail_test to fb_dirsync_cpp_unittest
rexzhang123 Apr 29, 2026
5d0ae28
migrate farmhash_test to fb_dirsync_cpp_unittest
rexzhang123 Apr 29, 2026
540e062
Allow fbcode OSS build to use open-source ready bgp thrift files
joseph5wu Apr 29, 2026
68d408a
migrate observer_test to fb_dirsync_cpp_unittest
rexzhang123 Apr 30, 2026
9fa270f
fbcode/folly/io/async/ssl/OpenSSLTransportCertificate.h
Apr 30, 2026
81c2a42
Fix 2 broken tests caused by D103042058
Apr 30, 2026
1849f36
Remove coro shims from xplat/folly/experimental and fbcode/folly/expe…
8Keep Apr 30, 2026
5a749a9
folly: guard walkNormalStack against stale coroutine frame pointers
r-barnes Apr 30, 2026
3660774
getdeps: fix _compute_project_hash silently skipping patchfile content
r-barnes Apr 30, 2026
b3ba0ae
gate :gflags srcs and gflags dep on runtime:fbcode
rexzhang123 Apr 30, 2026
872636b
Delete folly/experimental directory
8Keep Apr 30, 2026
9481a40
fix T268067831
DanielC314 Apr 30, 2026
8f15fde
migrate static_tracepoint_section_test to fb_dirsync_rule
rexzhang123 Apr 30, 2026
316ed33
migrate xlog_test to fb_dirsync_cpp_unittest
rexzhang123 May 1, 2026
dec486b
F14 BoundedMaskIter clarify comment
pashabou May 1, 2026
257ba50
Explicitly set has_content_based_path = False for remaining targets
May 1, 2026
f405205
fbcode/folly:singleton
DanielC314 May 1, 2026
45f1fab
Updating hashes
May 1, 2026
5923118
Regenerate CMakeLists.txt with fbsource//third-party/ deps
sandreenko May 1, 2026
18eb1a9
migrate libFollySegFault.so to fb_dirsync_cpp_binary
DanielC314 May 1, 2026
6cb43f5
migrate compression_test and compression_context_pool_test
rexzhang123 May 2, 2026
aefbe40
migrate basic_transport_certificate_test
rexzhang123 May 2, 2026
923c155
folly/json: micro-optimize serialization Printer hot path
May 2, 2026
c907cd7
folly/json: template Printer on Pretty for branch-free hot paths
May 4, 2026
8499c89
fix round-robin of napiIdToCb for AsyncServerSocket
jlhe97 May 4, 2026
917b974
Add FBGenCMakeBuildInfo.cmake and getdeps manifest
induvsuresh May 4, 2026
9e28549
folly/json: short-ASCII fast path in escapeString
May 5, 2026
6a81f01
IOBufQueue: add opt-in `pack` mode to split/splitAtMost
May 5, 2026
56d9e61
rebalancer manifest: enable position-independent code by default
r-barnes May 5, 2026
0889c4f
fbcode_builder: fix dead retry loop in ctest test runner
r-barnes May 5, 2026
4e65f61
boost manifest: build from source on Linux with -fPIC
r-barnes May 5, 2026
3d684b0
fbcode_builder: per-package --extra-cmake-defines for GHA generator
r-barnes May 5, 2026
6ae81df
fbcode/folly:memcpy
DanielC314 May 5, 2026
47e3430
OSS CI: emit PIC + THRIFT_SERIALIZATION_ONLY cmake defines
r-barnes May 5, 2026
0862485
fbcode_builder: regenerate non-rebalancer OSS CI workflows
r-barnes May 5, 2026
a8fdd3c
Add copy request context root/child rust bindings
May 6, 2026
cbbf5c5
Back out "Add tmate SSH debugging to generated GitHub Actions workflows"
r-barnes May 6, 2026
acc02da
fbcode_builder: regenerate OSS CI workflows after D96800077 backout
r-barnes May 6, 2026
65b227a
Fix IOBuf Py_DECREF leak: replace unreliable executor path with Py_Ad…
ctkhanhly May 7, 2026
dcf45c5
Fix data race in StripedThrottledLifoSemBalancer::Worker initialization
ot May 7, 2026
2b42a03
Add ConcurrentBSkipList — concurrent B-tree skip list
agrawaldevesh May 7, 2026
0a68d61
Drop macOS x86_64 from folly/system/arch x86_test labels
itamaro May 7, 2026
efdefce
Add getSubjectAltNameURIs to extract URI-type SAN entries
May 7, 2026
54fa52e
CMakeLists.txt — bgppplib library, bgppp_bin executable, and install …
induvsuresh May 7, 2026
7966f54
Guarantee within-stripe submission order in StripedEDFThreadPoolExecutor
ot May 7, 2026
d649017
Add `strictOrdering` mode to StripedEDFThreadPoolExecutor
ot May 7, 2026
ec39e6d
Fix -Wtautological-unsigned-zero-compare in StackTrace.cpp on Windows
jshort May 8, 2026
1da1f27
Use operator* instead of .value() in getRefOrDefault
cjhawley May 8, 2026
dc47ebc
Fix getdeps introducting a space after a colon which confuses the parser
r-barnes May 8, 2026
656fcb7
fbcode_builder: recognize 'alma' as an rpm-using distro
r-barnes May 8, 2026
1507b62
clang19 manifest: add CLANG19_PREINSTALLED preinstalled.env opt-out
r-barnes May 8, 2026
12c6318
libaio manifest: claim alma/rocky satisfy via libaio-devel rpm
r-barnes May 8, 2026
85aae42
fbcode_builder: skip 'sudo' in install-system-deps when unavailable
r-barnes May 8, 2026
6b7dbe1
fbcode_builder: keep going after build errors to surface all failures
r-barnes May 8, 2026
f881acb
Fix folly.symbolizer fbpkg build on centos9 (aarch64 + x86_64)
athmasagar May 8, 2026
56315b0
folly manifest: promote openssl to universal dep + force Apple ar/ran…
r-barnes May 8, 2026
f48782f
fbcode_builder: SystemPackageFetcher.hash() — hash package list, not …
r-barnes May 8, 2026
ce80e27
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/UTF8String
May 9, 2026
458361f
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/Concurre…
May 9, 2026
2b60cdc
AsyncIoUringSocket: regression test for FastOpen UAF on socket destru…
manojkr May 10, 2026
abe8059
AsyncIoUringSocket: cancel in-flight FastOpenSqe in destructor to pre…
manojkr May 10, 2026
3ce499a
Split Allocator types into folly/memory/Allocator.h
ot May 11, 2026
0f37308
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/futures/…
May 11, 2026
7582bd8
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/channels…
May 11, 2026
2c12557
IoUringZeroCopyBufferPool: flush refill queue when full using ZCRX_CT…
clementleger May 11, 2026
c753e85
fbcode_builder: per-dependency feature spec
r-barnes May 11, 2026
e3035fa
fbthrift CMake: split RPC and benchmarks into their own options
r-barnes May 11, 2026
0dea715
rebalancer: skip fbthrift's RPC stack and benchmarks via feature spec
r-barnes May 11, 2026
48b532d
Reimplement compact_once_flag with atomic wait/notify
ot May 11, 2026
7c25909
Render generate-github-actions output via Jinja2
r-barnes May 11, 2026
8505179
Skip filter_strip_marker for symlinks during shipit mirror
egorovcharenko May 12, 2026
94d5756
Bump fbcode_builder getdeps manifest pins past CMake-4 floor
r-barnes May 12, 2026
9d5cb8c
getdeps: fix feature-hash ordering bug in create_builder
r-barnes May 12, 2026
8c9f1e1
folly/memory: replace SFINAE with C++20 concepts in not_null
r-barnes May 12, 2026
7c5ce8f
Add checkedAlignedMalloc / checkedArrayMalloc
ot May 12, 2026
ec5d609
Allocate stripes with checkedArrayMalloc in StripedThrottledLifoSem
ot May 12, 2026
a30b9d5
Restore +x permissions to fbcode_builder/getdeps.py
maru May 12, 2026
47ea222
fbsource//xplat/folly/detail:thread_local_detail
May 12, 2026
d8a0bb4
Default once_flag to compact_once_flag
ot May 12, 2026
6134bd5
Fix sys.path in getdeps.py shim shadowing stdlib platform module
r-barnes May 12, 2026
bb295d6
Rename platform Module
May 12, 2026
6d53e9a
fbcode_builder: fix type error in manifest.get() exposed by D104437306
r-barnes May 12, 2026
12569b0
deadly-signal in folly::detail::()::safe_assert_terminate_v()
May 13, 2026
0252c2d
Expose ConcurrentBSkipList payload hooks for RTIndex hazard pointers
agrawaldevesh May 13, 2026
943f986
folly: AsyncUDPSocket: support receiving and setting destination addr…
May 13, 2026
baf862e
folly: replace SFINAE with C++20 concepts in Replaceable
r-barnes May 13, 2026
7a52650
folly/concurrency: replace SFINAE with C++20 concepts in ReadMostlySh…
r-barnes May 13, 2026
ba9d1d2
getdeps: pass cmake defines to test step for consistent hashing
r-barnes May 13, 2026
ea8e371
folly: replace SFINAE with C++20 concepts in ConstexprMath
r-barnes May 13, 2026
34509c4
Replace --shared-libs with --shared-lib (static-PIC deps)
r-barnes May 13, 2026
cc29a2c
folly/random: replace SFINAE with C++20 concepts in seed_seq
r-barnes May 13, 2026
874f393
folly->format -> fmt::format in xplat/folly/logging (misc)
r-barnes May 14, 2026
0d007e8
fbcode_builder: regenerate all OSS CI workflows; fix test step cmake …
r-barnes May 14, 2026
2bd7a83
json: add FloatFormat enum, route printer through fmt; deprecate dtoa…
r-barnes May 14, 2026
069b4e9
(fbcode/[f-i] (excl infra_asic_fpga)) Apply starlark_fmt to **/.bzl f…
VladimirMakaev May 14, 2026
abcd78d
folly/lang: spaceship operator and SFINAE->concepts in PropagateConst
r-barnes May 14, 2026
5572cfb
Replace raw `throw std::xxx` with `folly::throw_exception<>` in io he…
May 14, 2026
9976e42
Fix snappy windows getdeps build failure by disabling benchmarks
jbeshay May 15, 2026
ea4a99a
Add AF_XDP UAPI compat definitions to NetOps.h
May 15, 2026
dc2d507
Store small_vector capacity inline when sizeof(HeapPtrWithCapacity) =…
IosifSpulber May 15, 2026
5150afc
Expose heap allocation size for small_vector
IosifSpulber May 15, 2026
8605395
Always store capacity in small_vector heap allocations
IosifSpulber May 15, 2026
1e4e07a
Update dependencies using correct registry
rlyerly May 18, 2026
d618850
Updating hashes
May 18, 2026
8b7c5b5
Optimize crc32_sw for small buffers on x86 by avoiding unnecessary do…
May 18, 2026
f58d677
mcrouter: disable Windows builds via getdeps manifest
May 18, 2026
bac23c8
fix(build): bump glog pin past cmake_policy(VERSION 3.3) breakage
gmarzot May 19, 2026
7b6cf0e
Fix StripedThrottledLifoSem Android build: use portable FOLLY_GFLAGS_…
l4rs5chnyder May 19, 2026
c4b2e14
Add callable-source hazptr try_protect overload
agrawaldevesh May 19, 2026
c74f2fc
OpenSSLCertUtils: Take x509 arguments as const where possible
May 19, 2026
f3a9dad
Suppress thread-safety-analysis
May 20, 2026
e2ef10f
Protect returnedBuffers_ with mutex_
clementleger May 20, 2026
c9c9745
Factorize buffer free callback into a static method
clementleger May 20, 2026
17b0532
Add rvalue flavor of `to_shared_ptr_aliasing`
cjhawley May 20, 2026
8434180
folly: add spaceship operator to network types (IPAddressV4, IPAddres…
r-barnes May 21, 2026
0a6af3f
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/stats/de…
May 21, 2026
c788203
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/ThreadLocal
May 21, 2026
1e5d814
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/lang/Cast
May 21, 2026
32cdb17
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/MaybeMan…
May 21, 2026
5654611
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/coro/Sha…
May 21, 2026
b57e012
getdeps: always use Homebrew LLVM clang on macOS CI
r-barnes May 21, 2026
6e5a778
Fix broken fbcode//opensource/fbcode_builder/getdeps:lib-type-checkin…
May 21, 2026
733edfc
Add `Observer::with()` for safe scoped access to observed values
May 21, 2026
e97114c
Add with() to all observer classes for safe scoped access
May 21, 2026
9c337ed
getdeps: eliminate per-dep cache pyramid; enable sccache by default
r-barnes May 21, 2026
a499af7
folly/json: add FloatFormat::SHORTEST_SINGLE[_TRAILING_DOT_ZERO]; mig…
r-barnes May 21, 2026
e627312
Add `FloatFormat::SHORTEST_SINGLE{,_TRAILING_DOT_ZERO}` to folly JSON
r-barnes May 22, 2026
038ab2a
Revert D105375837: Add `FloatFormat::SHORTEST_SINGLE{,_TRAILING_DOT_Z…
May 22, 2026
665925f
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/Benchmark
May 22, 2026
eed097b
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/synchron…
May 22, 2026
cb37249
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/Optional
May 22, 2026
1526763
getdeps generate-github-actions: collapse per-dep build pyramid into …
r-barnes May 22, 2026
4968131
Add `FloatFormat::SHORTEST_SINGLE{,_TRAILING_DOT_ZERO}` to folly JSON
r-barnes May 22, 2026
3551f99
getdeps generate-github-actions: remove --recursive from build cmd
r-barnes May 22, 2026
4cb137b
Upgrade gperf to 3.3 in fbcode_builder manifests
afrind May 26, 2026
6f62b85
Fix missing Meta+license text in new file
rlyerly May 26, 2026
b06be03
folly/poly: replace SFINAE with C++20 concepts in Poly
r-barnes May 26, 2026
e33f412
Replace SFINAE enable_if with C++20 concepts in fbcode/folly/lang/Mus…
May 27, 2026
8763677
Convert python macros to fb_dirsync_cython
DanielC314 May 27, 2026
a775c82
implement fb_dirsync_rust
DanielC314 May 27, 2026
8922afe
Replace Fallback with Static Assert in CollectionUtil.h
May 27, 2026
f4f965b
Fix SHORTEST_TRAILING_DOT_ZERO emitting bare dot in scientific notati…
r-barnes May 27, 2026
03f5448
folly/lang: replace SFINAE with C++20 concepts in CheckedMath
r-barnes May 27, 2026
1f0cf25
Enable constraint-based dirsync redirect
DanielC314 May 27, 2026
7c4205d
Vendor openr IDL + NetworkUtil, OSS build fixes
induvsuresh May 27, 2026
858c96c
Revert D92558031: Enable constraint-based dirsync redirect
DanielC314 May 27, 2026
a5b8997
Add gcc_except_table reverse relaxation test (PIC + non-PIC)
fzakaria May 28, 2026
3c35fc5
xplat | toolchains | Migrate cxx_runtime_type to unified constraint.
nlutsenko May 28, 2026
190091b
Fixing FanoutSender assignment operator to move other.senders instead…
May 28, 2026
da1ab4d
Fix Subprocess vfork memory sharing on macOS with mmap
yfeldblum May 28, 2026
538b77f
IoUringZeroCopyBufferPool: Add ZCRX notification and stats support
clementleger May 29, 2026
1a6b1c4
facebook-unused-include-check in IOBuf.cpp
May 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
411 changes: 40 additions & 371 deletions .github/workflows/getdeps_linux.yml

Large diffs are not rendered by default.

364 changes: 42 additions & 322 deletions .github/workflows/getdeps_mac.yml

Large diffs are not rendered by default.

152 changes: 152 additions & 0 deletions .github/workflows/getdeps_shared-lib_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
# This file was @generated by getdeps.py

name: Shared Lib Linux

on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: read # to fetch code (actions/checkout)
actions: read # to query GitHub Actions cache usage

jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 60
env:
SCCACHE_GHA_ENABLED: "on"
steps:

- name: Show runner info
run: |
echo "CPU cores: $(nproc)"
cat /proc/cpuinfo | grep 'model name' | head -1
free -h

- uses: actions/checkout@v6

- name: Set up sccache
uses: mozilla-actions/sccache-action@v0.0.9
with:
version: "v0.14.0"

- name: Show disk space at start
run: df -h
- name: Free up disk space
run: sudo rm -rf /usr/local/lib/android
- name: Show disk space after freeing up
run: df -h

- name: Update system package info
run: sudo --preserve-env=http_proxy apt-get update
- name: Install system deps
run: sudo --preserve-env=http_proxy python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive folly && sudo --preserve-env=http_proxy python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive patchelf

- id: paths
name: Query paths
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages query-paths --recursive --src-dir=. folly >> "$GITHUB_OUTPUT"

- name: Fetch boost
if: ${{ steps.paths.outputs.boost_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests boost
- name: Fetch libaio
if: ${{ steps.paths.outputs.libaio_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libaio
- name: Fetch openssl
if: ${{ steps.paths.outputs.openssl_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests openssl
- name: Fetch ninja
if: ${{ steps.paths.outputs.ninja_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests ninja
- name: Fetch cmake
if: ${{ steps.paths.outputs.cmake_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests cmake
- name: Fetch double-conversion
if: ${{ steps.paths.outputs.double-conversion_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests double-conversion
- name: Fetch fast_float
if: ${{ steps.paths.outputs.fast_float_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fast_float
- name: Fetch fmt
if: ${{ steps.paths.outputs.fmt_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fmt
- name: Fetch gflags
if: ${{ steps.paths.outputs.gflags_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests gflags
- name: Fetch glog
if: ${{ steps.paths.outputs.glog_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests glog
- name: Fetch googletest
if: ${{ steps.paths.outputs.googletest_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests googletest
- name: Fetch libdwarf
if: ${{ steps.paths.outputs.libdwarf_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libdwarf
- name: Fetch libevent
if: ${{ steps.paths.outputs.libevent_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libevent
- name: Fetch zlib
if: ${{ steps.paths.outputs.zlib_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zlib
- name: Fetch lz4
if: ${{ steps.paths.outputs.lz4_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests lz4
- name: Fetch snappy
if: ${{ steps.paths.outputs.snappy_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests snappy
- name: Fetch zstd
if: ${{ steps.paths.outputs.zstd_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zstd
- name: Fetch autoconf
if: ${{ steps.paths.outputs.autoconf_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests autoconf
- name: Fetch automake
if: ${{ steps.paths.outputs.automake_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests automake
- name: Fetch libtool
if: ${{ steps.paths.outputs.libtool_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libtool
- name: Fetch libiberty
if: ${{ steps.paths.outputs.libiberty_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libiberty
- name: Fetch libsodium
if: ${{ steps.paths.outputs.libsodium_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libsodium
- name: Fetch libunwind
if: ${{ steps.paths.outputs.libunwind_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libunwind
- name: Fetch xz
if: ${{ steps.paths.outputs.xz_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests xz

- name: Build folly
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --build-type RelWithDebInfo --shared-lib --src-dir=. folly --project-install-prefix folly:/usr/local

- name: Show sccache stats
if: always()
run: sccache --show-stats

- name: Copy artifacts
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fixup-dyn-deps --strip --src-dir=. folly _artifacts/linux --project-install-prefix folly:/usr/local --final-install-prefix /usr/local
- uses: actions/upload-artifact@v6
with:
name: folly
path: _artifacts

- name: Test folly
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages test --build-type RelWithDebInfo --shared-lib --src-dir=. folly --project-install-prefix folly:/usr/local

- name: Show disk space at end
if: always()
run: df -h

- name: Show GitHub Actions cache usage
if: always()
env:
GH_TOKEN: ${{ github.token }}
run: gh cache list --repo ${{ github.repository }} --sort size_in_bytes --order desc --limit 30
Loading