archivers/c-blosc2: Convert to USES=cmake:testing

This commit is contained in:
Po-Chuan Hsieh 2022-06-22 04:57:19 +08:00
parent 3f4e43426a
commit 16b6e0f056
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -14,10 +14,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
libzstd.so:archivers/zstd
USES= cmake
USES= cmake:testing
CMAKE_OFF= BUILD_LITE DEACTIVATE_AVX2 DEACTIVATE_ZLIB DEACTIVATE_ZSTD
CMAKE_ON= BUILD_BENCHMARKS BUILD_EXAMPLES BUILD_FUZZERS BUILD_PLUGINS BUILD_SHARED BUILD_STATIC BUILD_TESTS DEACTIVATE_IPP PREFER_EXTERNAL_LZ4 PREFER_EXTERNAL_ZLIB PREFER_EXTERNAL_ZSTD TEST_INCLUDE_COMPAT TEST_INCLUDE_EXAMPLES
CMAKE_OFF= BUILD_LITE DEACTIVATE_AVX2 DEACTIVATE_ZLIB DEACTIVATE_ZSTD TEST_INCLUDE_BENCH_DEBUGSUITE TEST_INCLUDE_BENCH_SUITE TEST_INCLUDE_BENCH_SUM_OPENMP
CMAKE_ON= BUILD_BENCHMARKS BUILD_EXAMPLES BUILD_FUZZERS BUILD_PLUGINS BUILD_SHARED BUILD_STATIC BUILD_TESTS DEACTIVATE_IPP PREFER_EXTERNAL_LZ4 PREFER_EXTERNAL_ZLIB PREFER_EXTERNAL_ZSTD TEST_INCLUDE_BENCH_BITSHUFFLE_1 TEST_INCLUDE_BENCH_BITSHUFFLE_N TEST_INCLUDE_BENCH_DELTA TEST_INCLUDE_BENCH_SHUFFLE_1 TEST_INCLUDE_BENCH_SHUFFLE_N TEST_INCLUDE_BENCH_TRUNC_PREC TEST_INCLUDE_BENCH_ZERO_RUNLEN TEST_INCLUDE_COMPAT TEST_INCLUDE_EXAMPLES
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
@ -36,7 +36,4 @@ post-patch:
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/internal-complibs/
do-test:
cd ${TEST_WRKSRC} && ctest
.include <bsd.port.mk>