Skip to content

Commit b6b4d42

Browse files
committed
CDRIVER-2785 fix benchmark project
1 parent e1ffa09 commit b6b4d42

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.evergreen/benchmark.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Variables #
99
#######################################
1010

11-
c_driver_variables:
11+
variables:
1212

1313
## Task list
1414
benchmark_compile: &benchmark_compile
@@ -20,6 +20,8 @@ c_driver_variables:
2020
mongo_download_url_prefixes:
2121
mongo_v32: &mongo_v32
2222
mongo_url: "https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.10.tgz"
23+
mongo_v44: &mongo_v44
24+
mongo_url: "http://downloads.10gen.com/linux/mongodb-linux-x86_64-enterprise-rhel62-v4.4-latest.tgz"
2325

2426
## Common sets of CFLAGS
2527
cflags:
@@ -35,7 +37,8 @@ c_driver_variables:
3537
set -o verbose
3638
. "./.evergreen/find-cmake.sh"
3739
38-
$CMAKE -DENABLE_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=mongoc . && make -j8 && make install
40+
# Disable zstd. centos6-perf does not have libzstd installed.
41+
$CMAKE -DENABLE_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DENABLE_ZSTD=OFF -DCMAKE_INSTALL_PREFIX=mongoc . && make -j8 && make install
3942
git clone [email protected]:mongodb/mongo-c-driver-performance.git
4043
cd mongo-c-driver-performance
4144
$CMAKE -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=../mongoc . && make -j8
@@ -274,3 +277,13 @@ buildvariants:
274277
run_on:
275278
- centos6-perf
276279
tasks: *benchmark_tests
280+
281+
- name: c-driver-benchmark-mongo44
282+
display_name: "C Driver Benchmark Mongo 4.4"
283+
expansions:
284+
<<: *cflags_64
285+
<<: *mongo_v44
286+
<<: *benchmark_common
287+
run_on:
288+
- centos6-perf
289+
tasks: *benchmark_tests

0 commit comments

Comments
 (0)