Files

59 lines
1.8 KiB
Tcl
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
github.setup Blosc c-blosc2 2.23.0 v
revision 0
name blosc2
categories archivers devel
license BSD
maintainers {stromnov @stromnov} openmaintainer
description A fast, compressed, persistent binary data store library
long_description {*}${description}.
homepage https://www.blosc.org
checksums rmd160 fa41e1b89fb7a58b33741671ee7d2cf605ec2c08 \
sha256 125e0ac2fac3d81239c1de036cb335bc8eca86b19216e97e0b23de3283d3274b \
size 3337937
github.tarball_from archive
depends_lib-append port:lz4 \
port:zlib \
port:zstd
configure.args-append \
-DBUILD_BENCHMARKS:BOOL=OFF \
-DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_PLUGINS:BOOL=ON \
-DPREFER_EXTERNAL_LZ4:BOOL=ON \
-DPREFER_EXTERNAL_ZLIB:BOOL=ON \
-DPREFER_EXTERNAL_ZSTD:BOOL=ON
# error: for loop initial declaration used outside C99 mode
configure.cflags-append -std=c99
# https://trac.macports.org/ticket/67478
platform darwin {
if {${os.major} < 11 && [string match *gcc* ${configure.compiler}]} {
configure.args-append \
-DDEACTIVATE_AVX2:BOOL=ON \
-DDEACTIVATE_AVX512:BOOL=ON
}
}
if {${build_arch} in [list ppc ppc64]} {
configure.args-append \
-DDEACTIVATE_AVX2:BOOL=ON \
-DDEACTIVATE_AVX512:BOOL=ON
}
test.run yes
github.livecheck.regex {([0-9.]+)}