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

Add lapack recipe #5260

Closed
wants to merge 10 commits into from
Closed

Conversation

mydatamodels
Copy link
Contributor

Specify library name and version: lapack/3.9.1

Closes #4509.

We have adapted the deprecated recipe in https://github.com/conan-community/conan-lapack to the rules of conan center.

We did some testing with Linux (Ubuntu 18 and 20). We have no way to test properly windows and mac.


  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@CLAassistant
Copy link

CLAassistant commented Apr 19, 2021

CLA assistant check
All committers have signed the CLA.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Marcello Mansueto added 2 commits April 19, 2021 17:07
@conan-center-bot

This comment has been minimized.

@SpaceIm
Copy link
Contributor

SpaceIm commented Apr 19, 2021

You'll have to wait for a fortran recipe.

Copy link
Contributor

@madebr madebr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too bad gfortran is not installed by default on the Linux/Macos machines.
Since fortran and c are very compatible, it would make a great addition.

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Failure in build 5 (570684110da01f5b3c8db012d4f2f48de4e157ce):

  • lapack/3.9.1@:
    CI failed to create some packages (All logs)

    Logs for packageID 97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6:
    [settings]
    arch=x86_64
    arch_build=x86_64
    build_type=Release
    compiler=clang
    compiler.libcxx=libstdc++
    compiler.version=4.0
    os=Linux
    os_build=Linux
    [options]
    lapack:shared=False
    
    lapack/3.9.1: Building your package in /home/conan/w/BuildSingleReference/.conan/data/lapack/3.9.1/_/_/build/97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6
    lapack/3.9.1: Generator cmake created conanbuildinfo.cmake
    [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
    lapack/3.9.1: Calling build()
    
    ----Running------
    > cd 'build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="4.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/lapack/3.9.1/_/_/package/97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCMAKE_GNUtoMS="False" -DBUILD_TESTING="False" -DLAPACKE="True" -DCBLAS="True" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/lapack/3.9.1/_/_/build/97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6'
    -----------------
    -- The C compiler identification is Clang 4.0.1
    -- The CXX compiler identification is Clang 4.0.1
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/clang - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/clang++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Conan: called by CMake conan helper
    -- Conan: called inside local cache
    -- Conan: Adjusting output directories
    -- Conan: Using cmake global configuration
    -- Conan: Adjusting default RPATHs Conan policies
    -- Conan: Adjusting language standard
    -- Conan: Adjusting fPIC flag (ON)
    -- Conan: Checking correct version: 4.0
    -- The Fortran compiler identification is unknown
    -- Configuring incomplete, errors occurred!
    See also "/home/conan/w/BuildSingleReference/.conan/data/lapack/3.9.1/_/_/build/97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6/build_subfolder/CMakeFiles/CMakeOutput.log".
    See also "/home/conan/w/BuildSingleReference/.conan/data/lapack/3.9.1/_/_/build/97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6/build_subfolder/CMakeFiles/CMakeError.log".
    lapack/3.9.1: 
    CMake Error at source_subfolder/CMakeLists.txt:3 (project):
      No CMAKE_Fortran_COMPILER could be found.
    
      Tell CMake where to find the compiler by setting either the environment
      variable "FC" or the CMake cache entry CMAKE_Fortran_COMPILER to the full
      path to the compiler, or to the compiler name if it is in the PATH.
    
    
    lapack/3.9.1: WARN: Build folder is dirty, removing it: /home/conan/w/BuildSingleReference/.conan/data/lapack/3.9.1/_/_/build/97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6
    lapack/3.9.1: ERROR: Package '97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6' build failed
    lapack/3.9.1: WARN: Build folder /home/conan/w/BuildSingleReference/.conan/data/lapack/3.9.1/_/_/build/97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6
    ERROR: lapack/3.9.1: Error in build() method, line 67
    	self._cmake = self._configure_cmake()
    while calling '_configure_cmake', line 60
    	self._cmake.configure(build_dir=self._build_subfolder)
    	ConanException: Error 1 while executing cd 'build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="4.0" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/.conan/data/lapack/3.9.1/_/_/package/97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCMAKE_GNUtoMS="False" -DBUILD_TESTING="False" -DLAPACKE="True" -DCBLAS="True" -Wno-dev '/home/conan/w/BuildSingleReference/.conan/data/lapack/3.9.1/_/_/build/97a85c21c60fa3254c3e70b6c5923cdbe0dbf3a6'
    

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.

@stale
Copy link

stale bot commented May 20, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label May 20, 2021
@stale
Copy link

stale bot commented Jun 19, 2021

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

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

Successfully merging this pull request may close these issues.

[request] lapack/3.9.0
5 participants