#2685·folly

build break - references to the nonexistent EDFThreadPoolExecutorBenchmark.cpp and PartialTest.cpp

Author: peter-jooCreated Aug 25, 2026Updated Aug 25, 2026

folly version: v2026.08.24.00

The references are:

  1. for EDFThreadPoolExecutorBenchmark.cpp https://github.com/facebook/folly/blob/ff98381ea68687a95c6185326db933aa6124d4c5/CMakeLists.txt#L570

  2. for PartialTest.cpp https://github.com/facebook/folly/blob/ff98381ea68687a95c6185326db933aa6124d4c5/CMakeLists.txt#L646

The build error is this:

...
CMake Error at /usr/share/cmake/Modules/GoogleTest.cmake:433 (file):
  file failed to open for reading (No such file or directory):
    /mnt/k/projects/picky/test/examples/folly/gcc/src/folly/executors/test/EDFThreadPoolExecutorBenchmark.cpp
Call Stack (most recent call first):
  CMake/FollyFunctions.cmake:297 (gtest_add_tests)
  CMakeLists.txt:456 (folly_define_tests)
...
CMake Error at /usr/share/cmake/Modules/GoogleTest.cmake:433 (file):
  file failed to open for reading (No such file or directory):
    /mnt/k/projects/picky/test/examples/folly/gcc/src/folly/functional/test/PartialTest.cpp
Call Stack (most recent call first):
  CMake/FollyFunctions.cmake:297 (gtest_add_tests)
  CMakeLists.txt:456 (folly_define_tests)
...
-- Configuring incomplete, errors occurred!

Folly built with this:

bash
cmake -S ./src                         \
      -B ./build                       \
      -G Ninja                         \
      -Wno-author                      \
      -Wno-deprecated                  \
      -DCMAKE_BUILD_TYPE=Release       \
      -DCMAKE_INSTALL_PREFIX=./install \
      -DBUILD_BENCHMARKS=OFF           \
      -DBUILD_BROKEN_TESTS=OFF         \
      -DBUILD_HANGING_TESTS=OFF        \
      -DBUILD_SLOW_TESTS=OFF           \
      -DBUILD_TESTS=ON

OS: Manjaro gcc: 16.2.0