]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: use ceph repo with tag 42955/head
authorKefu Chai <tchaikov@gmail.com>
Fri, 27 Aug 2021 16:14:55 +0000 (00:14 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 27 Aug 2021 16:14:58 +0000 (00:14 +0800)
to address following warning:

fatal: reference is not a tree: 7f02f21f53ccd5e2448086f8e9015489693dd2dc
CMake Error at /home/jenkins-build/build/workspace/ceph-pull-requests/build/fio_ext-prefix/tmp/fio_ext-gitclone.cmake:40 (message):
  Failed to checkout tag: '7f02f21f53ccd5e2448086f8e9015489693dd2dc'

it seems that the shallow option does not work with a sha1 tag option,
let's continue using the ceph repo with a tag.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
cmake/modules/BuildFIO.cmake

index 4b07e6816cd561813f3843250477d27205556687..481f3edf09d228a20a2317df4cf809e5f0526de5 100644 (file)
@@ -13,10 +13,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/axboe/fio.git"
+    GIT_REPOSITORY "https://github.com/ceph/fio.git"
     GIT_CONFIG advice.detachedHead=false
     GIT_SHALLOW 1
-    GIT_TAG "7f02f21f53ccd5e2448086f8e9015489693dd2dc"
+    GIT_TAG "fio-3.27-cxx"
     SOURCE_DIR ${source_dir}
     BUILD_IN_SOURCE 1
     CONFIGURE_COMMAND <SOURCE_DIR>/configure