Skip to content

Commit

Permalink
Merge pull request #863 from DrTimothyAldenDavis/dev2
Browse files Browse the repository at this point in the history
SuiteSparse 7.8.1: update to GraphBLAS 9.3.1
  • Loading branch information
DrTimothyAldenDavis authored Aug 11, 2024
2 parents 49744b3 + b5ffa2b commit 1314713
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 24 deletions.
27 changes: 27 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
Aug 12, 2024: version 7.8.1

* GraphBLAS 9.3.1: bug fix in creation of JIT package
* SuiteSparse_config, Example: modified to reflect the release of
GraphBLAS 9.3.1
* Package versions in this release: (* denotes a new version)
SuiteSparse_config 7.8.1 *
AMD 3.3.3
BTF 2.3.2
CAMD 3.3.3
CCOLAMD 3.3.4
CHOLMOD 5.3.0
COLAMD 3.3.4
CSparse 4.3.2
CXSparse 4.4.1
Example 1.8.1 *
GraphBLAS 9.3.1 *
KLU 2.3.4
LDL 3.3.2
LAGraph 1.1.3
SuiteSparse_Mongoose 3.3.4
ParU 0.2.0
RBio 4.3.3
SPEX 3.2.0
SPQR 4.3.4
UMFPACK 6.3.4

Aug 2, 2024: version 7.8.0

* ParU 0.2.0: many changes; nearing a stable release.
Expand Down
8 changes: 4 additions & 4 deletions Example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ message ( STATUS "MY prefix path: ${CMAKE_PREFIX_PATH}" )
#-------------------------------------------------------------------------------

# cmake inserts the date and version number into Include/my.h:
set ( MY_DATE "Aug 2, 2024" )
set ( MY_DATE "Aug 12, 2024" )
set ( MY_VERSION_MAJOR 1 )
set ( MY_VERSION_MINOR 8 )
set ( MY_VERSION_PATCH 0 )
set ( MY_VERSION_PATCH 1 )

message ( STATUS "Building MY library version: v"
${MY_VERSION_MAJOR}.
Expand Down Expand Up @@ -87,15 +87,15 @@ project ( my
#-------------------------------------------------------------------------------

# look for all SuiteSparse packages:
find_package ( SuiteSparse_config 7.8.0 REQUIRED )
find_package ( SuiteSparse_config 7.8.1 REQUIRED )
find_package ( AMD 3.3.3 REQUIRED )
find_package ( BTF 2.3.2 REQUIRED )
find_package ( CAMD 3.3.3 REQUIRED )
find_package ( CCOLAMD 3.3.4 REQUIRED )
find_package ( CHOLMOD 5.3.0 REQUIRED )
find_package ( COLAMD 3.3.4 REQUIRED )
find_package ( CXSparse 4.4.1 REQUIRED )
find_package ( GraphBLAS 9.3.0 )
find_package ( GraphBLAS 9.3.1 )
find_package ( KLU 2.3.4 REQUIRED )
find_package ( KLU_CHOLMOD 2.3.4 REQUIRED )
find_package ( LDL 3.3.2 REQUIRED )
Expand Down
4 changes: 2 additions & 2 deletions Example/Include/my.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
// file, since it is constructed from Config/my.h.in by cmake.

// version and date for example user library
#define MY_DATE "Aug 2, 2024"
#define MY_DATE "Aug 12, 2024"
#define MY_MAJOR_VERSION 1
#define MY_MINOR_VERSION 8
#define MY_PATCH_VERSION 0
#define MY_PATCH_VERSION 1

#ifdef __cplusplus
extern "C" {
Expand Down
8 changes: 4 additions & 4 deletions Example/Include/my_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

// SuiteSparse include files for C/C++:
#include "SuiteSparse_config.h"
#if !defined (SUITESPARSE__VERSION) || SUITESPARSE__VERSION < SUITESPARSE__VERCODE(7,8,0)
#error "This library requires SuiteSparse_config 7.8.0 or later"
#if !defined (SUITESPARSE__VERSION) || SUITESPARSE__VERSION < SUITESPARSE__VERCODE(7,8,1)
#error "This library requires SuiteSparse_config 7.8.1 or later"
#endif

#include "amd.h"
Expand Down Expand Up @@ -56,8 +56,8 @@
#if ! defined (NO_GRAPHBLAS)
#include "GraphBLAS.h"
#if !defined ( GxB_SUITESPARSE_GRAPHBLAS ) || \
GxB_IMPLEMENTATION < GxB_VERSION (9,3,0)
#error "This library requires SuiteSparse:GraphBLAS 9.3.0 or later"
GxB_IMPLEMENTATION < GxB_VERSION (9,3,1)
#error "This library requires SuiteSparse:GraphBLAS 9.3.1 or later"
#endif
#endif

Expand Down
5 changes: 5 additions & 0 deletions GraphBLAS/Doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Aug 12, 2024: version 9.3.1

* (56) bug fix: wrong type for fgetc return value in JITpackage; leads
to infinite loop on some systems when building GraphBLAS.

Aug 2, 2024: version 9.3.0

* code restructuring: Source folder split into many subfolders, and
Expand Down
Binary file modified GraphBLAS/Doc/GraphBLAS_UserGuide.pdf
Binary file not shown.
7 changes: 7 additions & 0 deletions GraphBLAS/Doc/GraphBLAS_UserGuide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14492,6 +14492,13 @@ \section{Release Notes}

\begin{itemize}

\item Aug 12, 2024: version 9.3.1

\begin{itemize}
\item (56) bug fix: wrong type for fgetc return value in JITpackage; leads
to infinite loop on some systems when building GraphBLAS.
\end{itemize}

\item Aug 2, 2024: version 9.3.0

\begin{itemize}
Expand Down
4 changes: 2 additions & 2 deletions GraphBLAS/Doc/GraphBLAS_version.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
% version of SuiteSparse:GraphBLAS
\date{VERSION
9.3.0,
Aug 2, 2024}
9.3.1,
Aug 12, 2024}

6 changes: 3 additions & 3 deletions GraphBLAS/Include/GraphBLAS.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SuiteSparse:GraphBLAS 9.3.0
// SuiteSparse:GraphBLAS 9.3.1
//------------------------------------------------------------------------------
// GraphBLAS.h: definitions for the GraphBLAS package
//------------------------------------------------------------------------------
Expand Down Expand Up @@ -275,10 +275,10 @@

// The version of this implementation, and the GraphBLAS API version:
#define GxB_IMPLEMENTATION_NAME "SuiteSparse:GraphBLAS"
#define GxB_IMPLEMENTATION_DATE "Aug 2, 2024"
#define GxB_IMPLEMENTATION_DATE "Aug 12, 2024"
#define GxB_IMPLEMENTATION_MAJOR 9
#define GxB_IMPLEMENTATION_MINOR 3
#define GxB_IMPLEMENTATION_SUB 0
#define GxB_IMPLEMENTATION_SUB 1
#define GxB_SPEC_DATE "Dec 22, 2023"
#define GxB_SPEC_MAJOR 2
#define GxB_SPEC_MINOR 1
Expand Down
2 changes: 1 addition & 1 deletion GraphBLAS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2024, All Rights Reserved.

SPDX-License-Identifier: Apache-2.0

VERSION 9.3.0, Aug 2, 2024
VERSION 9.3.1, Aug 12, 2024

SuiteSparse:GraphBLAS is a complete implementation of the GraphBLAS standard,
which defines a set of sparse matrix operations on an extended algebra of
Expand Down
4 changes: 2 additions & 2 deletions GraphBLAS/cmake_modules/GraphBLAS_version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
#-------------------------------------------------------------------------------

# version of SuiteSparse:GraphBLAS
set ( GraphBLAS_DATE "Aug 2, 2024" )
set ( GraphBLAS_DATE "Aug 12, 2024" )
set ( GraphBLAS_VERSION_MAJOR 9 CACHE STRING "" FORCE )
set ( GraphBLAS_VERSION_MINOR 3 CACHE STRING "" FORCE )
set ( GraphBLAS_VERSION_SUB 0 CACHE STRING "" FORCE )
set ( GraphBLAS_VERSION_SUB 1 CACHE STRING "" FORCE )

# GraphBLAS C API Specification version, at graphblas.org
set ( GraphBLAS_API_DATE "Dec 22, 2023" )
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SuiteSparse: A Suite of Sparse matrix packages at http://suitesparse.com
-----------------------------------------------------------------------------

Aug 2, 2024, SuiteSparse VERSION 7.8.0
Aug 12, 2024, SuiteSparse VERSION 7.8.1

SuiteSparse is a set of sparse-matrix-related packages written or co-authored
by Tim Davis, available at https://github.com/DrTimothyAldenDavis/SuiteSparse .
Expand Down
4 changes: 2 additions & 2 deletions SuiteSparse_config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
cmake_minimum_required ( VERSION 3.22 )

# version of both SuiteSparse and SuiteSparse_config
set ( SUITESPARSE_DATE "Aug 2, 2024" )
set ( SUITESPARSE_DATE "Aug 12, 2024" )
set ( SUITESPARSE_VERSION_MAJOR 7 )
set ( SUITESPARSE_VERSION_MINOR 8 )
set ( SUITESPARSE_VERSION_SUB 0 )
set ( SUITESPARSE_VERSION_SUB 1 )
set ( SUITESPARSE_CONFIG_VERSION_MAJOR ${SUITESPARSE_VERSION_MAJOR} CACHE STRING "" FORCE )
set ( SUITESPARSE_CONFIG_VERSION_MINOR ${SUITESPARSE_VERSION_MINOR} CACHE STRING "" FORCE )
set ( SUITESPARSE_CONFIG_VERSION_PATCH ${SUITESPARSE_VERSION_SUB} CACHE STRING "" FORCE )
Expand Down
6 changes: 3 additions & 3 deletions SuiteSparse_config/SuiteSparse_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,10 @@ int SuiteSparse_version // returns SUITESPARSE_VERSION

#define SUITESPARSE_HAS_VERSION_FUNCTION

#define SUITESPARSE_DATE "Aug 2, 2024"
#define SUITESPARSE_DATE "Aug 12, 2024"
#define SUITESPARSE_MAIN_VERSION 7
#define SUITESPARSE_SUB_VERSION 8
#define SUITESPARSE_SUBSUB_VERSION 0
#define SUITESPARSE_SUBSUB_VERSION 1

// version format x.y
#define SUITESPARSE_VER_CODE(main,sub) ((main) * 1000 + (sub))
Expand All @@ -446,7 +446,7 @@ int SuiteSparse_version // returns SUITESPARSE_VERSION
// version format x.y.z
#define SUITESPARSE__VERCODE(main,sub,patch) \
(((main)*1000ULL + (sub))*1000ULL + (patch))
#define SUITESPARSE__VERSION SUITESPARSE__VERCODE(7,8,0)
#define SUITESPARSE__VERSION SUITESPARSE__VERCODE(7,8,1)

//==============================================================================
// SuiteSparse interface to the BLAS and LAPACK libraries
Expand Down

0 comments on commit 1314713

Please sign in to comment.