Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suitesparse-graphblas: new recipe #23320

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Mar 31, 2024

Adds SuiteSparse:GraphBLAS: https://github.com/DrTimothyAldenDavis/GraphBLAS

It's the reference implementation for GraphBLAS: https://graphblas.org/

Required for packaging of SuiteSparse.

Requires #22353.

suitesparse-graphblas:
Packaging status

graphblas:
Packaging status

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (ec9179c0152d524ef442b3064959a199782c438c):

  • suitesparse-graphblas/9.1.0:
    CI failed to create some packages (All logs)

    Logs for packageID e3511578ffc12a38dcd049b0f5cf4af5cecbcd29:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    suitesparse-graphblas:shared=False
    
    [...]
    suitesparse-graphblas/9.1.0: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake <path> -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release'
    suitesparse-graphblas/9.1.0: Aggregating env generators
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    suitesparse-graphblas/9.1.0: Calling build()
    suitesparse-graphblas/9.1.0: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/package/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/src"
    
    ----Running------
    > . "/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/build/Release/generators/conanbuild.sh" && cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/package/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/src"
    -----------------
    -- Using Conan toolchain: /home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/build/Release/generators/conan_toolchain.cmake
    -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC)
    -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
    -- The C compiler identification is GNU 7.5.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/gcc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Building SuiteSparse:GraphBLAS version: v9.1.0, date: Mar 22, 2024
    -- GraphBLAS C API: v2.1, date: Dec 22, 2023
    -- Source:           /home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/src 
    -- Build:            /home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/build/Release 
    -- Install lib:      lib
    -- Install include:  include/suitesparse
    -- Install bin:      bin
    -- Install pkg-file: lib
    -- Install rpath:    $ORIGIN
    -- Build   rpath:    
    -- Build type:       Release 
    -- Fortran:          not enabled
    -- CUDA:             not enabled
    -- GraphBLAS CUDA JIT: disabled
    -- GraphBLAS CPU JIT: enabled
    -- GBCOMPACT: enabled; FactoryKernels will not be built
    -- Conan: Target declared 'OpenMP::OpenMP'
    -- GraphBLAS has OpenMP: OFF
    -- Configuring incomplete, errors occurred!
    suitesparse-graphblas/9.1.0: 
    CMake Error at CMakeLists.txt:121 (message):
      OpenMP required for GraphBLAS but not found
    
    
    suitesparse-graphblas/9.1.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    suitesparse-graphblas/9.1.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    suitesparse-graphblas/9.1.0: ERROR: Package 'e3511578ffc12a38dcd049b0f5cf4af5cecbcd29' build failed
    suitesparse-graphblas/9.1.0: WARN: Build folder /home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/build/Release
    ERROR: suitesparse-graphblas/9.1.0: Error in build() method, line 91
    	cmake.configure()
    	ConanException: Error 1 while executing cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/package/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/12383/cecea/.conan/data/suitesparse-graphblas/9.1.0/_/_/build/e3511578ffc12a38dcd049b0f5cf4af5cecbcd29/src"
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

See details:

Failure in build 1 (ec9179c0152d524ef442b3064959a199782c438c):

  • suitesparse-graphblas/9.1.0:
    CI failed to create some packages (All logs)

    Logs for packageID a155c22218b9ada538ce9828a1681bd5e5b9917c:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
    suitesparse-graphblas/9.1.0: CMakeToolchain generated: conan_toolchain.cmake
    suitesparse-graphblas/9.1.0: CMakeToolchain generated: CMakePresets.json
    suitesparse-graphblas/9.1.0: CMakeToolchain generated: ../../../src/CMakeUserPresets.json
    suitesparse-graphblas/9.1.0: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
        find_package(OpenMP)
        target_link_libraries(... OpenMP::OpenMP)
    suitesparse-graphblas/9.1.0: Generating aggregated env files
    suitesparse-graphblas/9.1.0: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
    suitesparse-graphblas/9.1.0: Calling build()
    suitesparse-graphblas/9.1.0: Running CMake.configure()
    suitesparse-graphblas/9.1.0: RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v2/bsr/10827/bacbd/p/b/suite720bf5915be21/b/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v2/bsr/10827/bacbd/p/b/suite720bf5915be21/p" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v2/bsr/10827/bacbd/p/b/suite720bf5915be21/b/src"
    -- Using Conan toolchain: /home/conan/workspace/prod-v2/bsr/10827/bacbd/p/b/suite720bf5915be21/b/build/Release/generators/conan_toolchain.cmake
    -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC)
    -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
    -- The C compiler identification is GNU 11.1.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/local/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Building SuiteSparse:GraphBLAS version: v9.1.0, date: Mar 22, 2024
    -- GraphBLAS C API: v2.1, date: Dec 22, 2023
    -- Source:           /home/conan/workspace/prod-v2/bsr/10827/bacbd/p/b/suite720bf5915be21/b/src 
    -- Build:            /home/conan/workspace/prod-v2/bsr/10827/bacbd/p/b/suite720bf5915be21/b/build/Release 
    -- Install lib:      lib
    -- Install include:  include/suitesparse
    -- Install bin:      bin
    -- Install pkg-file: lib
    -- Install rpath:    $ORIGIN
    -- Build   rpath:    
    -- Build type:       Release 
    -- Fortran:          not enabled
    -- CUDA:             not enabled
    -- GraphBLAS CUDA JIT: disabled
    -- GraphBLAS CPU JIT: enabled
    -- GBCOMPACT: enabled; FactoryKernels will not be built
    -- Conan: Target declared 'OpenMP::OpenMP'
    -- GraphBLAS has OpenMP: OFF
    CMake Error at CMakeLists.txt:121 (message):
      OpenMP required for GraphBLAS but not found
    
    
    -- Configuring incomplete, errors occurred!
    
    suitesparse-graphblas/9.1.0: ERROR: 
    Package 'a155c22218b9ada538ce9828a1681bd5e5b9917c' build failed
    suitesparse-graphblas/9.1.0: WARN: Build folder /home/conan/workspace/prod-v2/bsr/10827/bacbd/p/b/suite720bf5915be21/b/build/Release
    ERROR: suitesparse-graphblas/9.1.0: Error in build() method, line 91
    	cmake.configure()
    	ConanException: Error 1 while executing
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants