Skip to content

bitcoin-core: Migrate to CMake#11516

Closed
hebasto wants to merge 1 commit into
google:masterfrom
hebasto:240119-cmake
Closed

bitcoin-core: Migrate to CMake#11516
hebasto wants to merge 1 commit into
google:masterfrom
hebasto:240119-cmake

Conversation

@hebasto
Copy link
Copy Markdown
Contributor

@hebasto hebasto commented Jan 19, 2024

This testing PR was requested by reviewers of hebasto/bitcoin#43 and is not intended to be merged.

@github-actions
Copy link
Copy Markdown

hebasto is a new contributor to projects/bitcoin-core. The PR must be approved by known contributors before it can be merged. The past contributors are: fanquake, guidovranken, dergoegge, maflcko, achow101

Copy link
Copy Markdown
Contributor

@maflcko maflcko left a comment

Choose a reason for hiding this comment

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

CI won't run here, because you haven't contributed previously.

I think you can open a pull in your GitHub fork and enable GHA on the project, to avoid "spam" in this repo?

Comment thread projects/bitcoin-core/build.sh Outdated
# * --toolchain, see https://github.com/bitcoin/bitcoin/blob/master/depends/README.md
if [ "$SANITIZER" = "memory" ]; then
CONFIG_SITE="$PWD/depends/$BUILD_TRIPLET/share/config.site" ./configure --enable-fuzz SANITIZER_LDFLAGS="$LIB_FUZZING_ENGINE" --disable-hardening --with-asm=no
cmake -S .. -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" --toolchain depends/${BUILD_TRIPLET}/share/toolchain.cmake -DCMAKE_BUILD_TYPE=None -DFUZZ=ON -DSANITIZER_LDFLAGS="$LIB_FUZZING_ENGINE" -DHARDENING=OFF -DASM=OFF
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't CC and CXX be coming from the toolchain file? Why do we need to (re-)set it explicitly here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@hebasto
Copy link
Copy Markdown
Contributor Author

hebasto commented Jan 19, 2024

Closed on @maflcko's request.

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.

3 participants