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: merge LAPACK_LIBRARIES and BLAS_LIBRARIES #14

Merged
merged 1 commit into from
Nov 3, 2021
Merged

CMAKE: merge LAPACK_LIBRARIES and BLAS_LIBRARIES #14

merged 1 commit into from
Nov 3, 2021

Commits on Nov 2, 2021

  1. CMAKE: merge LAPACK_LIBRARIES and BLAS_LIBRARIES

    This patch merge LAPACK_LIBRARIES and BLAS_LIBRARIES lists
    with removing of duplicates and replacing ";" with " "
    within list to provide proper linking via scifor.pc pkgconfig.
    
    Tested against lapack and openblas system libraries.
    
    Using lapack
    initial: "SF compilation lines: -L${libdir} -lscifor /usr/lib64/liblapack.so;/usr/lib64/libblas.so /usr/lib64/libblas.so"
    patched: "SF compilation lines: -L${libdir} -lscifor /usr/lib64/liblapack.so /usr/lib64/libblas.so"
    
    Using openblas
    initial: "SF compilation lines: -L${libdir} -lscifor /usr/lib64/libopenblas.so;/usr/lib64/libopenblas.so /usr/lib64/libopenblas.so"
    patched: "SF compilation lines: -L${libdir} -lscifor /usr/lib64/libopenblas.so"
    
    Related issue: https://github.com/QcmPlab/SciFortran/issues/4#issuecomment-736931796
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    band-a-prend committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    12bd273 View commit details
    Browse the repository at this point in the history