Skip to content

Commit

Permalink
Merge pull request #450 from mmuetzel/ci
Browse files Browse the repository at this point in the history
Add new projects ParU and LAGraph to CI
  • Loading branch information
DrTimothyAldenDavis authored Oct 20, 2023
2 parents 3e44355 + e1c7e4e commit 0900858
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 175 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-arch-emu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency: ci-arch-emu-${{ github.ref }}

env:
# string with name of libraries to be built
BUILD_LIBS: "SuiteSparse_config:Mongoose:AMD:BTF:CAMD:CCOLAMD:COLAMD:CHOLMOD:CSparse:CXSparse:LDL:KLU:UMFPACK:RBio:SPQR:SPEX"
BUILD_LIBS: "SuiteSparse_config:Mongoose:AMD:BTF:CAMD:CCOLAMD:COLAMD:CHOLMOD:CSparse:CXSparse:LDL:KLU:UMFPACK:RBio:SPQR:SPEX:ParU"
# string with name of libraries to be checked
CHECK_LIBS: "SuiteSparse_config:Mongoose:AMD:BTF:CAMD:CCOLAMD:COLAMD:CHOLMOD:CSparse:CXSparse:LDL:KLU:UMFPACK:RBio:SPQR:SPEX"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency: ci-${{ github.ref }}

env:
# string with name of libraries to be built
BUILD_LIBS: "SuiteSparse_config:Mongoose:AMD:BTF:CAMD:CCOLAMD:COLAMD:CHOLMOD:CSparse:CXSparse:LDL:KLU:UMFPACK:RBio:SPQR:GraphBLAS:SPEX"
BUILD_LIBS: "SuiteSparse_config:Mongoose:AMD:BTF:CAMD:CCOLAMD:COLAMD:CHOLMOD:CSparse:CXSparse:LDL:KLU:UMFPACK:RBio:SPQR:GraphBLAS:SPEX:LAGraph:ParU"
# string with name of libraries to be checked
CHECK_LIBS: "SuiteSparse_config:Mongoose:AMD:BTF:CAMD:CCOLAMD:COLAMD:CHOLMOD:CSparse:CXSparse:LDL:KLU:UMFPACK:RBio:SPQR:GraphBLAS:SPEX"

Expand Down
2 changes: 1 addition & 1 deletion GraphBLAS/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ set_target_properties ( GraphBLAS PROPERTIES
WINDOWS_EXPORT_ALL_SYMBOLS ON )

target_include_directories ( GraphBLAS
INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/Include>
$<INSTALL_INTERFACE:${SUITESPARSE_INCLUDEDIR}> )

if ( SUITESPARSE_CUDA )
Expand Down
6 changes: 5 additions & 1 deletion LAGraph/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ endif ( )
# set ( ENV{GRAPHBLAS_ROOT} ${CMAKE_SOURCE_DIR}/../GraphBLAS )
message ( STATUS "GraphBLAS_ROOT: ${GraphBLAS_ROOT} $ENV{GraphBLAS_ROOT}" )
message ( STATUS "GRAPHBLAS_ROOT: ${GRAPHBLAS_ROOT} $ENV{GRAPHBLAS_ROOT}" )
find_package (GraphBLAS 7.0.1 REQUIRED MODULE)
find_package ( GraphBLAS 8.2.1
PATHS ${CMAKE_SOURCE_DIR}/../GraphBLAS/build NO_DEFAULT_PATH )
if ( NOT TARGET SuiteSparse::GraphBLAS )
find_package ( GraphBLAS 8.2.1 REQUIRED )
endif ( )

#-------------------------------------------------------------------------------
# determine what user threading model to use
Expand Down
164 changes: 0 additions & 164 deletions LAGraph/cmake_modules/FindGraphBLAS.cmake

This file was deleted.

26 changes: 19 additions & 7 deletions ParU/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,25 @@ project ( paru
enable_language ( C CXX Fortran )
message ( STATUS "Fortran: ${CMAKE_Fortran_COMPILER_ID} ")
find_package ( OpenMP )
find_package ( SuiteSparse_config 6.0.0 REQUIRED )
find_package ( AMD 3.0.0 REQUIRED )
find_package ( CAMD 3.0.0 REQUIRED )
find_package ( COLAMD 3.0.0 REQUIRED )
find_package ( CCOLAMD 3.0.0 REQUIRED )
find_package ( CHOLMOD 4.0.0 REQUIRED )
find_package ( UMFPACK 6.0.0 REQUIRED )

find_package ( SuiteSparse_config 7.2.0
PATHS ${CMAKE_SOURCE_DIR}/../SuiteSparse_config/build NO_DEFAULT_PATH )
if ( NOT TARGET SuiteSparse::SuiteSparseConfig )
find_package ( SuiteSparse_config 7.2.0 REQUIRED )
endif ( )

find_package ( CHOLMOD 4.2.2
PATHS ${CMAKE_SOURCE_DIR}/../CHOLMOD/build NO_DEFAULT_PATH )
if ( NOT CHOLMOD_FOUND )
find_package ( CHOLMOD 4.2.2 REQUIRED )
endif ( )

find_package ( UMFPACK 6.2.1
PATHS ${CMAKE_SOURCE_DIR}/../UMFPACK/build NO_DEFAULT_PATH )
if ( NOT CAMD_FOUND )
find_package ( UMFPACK 6.2.1 REQUIRED )
endif ( )

include ( SuiteSparseBLAS ) # requires cmake 3.22

#-------------------------------------------------------------------------------
Expand Down

0 comments on commit 0900858

Please sign in to comment.