tor: skip building libevent tests & samples (#9708)

Skip building libevents tests and samples as part of tors build.
This commit is contained in:
Michael Ford 2023-02-15 20:05:07 +08:00 committed by GitHub
parent 13d4f6806e
commit a37a837fea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -22,7 +22,12 @@ mkdir -p $TOR_DEPS
# Build libevent with proper instrumentation. # Build libevent with proper instrumentation.
cd ${SRC}/libevent cd ${SRC}/libevent
mkdir build && cd build mkdir build && cd build
cmake -DEVENT__DISABLE_MBEDTLS=ON -DEVENT__DISABLE_OPENSSL=ON -DEVENT__LIBRARY_TYPE=STATIC ../ cmake -DEVENT__DISABLE_MBEDTLS=ON \
-DEVENT__DISABLE_OPENSSL=ON \
-DEVENT__LIBRARY_TYPE=STATIC \
-DEVENT__DISABLE_TESTS=ON \
-DEVENT__DISABLE_SAMPLES=ON \
../
make && make install make && make install
# Build OpenSSL with proper instrumentation. # Build OpenSSL with proper instrumentation.