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

[INFRA] Better LTO handling #244

Merged
merged 1 commit into from
Oct 28, 2024
Merged

[INFRA] Better LTO handling #244

merged 1 commit into from
Oct 28, 2024

Conversation

eseiler
Copy link
Member

@eseiler eseiler commented Oct 28, 2024

Force projects that include HIBF to enable CMAKE_INTERPROCEDURAL_OPTIMIZATION.
CMake does not only detect the compiler flags, but also chooses programs that support the lto-plugin (ar, ranlib, ...).
This means that exporting the CXX_FLAGS is not enough, because linking might fail due to the wrong programs being chosen.

@seqan-actions seqan-actions added lint [INTERNAL] used for linting and removed lint [INTERNAL] used for linting labels Oct 28, 2024
@seqan-actions
Copy link
Member

Documentation preview available at https://docs.seqan.de/preview/seqan/hibf/244

@seqan-actions seqan-actions added lint [INTERNAL] used for linting and removed lint [INTERNAL] used for linting labels Oct 28, 2024
Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.58%. Comparing base (7f601c1) to head (c178907).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #244   +/-   ##
=======================================
  Coverage   99.58%   99.58%           
=======================================
  Files          51       51           
  Lines        1951     1951           
  Branches        5        5           
=======================================
  Hits         1943     1943           
  Misses          8        8           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seqan-actions seqan-actions added lint [INTERNAL] used for linting and removed lint [INTERNAL] used for linting labels Oct 28, 2024
Force projects that include HIBF to enable CMAKE_INTERPROCEDURAL_OPTIMIZATION.
CMake does not only detect the compiler flags, but also chooses
programs that support the lto-plugin (ar, ranlib, ...).
This means that exporting the CXX_FLAGS is not enough, because linking
might fail due to the wrong programs being chosen.
@seqan-actions seqan-actions added lint [INTERNAL] used for linting and removed lint [INTERNAL] used for linting labels Oct 28, 2024
@eseiler eseiler merged commit 2c1488a into seqan:main Oct 28, 2024
37 checks passed
@eseiler eseiler deleted the infra/better_lto branch October 28, 2024 20:21
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