Skip to content

build: 🚀 Remove Autotools and MSVC build systems#166

Closed
hebasto wants to merge 2 commits into
cmake-stagingfrom
cmake-kill-autotools
Closed

build: 🚀 Remove Autotools and MSVC build systems#166
hebasto wants to merge 2 commits into
cmake-stagingfrom
cmake-kill-autotools

Conversation

@hebasto
Copy link
Copy Markdown
Owner

@hebasto hebasto commented Apr 23, 2024

The ultimate goal :)

@hebasto hebasto changed the title build: Remove Autotools-based build system build: 🚀 Remove Autotools-based build system Apr 24, 2024
Copy link
Copy Markdown

@vasild vasild left a comment

Choose a reason for hiding this comment

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

ACK 51706e0

I guess if something is forgotten it can be removed later and it looks like nothing excessive is removed either (but doc/Doxygen file generation?)

Comment thread .gitignore
.DS_Store
build
/build*
!/build-aux
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why unignore /build-aux?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

To ensure that Autotools legacy won't sneak into CMake realm.

Comment thread doc/.gitignore
@hebasto hebasto force-pushed the cmake-kill-autotools branch from 51706e0 to 243ff40 Compare April 27, 2024 11:35
@hebasto hebasto force-pushed the cmake-kill-autotools branch 2 times, most recently from 3a58eea to 9186936 Compare April 30, 2024 19:40
hebasto added a commit that referenced this pull request May 1, 2024
fa4f450 cmake, doc: Update `depends/README.md` (Hennadii Stepanov)

Pull request description:

  Split from #166.

ACKs for top commit:
  m3dwards:
    ACK fa4f450

Tree-SHA512: fd1aff3ee2ac3bc9cf5ea9ceeb5cf4490325935e404e4f2b6cbf44ea9186f062bbc169f9772b812f2bb1a03728699c7f361a7a07d7c2d89f73246b54993a639c
@hebasto hebasto force-pushed the cmake-kill-autotools branch from 9186936 to 6fa30c0 Compare May 1, 2024 11:31
@hebasto
Copy link
Copy Markdown
Owner Author

hebasto commented May 1, 2024

Unit tests create an artifact in the source tree:

share/rpcauth/__pycache__/rpcauth.cpython-312.pyc

@hebasto hebasto force-pushed the cmake-kill-autotools branch from 6fa30c0 to 897e99b Compare May 3, 2024 14:51
@hebasto
Copy link
Copy Markdown
Owner Author

hebasto commented May 3, 2024

Unit tests create an artifact in the source tree:

share/rpcauth/__pycache__/rpcauth.cpython-312.pyc

Fixed.

@hebasto hebasto force-pushed the cmake-kill-autotools branch from 8266fad to 7752690 Compare May 4, 2024 14:06
Copy link
Copy Markdown

@vasild vasild left a comment

Choose a reason for hiding this comment

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

ACK 7752690

@hebasto hebasto force-pushed the cmake-kill-autotools branch from 7752690 to 9415874 Compare May 17, 2024 13:15
@hebasto
Copy link
Copy Markdown
Owner Author

hebasto commented May 17, 2024

Rebased. More stuff have been removed from the src/univalue .

@hebasto hebasto force-pushed the cmake-kill-autotools branch from 9415874 to 44296a2 Compare May 22, 2024 06:41
Copy link
Copy Markdown

@pablomartin4btc pablomartin4btc left a comment

Choose a reason for hiding this comment

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

ACK 44296a2

Copy link
Copy Markdown

@vasild vasild left a comment

Choose a reason for hiding this comment

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

ACK 44296a2

@hebasto hebasto force-pushed the cmake-kill-autotools branch 2 times, most recently from dce1045 to 045f267 Compare June 8, 2024 23:25
@vasild
Copy link
Copy Markdown

vasild commented Jun 20, 2024

ACK 045f267

@hebasto hebasto force-pushed the cmake-kill-autotools branch from 045f267 to 66ad3e3 Compare July 26, 2024 15:33
@hebasto hebasto changed the title build: 🚀 Remove Autotools-based build system build: 🚀 Remove Autotools and MSVC build systems Jul 26, 2024
@hebasto hebasto force-pushed the cmake-kill-autotools branch from 66ad3e3 to 88d3a83 Compare July 26, 2024 17:11
@hebasto hebasto force-pushed the cmake-kill-autotools branch from 907de18 to 62215e4 Compare July 30, 2024 09:35
@hebasto hebasto force-pushed the cmake-kill-autotools branch from 62215e4 to 81ed12f Compare August 5, 2024 18:59
hebasto added a commit that referenced this pull request Aug 6, 2024
…ctory

57cdcdf cmake: Ignore build subdirectories within source directory (Hennadii Stepanov)

Pull request description:

  It was planned to clean up the `.gitignore` file during the [removal](#166) of the Autotools and MSVC legacy build systems. However, reviewers requested it [earlier](bitcoin#30454 (comment)).

  Therefore, [delivering](bitcoin#30454 (comment)) it now :)

ACKs for top commit:
  paplorinc:
    ACK 57cdcdf

Tree-SHA512: 7279debfca02b4dad13f5ec68190f09c16a34d9079d5859163f28b55193ef4e32a9bb925f104b9d83a01782146482ab9fd137c2af987b4d38c00e61c8a018026
@hebasto hebasto force-pushed the cmake-kill-autotools branch from 81ed12f to 0c77a91 Compare August 6, 2024 19:41
@hebasto hebasto force-pushed the cmake-kill-autotools branch from 0c77a91 to 3e6cf60 Compare August 10, 2024 11:57
Copy link
Copy Markdown

@vasild vasild left a comment

Choose a reason for hiding this comment

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

ACK 3e6cf60

Looks good, also the two new commits since my last review.

@hebasto hebasto force-pushed the cmake-kill-autotools branch from 3e6cf60 to 96679f6 Compare August 15, 2024 20:39
@vasild
Copy link
Copy Markdown

vasild commented Aug 16, 2024

Why restore src/minisketch/.gitignore and why drop commit 3e6cf60 test: Do not write Python bytecode to source directory?

@hebasto
Copy link
Copy Markdown
Owner Author

hebasto commented Aug 16, 2024

Why restore src/minisketch/.gitignore..?

The src/minisketch is a subtree and shouldn't be modified in this PR.

and why drop commit 3e6cf60 test: Do not write Python bytecode to source directory?

It is still not clear which way is preferred. For more details, please refer to bitcoin#30533.

Copy link
Copy Markdown

@vasild vasild left a comment

Choose a reason for hiding this comment

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

ACK d3f1c8a

@hebasto hebasto force-pushed the cmake-kill-autotools branch from 96679f6 to ad12ccc Compare August 17, 2024 07:53
@hebasto
Copy link
Copy Markdown
Owner Author

hebasto commented Aug 17, 2024

Rebased.

Copy link
Copy Markdown

@vasild vasild left a comment

Choose a reason for hiding this comment

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

ACK ad12ccc

Copy link
Copy Markdown

@pablomartin4btc pablomartin4btc left a comment

Choose a reason for hiding this comment

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

ACK ad12ccc

Tested it building depends with make and cmake building using the toolchain.

@maflcko
Copy link
Copy Markdown

maflcko commented Aug 28, 2024

Maybe the two commits can be split up into two pull requests? MSVC removal should be doable now, while autotools may or may not be good to keep a few more days, given my comment on the merged cmake pull.

@maflcko
Copy link
Copy Markdown

maflcko commented Aug 28, 2024

Looks like this is now bitcoin#30731 and bitcoin#30664, so reviewers of this change may want to go there.

@hebasto
Copy link
Copy Markdown
Owner Author

hebasto commented Aug 28, 2024

Looks like this is now bitcoin#30731 and bitcoin#30664, so reviewers of this change may want to go there.

Closing this PR.

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.

4 participants