hebasto
commented at 11:29 am on October 28, 2024:
member
Building packages in depends implies using GNU Make. However, this assumption can be wrong in environments where the CMAKE_GENERATOR variable is set.
This change explicitly makes CMake use the “Unix Makefiles” generator.
Can be tested as follows:
0$ env CMAKE_GENERATOR=Ninja make -C depends
depends: Specify CMake generator explicitly
Building packages in depends implies using GNU Make. However, this
assumption can be wrong in environments where the `CMAKE_GENERATOR`
variable is set.
This change explicitly makes CMake use the "Unix Makefiles" generator.
e2ba823671
hebasto added the label
Build system
on Oct 28, 2024
DrahtBot
commented at 11:29 am on October 28, 2024:
contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
fanquake
commented at 12:08 pm on October 28, 2024:
member
However, this assumption can be wrong in environments where the CMAKE_GENERATOR variable is set.
Generally, this holds for many CMake variables. Wouldn’t a better approach be facilitating it working, rather than guaranteeing these environments never get the expected bahaviour.
hebasto
commented at 2:56 pm on October 28, 2024:
member
However, this assumption can be wrong in environments where the CMAKE_GENERATOR variable is set.
Generally, this holds for many CMake variables. Wouldn’t a better approach be facilitating it working, rather than guaranteeing these environments never get the expected bahaviour.
Such behaviour can be achieved by switching from $(MAKE) to cmake --build ... in the $(package)_build_cmds. However, it would be a much more invasive change as it requires proper handling of the top-level make options, such as -j. Not sure if it is justified.
maflcko added the label
DrahtBot Guix build requested
on Oct 28, 2024
hebasto
commented at 6:12 pm on October 28, 2024:
member
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-11-21 09:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me