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

CMake build: Add -DLAPACK option, un-break CBLAS+BLAS build, do not require C++ if unnecessary #972

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

Commits on Jan 8, 2024

  1. cmake: Add option to (not) build LAPACK library.

    All components are optional now, so that only BLAS can be built.
    drhpc committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    2f7e344 View commit details
    Browse the repository at this point in the history
  2. cmake: un-break build of blas+cblas

    This enables
    
      cmake -DLAPACK=off -DLAPACKE=off -DCBLAS=ON -DUSE_OPTIMIZED_BLAS=OFF ..
    
    to finish without complaining about cblas missing blas-targets. This installs
    additional cmake machinery for libblas, which seems to be fair, like the other
    libs.
    drhpc committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    49b653d View commit details
    Browse the repository at this point in the history
  3. cmake: do not require C++ unless BLAS++ or LAPACK++ are built

    The current setup requires a C++ compiler when none is needed, tripping
    up some build frameworks that are picky about that. And … there are situations
    where you have a C compiler and no C++.
    drhpc committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    ce032e5 View commit details
    Browse the repository at this point in the history