"./configure.developer ${PREFIX} "
"--with-selftest-prefix=./bin/ab "
"--with-cluster-support "
+ "--with-profiling-data "
"--with-prometheus-exporter "
"--bundled-libraries=!tdb"),
("samba-make", "make"),
"sequence": [
# build the fuzzers (static) via the oss-fuzz script
("fuzzers-mkdir-prefix", "mkdir -p ${PREFIX_DIR}"),
- ("fuzzers-build", "OUT=${PREFIX_DIR} LIB_FUZZING_ENGINE= SANITIZER=address CXX= CFLAGS= ADDITIONAL_LDFLAGS='-fuse-ld=bfd' ./lib/fuzzing/oss-fuzz/build_samba.sh --enable-afl-fuzzer --with-prometheus-exporter"),
+ ("fuzzers-build", "OUT=${PREFIX_DIR} LIB_FUZZING_ENGINE= SANITIZER=address CXX= CFLAGS= ADDITIONAL_LDFLAGS='-fuse-ld=bfd' ./lib/fuzzing/oss-fuzz/build_samba.sh --enable-afl-fuzzer --with-profiling-data --with-prometheus-exporter"),
],
},
"sequence": [
("random-sleep", random_sleep(300, 900)),
- ("configure", "./configure.developer ${ENABLE_COVERAGE} ${PREFIX} --with-profiling-data --disable-python --without-ad-dc --with-prometheus-exporter"),
+ ("configure", "./configure.developer " + samba_configure_params + " --disable-python --without-ad-dc"),
("make", "make -j"),
("find-python", "script/find_python.sh ${PREFIX}"),
("test", "make test-nopython"),
# check for libevent, needed for prometheus http endpoint
conf.SET_TARGET_TYPE('event', 'EMPTY')
if Options.options.with_prometheus_exporter is True:
+ if not Options.options.with_profiling_data:
+ conf.fatal("Building --with-prometheus-exporter also require "
+ "building --with-profiling-data.")
Logs.info("Checking for libevent existence")
if conf.CHECK_HEADERS('event2/http.h') and conf.CHECK_LIB('event', shlib=True):
conf.CHECK_FUNCS_IN('evhttp_new', 'event')