-
Notifications
You must be signed in to change notification settings - Fork 15
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 missing lal declarations #58
Conversation
LAL provides a pkg-config ( $ pkg-config --cflags --libs lal
-pthread -I/home/duncan/opt/mambaforge/envs/py311/include -L/home/duncan/opt/mambaforge/envs/py311/lib -llal |
Hmm, okay ... It's getting late here now, but I'll try and demonstrate the failure I see when building sbank directly linking to LAL (if it still exists ... It's been some time since I tried this). |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #58 +/- ##
=======================================
Coverage 55.36% 55.36%
=======================================
Files 10 10
Lines 1167 1167
=======================================
Hits 646 646
Misses 521 521
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
For now, can we merge this though :-) |
@duncanmmacleod LAL does not provide the pkg-config file in |
Ok, good point, I wasn't sure how the wheels for this project were built. @lpsinger might have some suggestions on the best way to solve this problem, otherwise I think it's a reasonable feature request to have the LAL Python library provide a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
backport gwastro#58 to fix gwastro#56
use a proper branch to make it easy to track/rebase, and add patch to backport gwastro/sbank#58
@duncanmmacleod Reported that sbank is failing to build on newest clang releases due to missing declarations. This adds the missing declarations (hopefully). Can you approve (if this passes tests etc.)?
@duncanmmacleod A related request to you: I shouldn't have to be doing this! As with numpy, there should be some way to find lalsuite's
.h
files, so I can just include them. I also need a way to find lalsuite'sso
files to link against, which doesn't require the horrible hack thatsbank
's packaging currently has. Adding these would greatly increase the ability to use Cython with lalsuite (this is better than SWIG because I can interact directly at the C layer).