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

Fix undefined reference to dladdr #1738

Merged
merged 1 commit into from
Mar 23, 2022
Merged

Fix undefined reference to dladdr #1738

merged 1 commit into from
Mar 23, 2022

Conversation

kristianmeyerr
Copy link
Contributor

The explicit linking to libdl can avoid undefined reference to dladdr on some ubuntu systems.

@dweindl dweindl changed the base branch from master to develop March 23, 2022 12:55
@dweindl dweindl self-assigned this Mar 23, 2022
@codecov
Copy link

codecov bot commented Mar 23, 2022

Codecov Report

Merging #1738 (f231d95) into develop (f5e5258) will increase coverage by 0.36%.
The diff coverage is n/a.

❗ Current head f231d95 differs from pull request most recent head c820758. Consider uploading reports for the commit c820758 to get more accurate results

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1738      +/-   ##
===========================================
+ Coverage    77.82%   78.18%   +0.36%     
===========================================
  Files           73       73              
  Lines        11364    11471     +107     
===========================================
+ Hits          8844     8969     +125     
+ Misses        2520     2502      -18     
Flag Coverage Δ
cpp 75.29% <ø> (+0.61%) ⬆️
petab 62.51% <ø> (ø)
python 68.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/spline.cpp 65.26% <0.00%> (-6.32%) ⬇️
src/hdf5.cpp 89.66% <0.00%> (-0.86%) ⬇️
src/rdata.cpp 93.12% <0.00%> (-0.64%) ⬇️
src/steadystateproblem.cpp 82.68% <0.00%> (-0.61%) ⬇️
src/model.cpp 85.42% <0.00%> (-0.60%) ⬇️
src/exception.cpp 74.19% <0.00%> (ø)
include/amici/rdata.h 94.44% <0.00%> (ø)
python/amici/numpy.py 82.60% <0.00%> (ø)
include/amici/solver.h 100.00% <0.00%> (ø)
include/amici/newton_solver.h 100.00% <0.00%> (ø)
... and 10 more

@dweindl
Copy link
Member

dweindl commented Mar 23, 2022

Thanks @kristianmeyerr

For future reference: This is required if AMICI is to be used without HDF5. When using HDF5, libdl comes in as transitive dependency so that this issue never surfaced here.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dweindl dweindl merged commit fee0d5a into AMICI-dev:develop Mar 23, 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.

2 participants