]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-perf-pull-requests: use Release builds for crimson perf testing. 1405/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 8 Oct 2019 11:50:52 +0000 (13:50 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 8 Oct 2019 11:59:50 +0000 (13:59 +0200)
This patch is mostly intended to build Seastar without `SEASTAR_DEBUG`
flag to avoid impact on performance. There is actually a warnining in
`src/core/app-template.cc`:

  ```cpp
  #ifdef SEASTAR_DEBUG
      fmt::print("WARNING: debug mode. Not for benchmarking or production\n");
  #endif
  ```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
ceph-perf-pull-requests/config/definitions/ceph-perf-pull-requests.yml

index bf929db01aaec4554bd5792da2c9edb6a04d1825..885b4161551ff92d6ca1483df685cf8d6c67ddd7 100644 (file)
@@ -54,7 +54,7 @@
           if ! test -d $archive_dir ; then
               export NPROC=$(nproc)
               export FOR_MAKE_CHECK=1
-              timeout 7200 src/script/run-make.sh --cmake-args "-DWITH_SEASTAR=ON -DWITH_TESTS=OFF" vstart-base crimson-osd
+              timeout 7200 src/script/run-make.sh --cmake-args "-DCMAKE_BUILD_TYPE=Release -DWITH_SEASTAR=ON -DWITH_TESTS=OFF" vstart-base crimson-osd
               src/script/run-cbt.sh --build-dir $PWD/build --source-dir $PWD --cbt ${{WORKSPACE}}/cbt -a $archive_dir src/test/crimson/cbt/radosbench_4K_read.yaml
           fi
 - builder: