From: Sun Yuechi Date: Thu, 25 Jun 2026 11:50:36 +0000 (+0800) Subject: cmake: build fio from upstream 3.42 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=216d468a1ad16b67feede2a932ee015556e5ca69;p=ceph.git 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 --- 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