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

build: don't look for things we don't use #1086

Merged
merged 3 commits into from
Sep 29, 2023

Conversation

garlick
Copy link
Member

@garlick garlick commented Sep 28, 2023

This drops support from the build system for finding flux-core's libpmi.so and libczmq.so, neither of which are used by the scheduler.

Also, drop the deprecated workflow-examples readthedocs repo from the sphinx config.

Copy link
Contributor

@grondo grondo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@trws trws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great @garlick, thanks!

Note to self: pull out version of FindFluxCore from just before this as something we can provide from flux-core, like a pkg-config file.

Problem: the build system looks for flux-core's libpmi
but it is unused.

Drop it from FindFluxCore.cmake.
Problem: the build system looks for libczmq but doesnt't use it.

This was dropped from flux-core so we really don't want to require
it for no reason.

Drop from CMakeLists.txt.

Fixes flux-framework#1085
Problem: the sphinx build emits warnings about missing
workflow-examples.

loading intersphinx inventory from https://flux-framework.readthedocs.io/projects/flux-workflow-examples/en/latest/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://flux-framework.readthedocs.io/projects/flux-workflow-examples/en/latest/objects.inv' not fetchable due to <class 'requests.exceptions.HTTPError'>: 404 Client Error: Not Found for url: https://flux-framework.readthedocs.io/projects/flux-workflow-examples/en/latest/objects.inv

But that readthedocs project was deleted.

Drop the reference from conf.py.
@trws trws force-pushed the drop_useless_things branch from 356e8d2 to 92ecfcf Compare September 29, 2023 08:30
@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Merging #1086 (afab5c9) into master (4e3afdd) will decrease coverage by 0.1%.
The diff coverage is n/a.

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

@@           Coverage Diff            @@
##           master   #1086     +/-   ##
========================================
- Coverage    71.7%   71.7%   -0.1%     
========================================
  Files          89      89             
  Lines       11665   11665             
========================================
- Hits         8374    8371      -3     
- Misses       3291    3294      +3     

see 1 file with indirect coverage changes

@garlick garlick added the merge-when-passing mergify.io - merge PR automatically once CI passes label Sep 29, 2023
@mergify mergify bot merged commit c51fc86 into flux-framework:master Sep 29, 2023
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-passing mergify.io - merge PR automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants