Skip to content

Commit

Permalink
revert c-blosc2 to stable release v2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Sep 11, 2022
1 parent 65ae09f commit f07c09a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
12 changes: 4 additions & 8 deletions src/blosc2/README.rst
@@ -1,10 +1,6 @@
========
C-Blosc2
========

A fast, compressed and persistent data store library for C
==========================================================

======================================================================
C-Blosc2: A fast, compressed and persistent data store library for C
======================================================================

:Author: The Blosc Development Team
:Contact: blosc@blosc.org
Expand Down Expand Up @@ -78,7 +74,7 @@ New features in C-Blosc2

* **Efficient support for special values:** large sequences of repeated values can be represented with an efficient, simple and fast run-length representation, without the need to use regular codecs. With that, chunks or super-chunks with values that are the same (zeros, NaNs or any value in general) can be built in constant time, regardless of the size. This can be useful in situations where a lot of zeros (or NaNs) need to be stored (e.g. sparse matrices).

* **Nice markup for documentation:** we are currently using a combination of Sphinx + Doxygen + Breathe for documenting the C-API. See https://www.blosc.org/c-blosc2/c-blosc2.html. Thanks to Alberto Sabater and Aleix Alcacer for contributing the support for this.
* **Nice markup for documentation:** we are currently using a combination of Sphinx + Doxygen + Breathe for documenting the C-API. See https://c-blosc2.readthedocs.io. Thanks to Alberto Sabater and Aleix Alcacer for contributing the support for this.

* **Plugin capabilities for filters and codecs:** we have a plugin register capability inplace so that the info about the new filters and codecs can be persisted and transmitted to different machines. See https://github.com/Blosc/c-blosc2/blob/main/examples/urfilters.c for a self-contained example. Thanks to the NumFOCUS foundation for providing a grant for doing this, and Oscar Griñón and Aleix Alcacer for the implementation.

Expand Down
5 changes: 3 additions & 2 deletions src/blosc2/blosc/Makefile
Expand Up @@ -33,14 +33,15 @@ PLATFORM = $(shell uname -s)
DLLFLAG=-fPIC
OMP=-fopenmp

CPPOPT=-g -Wall -O3 -msse2 #-g -Wall -std=c99 # -DUSE_OS_TIMER
CPPOPT=-g -Wall -O3 -msse2 -DHAVE_ZSTD -DHAVE_ZLIB -DHAVE_LZ4 $(DLLFLAG) #-g -Wall -std=c99 # -DUSE_OS_TIMER

OUTPUTFLAG:=-o
OBJSUFFIX=.o
EXESUFFIX=.mex*

FILES=bitshuffle-sse2 blosc2 blosc2-stdio blosclz delta directories fastcopy \
frame schunk sframe shuffle shuffle-sse2 stune timestamp trunc-prec
frame schunk sframe shuffle shuffle-generic bitshuffle-generic \
shuffle-sse2 stune timestamp trunc-prec

ifeq ($(findstring CYGWIN,$(PLATFORM)), CYGWIN)
ifeq ($(findstring x86_64,$(ARCH)), x86_64)
Expand Down
2 changes: 1 addition & 1 deletion src/blosc2/blosc/blosc2.c
Expand Up @@ -3994,7 +3994,7 @@ int register_filter_private(blosc2_filter *filter) {
}
/* This condition can never be fulfilled
if (filter->id > BLOSC2_USER_REGISTERED_FILTERS_STOP) {
BLOSC_TRACE_ERROR("The id must be less than or equal to %d", BLOSC2_USER_REGISTERED_FILTERS_STOP);
BLOSC_TRACE_ERROR("The id must be lower or equal than %d", BLOSC2_USER_REGISTERED_FILTERS_STOP);
return BLOSC2_ERROR_FAILURE;
}
*/
Expand Down
4 changes: 2 additions & 2 deletions src/blosc2/include/blosc2.h
Expand Up @@ -91,9 +91,9 @@ extern "C" {
/* Version numbers */
#define BLOSC2_VERSION_MAJOR 2 /* for major interface/format changes */
#define BLOSC2_VERSION_MINOR 3 /* for minor interface/format changes */
#define BLOSC2_VERSION_RELEASE 2 /* for tweaks, bug-fixes, or development */
#define BLOSC2_VERSION_RELEASE 1 /* for tweaks, bug-fixes, or development */

#define BLOSC2_VERSION_STRING "2.3.2.dev" /* string version. Sync with above! */
#define BLOSC2_VERSION_STRING "2.3.1" /* string version. Sync with above! */
#define BLOSC2_VERSION_DATE "$Date:: 2022-08-24 #$" /* date version */


Expand Down

0 comments on commit f07c09a

Please sign in to comment.