mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
# Created by: iblis <iblis@hs.ntnu.edu.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= c-blosc
|
|
PORTVERSION= 1.15.0
|
|
PORTREVISION= 2
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= archivers devel
|
|
|
|
MAINTAINER= iblis@hs.ntnu.edu.tw
|
|
COMMENT= Blocking, shuffling and loss-less compression library
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSES/BLOSC.txt
|
|
|
|
USES= cmake compiler:c11
|
|
USE_CSTD= c11
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Blosc
|
|
|
|
TEST_TARGET= test
|
|
|
|
PLIST_SUB= VERSION="${PORTVERSION:R:R}" \
|
|
SOVERSION="${PORTVERSION}"
|
|
|
|
CMAKE_ARGS= -DBUILD_SHARED=ON
|
|
|
|
OPTIONS_DEFINE= STATIC TEST AVX2 LZ4 SSE2 SNAPPY ZLIB ZSTD
|
|
OPTIONS_DEFAULT=STATIC LZ4 SSE2 SNAPPY ZLIB ZSTD
|
|
OPTIONS_SUB= yes
|
|
|
|
AVX2_DESC= Attempt to build with AVX2 instructions
|
|
SSE2_DESC= Attempt to build with SSE2 instructions
|
|
|
|
AVX2_CMAKE_BOOL_OFF= DEACTIVATE_AVX2
|
|
SSE2_CMAKE_BOOL_OFF= DEACTIVATE_SSE2
|
|
|
|
LZ4_CMAKE_ON= -DPREFER_EXTERNAL_LZ4=ON
|
|
LZ4_CMAKE_BOOL_OFF= DEACTIVATE_LZ4
|
|
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
|
|
|
|
SNAPPY_CMAKE_ON= -DPREFER_EXTERNAL_SNAPPY=ON
|
|
SNAPPY_CMAKE_BOOL_OFF= DEACTIVATE_SNAPPY
|
|
SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy
|
|
|
|
STATIC_CMAKE_BOOL= BUILD_STATIC
|
|
|
|
TEST_CMAKE_BOOL= BUILD_TESTS BUILD_BENCHMARKS
|
|
|
|
ZLIB_CMAKE_ON= -DPREFER_EXTERNAL_ZLIB=ON
|
|
ZLIB_CMAKE_BOOL_OFF= DEACTIVATE_ZLIB
|
|
|
|
ZSTD_CMAKE_ON= -DPREFER_EXTERNAL_ZSTD=ON
|
|
ZSTD_CMAKE_BOOL_OFF= DEACTIVATE_ZSTD
|
|
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
|
|
|
|
.include <bsd.port.mk>
|