From 216d468a1ad16b67feede2a932ee015556e5ca69 Mon Sep 17 00:00:00 2001 From: Sun Yuechi Date: Thu, 25 Jun 2026 19:50:36 +0800 Subject: [PATCH] cmake: build fio from upstream 3.42 fio-3.42 is the latest stable release. We switched to the ceph/fio fork in 10baab3fc8293b8c30ca90a4acd76f70d011f1b5 to pick up a clang build fix; that fix has since landed upstream, so switch back. This also gives riscv64 proper arch support (arch-riscv64.h, added in fio-3.36), which the fork's fio-3.27-cxx lacks. Signed-off-by: Sun Yuechi --- cmake/modules/BuildFIO.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/BuildFIO.cmake b/cmake/modules/BuildFIO.cmake index 453d8ca2fba..61c445628f5 100644 --- a/cmake/modules/BuildFIO.cmake +++ b/cmake/modules/BuildFIO.cmake @@ -30,10 +30,10 @@ function(build_fio) file(MAKE_DIRECTORY ${source_dir}) ExternalProject_Add(fio_ext UPDATE_COMMAND "" # this disables rebuild on each run - GIT_REPOSITORY "https://github.com/ceph/fio.git" + GIT_REPOSITORY "https://github.com/axboe/fio.git" GIT_CONFIG advice.detachedHead=false GIT_SHALLOW 1 - GIT_TAG "fio-3.27-cxx" + GIT_TAG "fio-3.42" SOURCE_DIR ${source_dir} BUILD_IN_SOURCE 1 CONFIGURE_COMMAND /configure -- 2.47.3