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

autoconf removal #1196

Merged
merged 3 commits into from
May 6, 2024
Merged

autoconf removal #1196

merged 3 commits into from
May 6, 2024

Conversation

trws
Copy link
Member

@trws trws commented May 3, 2024

As suggested by @garlick over in #1195, splitting out the autotools removal since that's a much easier unit if it doesn't have all the file moves mixed in.

@trws
Copy link
Member Author

trws commented May 4, 2024

The extra commit is here because this is where the problem surfaced. I'm not sure why it surfaced here, but the cgo build for the go test was looking for libczmq, which is apparently no longer found in the focal image for some reason.

@grondo
Copy link
Contributor

grondo commented May 4, 2024

flux-core dropped the czmq dependency awhile ago.

@trws
Copy link
Member Author

trws commented May 4, 2024

I saw that, it's extremely odd to me that this just happened now... Maybe it's just when the containers got poked? Not sure.

@trws trws requested review from garlick and milroy May 4, 2024 02:41
Copy link
Member

@chu11 chu11 left a comment

Choose a reason for hiding this comment

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

a little late to the party here, a few things

  • remove autogen.sh
  • remove INSTALL, since that's the GNU autoconf boilerplate one
  • update README.md with new build instructions (it still mentions autogen.sh, ./configure)
  • Update: remove configure? rename configure-cmake to configure?

hopefully not something else I'm forgetting

@trws
Copy link
Member Author

trws commented May 4, 2024

Ok, I wasn't planning to rework docker-run-checks.sh for this, so I'll do whatever of that I can without breaking it, or only small tweaks. The ./configure workflow actually works, that's part of why that stuff is there, though yeah it's not necessary.

trws added 3 commits May 4, 2024 11:27
problem: The cmake toolchain has been the main way to build and use
flux-sched for a while now, it's substantially faster and substantially
less broken. The autotools build system still exists, but is going to
become even more broken over time.

solution: Remove the autotools build system
problem: the go-bindings test was failing for lack of a libczmq library,
which seems to no longer be installed or needed for flux core.

solution: remove the flag, the tests pass without it 🤷🏼‍♂️
problem: now that we're a primarily cmake-based build, the
autotools-style build instructions no longer make sense.

solution: make cmake the main thing we recommend while explaining the
alternative.
@trws
Copy link
Member Author

trws commented May 4, 2024

Turns out autogen being missing just pops a warning in docker-run-checks.sh AFAICT, so assuming this passes that should be cleaned up.

@trws
Copy link
Member Author

trws commented May 6, 2024

Anyone willing to sign off here?

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.

This LGTM!

@trws trws added the merge-when-passing mergify.io - merge PR automatically once CI passes label May 6, 2024
Copy link

codecov bot commented May 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.9%. Comparing base (7a45c25) to head (a49bbd7).

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1196   +/-   ##
======================================
  Coverage    73.9%   73.9%           
======================================
  Files         102     102           
  Lines       14595   14595           
======================================
  Hits        10790   10790           
  Misses       3805    3805           

@mergify mergify bot merged commit d2d7b6d into flux-framework:master May 6, 2024
23 checks passed
@trws trws deleted the remove-autotools branch May 6, 2024 17:27
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.

None yet

3 participants