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

Link C libraries against build include folder #616

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

bjack205
Copy link
Contributor

Description
This PR fixes a bug in the build system. The lapacke and cblas targets include the source include folder instead of the build include folder. This means that any target downstream target that links against these using target_link_libraries won't get the correct include folder, which critically is missing the auto-generated xxx_mangling.h headers. This PR changes the build interface so that these targets now correctly use the ${LAPACK_BINARY_DIR}/include directory.

This arose from issue #614, which I was trying to build the lapack library after downloading it via FetchContent, which is useful for bundling lapack together with source code rather than relying on a system installation.

I'm not sure where/how to update the documentation for this change, but am happy to do so with some input from the maintainers.

Checklist

  • The documentation has been updated.
  • If the PR solves a specific issue, it is set to be closed on merge.

@codecov
Copy link

codecov bot commented Aug 31, 2021

Codecov Report

Merging #616 (b488310) into master (afb5242) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #616   +/-   ##
=======================================
  Coverage    0.00%    0.00%           
=======================================
  Files        1894     1894           
  Lines      184021   184021           
=======================================
  Misses     184021   184021           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d7f91bc...b488310. Read the comment docs.

@langou langou merged commit c8cb980 into Reference-LAPACK:master Aug 31, 2021
@julielangou julielangou added this to the LAPACK 3.10.1 milestone Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants