File: README.txt

package info (click to toggle)
suitesparse 1%3A7.11.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 258,172 kB
  • sloc: ansic: 1,153,566; cpp: 48,145; makefile: 4,997; fortran: 2,087; java: 1,826; sh: 1,113; ruby: 725; python: 676; asm: 371; sed: 166; awk: 44
file content (29 lines) | stat: -rw-r--r-- 1,334 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
ZSTD Library, Copyright (c) Copyright (c) 2016-present, Facebook, Inc. All rights reserved.
SPDX-License-Identifier: BSD-3-clause

Notes by Tim Davis, on inclusion of ZSTD into SuiteSparse:GraphBLAS:

This directory contains a minimal copy of zstd v1.5.3, from
https://github.com/facebook/zstd.git, by Yann Collet.
See ./LICENSE and ./README_zstd.md for more details.

Files in this folder:

    LICENSE         BSD 3-clause, Copyright (c) 2016-present, Facebook, Inc.
    zstd_subset     a subset of zstd (common, compress, decompress),
                    and their include files
    README_zstd.md  zstd/README.md
    README.txt      this file

When ZSTD is compiled for use in SuiteSparse:GraphBLAS, ZSTD_DEPS_MALLOC is
defined, and ZSTD_malloc, ZSTD_calloc, and ZSTD_free, are provided to ZSTD
instead of have it use the standard C11 malloc/calloc/free.  Those
functions use whatever memory manager is given to GxB_init, or the C11
malloc/calloc/free for GrB_init.

This compile-time change could cause a conflict if ZSTD is also installed as a
system-wide library.  To avoid the conflict, all ZSTD function names are renamed
to GB_ZSTD_*, using #defines in ../Source/GB_zstd.c.  SuiteSparse:GraphBLAS will
use this version of ZSTD, integrated into the libgraphblas.so (.dylib, .dll),
rather than a separate libzstd.so library.