pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: adam
Date: Mon May 22 11:24:13 UTC 2023
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/blosc2: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
blosc2: added version 2.9.2
Blosc is a high performance compressor optimized for binary data (i.e. floating
point numbers, integers and booleans, although it can handle string data too).
It has been designed to transmit data to the processor cache faster than the
traditional, non-compressed, direct memory fetch approach via a memcpy() OS
call. Blosc main goal is not just to reduce the size of large datasets on-disk
or in-memory, but also to accelerate memory-bound computations.
C-Blosc2 is the new major version of C-Blosc, and is backward compatible with
both the C-Blosc1 API and its in-memory format. However, the reverse thing is
generally not true for the format; buffers generated with C-Blosc2 are not
format-compatible with C-Blosc1 (i.e. forward compatibility is not supported).
In case you want to ensure full API compatibility with C-Blosc1 API, define the
BLOSC1_COMPAT symbol.
To generate a diff of this commit:
cvs rdiff -u -r1.3994 -r1.3995 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/blosc2/DESCR pkgsrc/devel/blosc2/Makefile \
pkgsrc/devel/blosc2/PLIST pkgsrc/devel/blosc2/buildlink3.mk \
pkgsrc/devel/blosc2/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3994 pkgsrc/devel/Makefile:1.3995
--- pkgsrc/devel/Makefile:1.3994 Thu May 18 12:57:15 2023
+++ pkgsrc/devel/Makefile Mon May 22 11:24:13 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3994 2023/05/18 12:57:15 nikita Exp $
+# $NetBSD: Makefile,v 1.3995 2023/05/22 11:24:13 adam Exp $
#
COMMENT= Development utilities
@@ -180,6 +180,7 @@ SUBDIR+= bison
SUBDIR+= blame
SUBDIR+= blib
SUBDIR+= blosc
+SUBDIR+= blosc2
SUBDIR+= bmake
SUBDIR+= bmkdep
SUBDIR+= boa-constructor
Added files:
Index: pkgsrc/devel/blosc2/DESCR
diff -u /dev/null pkgsrc/devel/blosc2/DESCR:1.1
--- /dev/null Mon May 22 11:24:13 2023
+++ pkgsrc/devel/blosc2/DESCR Mon May 22 11:24:13 2023
@@ -0,0 +1,13 @@
+Blosc is a high performance compressor optimized for binary data (i.e. floating
+point numbers, integers and booleans, although it can handle string data too).
+It has been designed to transmit data to the processor cache faster than the
+traditional, non-compressed, direct memory fetch approach via a memcpy() OS
+call. Blosc main goal is not just to reduce the size of large datasets on-disk
+or in-memory, but also to accelerate memory-bound computations.
+
+C-Blosc2 is the new major version of C-Blosc, and is backward compatible with
+both the C-Blosc1 API and its in-memory format. However, the reverse thing is
+generally not true for the format; buffers generated with C-Blosc2 are not
+format-compatible with C-Blosc1 (i.e. forward compatibility is not supported).
+In case you want to ensure full API compatibility with C-Blosc1 API, define the
+BLOSC1_COMPAT symbol.
Index: pkgsrc/devel/blosc2/Makefile
diff -u /dev/null pkgsrc/devel/blosc2/Makefile:1.1
--- /dev/null Mon May 22 11:24:13 2023
+++ pkgsrc/devel/blosc2/Makefile Mon May 22 11:24:13 2023
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2023/05/22 11:24:13 adam Exp $
+
+DISTNAME= blosc2-2.9.2
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=Blosc/}
+GITHUB_PROJECT= c-blosc2
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= minskim%NetBSD.org@localhost
+HOMEPAGE= https://blosc.org/
+COMMENT= Fast, compressed and persistent data store library for C
+LICENSE= modified-bsd
+
+USE_LANGUAGES= c99 c++
+USE_TOOLS+= pkg-config
+TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/blosc
+# For Darwin
+TEST_ENV+= DYLD_LIBRARY_PATH=${WRKSRC}/blosc
+TEST_TARGET= test
+
+CMAKE_ARGS+= -DBUILD_EXAMPLES=OFF
+CMAKE_ARGS+= -DBUILD_FUZZERS=OFF
+CMAKE_ARGS+= -DPREFER_EXTERNAL_LZ4=ON
+CMAKE_ARGS+= -DPREFER_EXTERNAL_ZLIB=ON
+CMAKE_ARGS+= -DPREFER_EXTERNAL_ZSTD=ON
+
+# Needed to use posix_memalign, see tests/test_common.h
+CFLAGS+= -D_POSIX_C_SOURCE=200112
+
+CFLAGS.SunOS+= -D__EXTENSIONS__
+
+PKGCONFIG_OVERRIDE+= blosc.pc.in
+
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/blosc2/PLIST
diff -u /dev/null pkgsrc/devel/blosc2/PLIST:1.1
--- /dev/null Mon May 22 11:24:13 2023
+++ pkgsrc/devel/blosc2/PLIST Mon May 22 11:24:13 2023
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1 2023/05/22 11:24:13 adam Exp $
+include/b2nd.h
+include/blosc2.h
+include/blosc2/blosc2-common.h
+include/blosc2/blosc2-export.h
+include/blosc2/blosc2-stdio.h
+include/blosc2/codecs-registry.h
+include/blosc2/filters-registry.h
+include/blosc2/plugins-utils.h
+include/blosc2/tuners-registry.h
+lib/libblosc2.a
+lib/libblosc2.so
+lib/libblosc2.so.${PKGVERSION}
+lib/libblosc2.so.2
+lib/pkgconfig/blosc2.pc
Index: pkgsrc/devel/blosc2/buildlink3.mk
diff -u /dev/null pkgsrc/devel/blosc2/buildlink3.mk:1.1
--- /dev/null Mon May 22 11:24:13 2023
+++ pkgsrc/devel/blosc2/buildlink3.mk Mon May 22 11:24:13 2023
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2023/05/22 11:24:13 adam Exp $
+
+BUILDLINK_TREE+= blosc2
+
+.if !defined(BLOSC2_BUILDLINK3_MK)
+BLOSC2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.blosc2+= blosc2>=2.9.2
+BUILDLINK_PKGSRCDIR.blosc2?= ../../devel/blosc2
+
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.endif # BLOSC2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -blosc2
Index: pkgsrc/devel/blosc2/distinfo
diff -u /dev/null pkgsrc/devel/blosc2/distinfo:1.1
--- /dev/null Mon May 22 11:24:13 2023
+++ pkgsrc/devel/blosc2/distinfo Mon May 22 11:24:13 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/05/22 11:24:13 adam Exp $
+
+BLAKE2s (blosc2-2.9.2.tar.gz) = c4188540a26eaaf7debe04f1ab518fa062ae9e9b57a45310e08dae8823873af3
+SHA512 (blosc2-2.9.2.tar.gz) = f44346bf3ce8824dbe23d33b688d6b2063406011c066cc14ea3319537c17ecc5c1250c30d77e50696aad9932e0dd10fc95ab4f2c295208808446525636314522
+Size (blosc2-2.9.2.tar.gz) = 2790821 bytes
Home |
Main Index |
Thread Index |
Old Index