Skip to content

Conversation

fanquake
Copy link
Member

@fanquake fanquake commented Aug 1, 2019

When doing build comparisons I'd like to be able to pass a depends prefix to ./configure. This is not only useful for testing PRs such as bitcoin/bitcoin#16370, but also when I don't want to install dependencies and would rather just build them using depends.

This also updates the stripbuildinfo.patch to apply cleanly (bitcoin/bitcoin@25f0edd).
As well as some misc Python improvements, which can be dropped if required.

Example use:

../bitcoin-maintainer-tools/build-for-compare.py \
        b7fbf74b980ebb122ae34b142f2cc49b44b92de3 \
        25f0edd59fee454495da39c6c63f19b97cd75e96 \
        --prefix=/bitcoin/depends/x86_64-pc-linux-gnu \
        --executables=src/bitcoind,src/qt/bitcoin-qt \
        --parallelism=5

@fanquake fanquake requested a review from laanwj August 1, 2019 02:42
@fanquake fanquake force-pushed the compare_build_prefix branch from cbbf228 to 508393b Compare August 1, 2019 03:14
@fanquake
Copy link
Member Author

fanquake commented Aug 1, 2019

Updated to only pass --with-incompatible-bdb in the non-depends case.
Also added --disable-bench to the list of ./configure flags.

@laanwj
Copy link
Member

laanwj commented Aug 1, 2019

Tested ACK 508393b

@laanwj laanwj merged commit 508393b into bitcoin-core:master Aug 1, 2019
laanwj added a commit that referenced this pull request Aug 1, 2019
…depends prefix to ./configure

508393b misc Python cleanups (fanquake)
7b0369a Add option to pass a depends prefix to ./configure (fanquake)
b111689 Update stripbuildinfo.patch to apply cleanly to master (fanquake)

Pull request description:

  When doing build comparisons I'd like to be able to pass a depends prefix to `./configure`. This is not only useful for testing PRs such as bitcoin/bitcoin#16370, but also when I don't want to install dependencies and would rather just build them using depends.

  This also updates the `stripbuildinfo.patch` to apply cleanly (bitcoin/bitcoin@25f0edd).
  As well as some misc Python improvements, which can be dropped if required.

  Example use:
  ```bash
  ../bitcoin-maintainer-tools/build-for-compare.py \
          b7fbf74b980ebb122ae34b142f2cc49b44b92de3 \
          25f0edd59fee454495da39c6c63f19b97cd75e96 \
          --prefix=/bitcoin/depends/x86_64-pc-linux-gnu \
          --executables=src/bitcoind,src/qt/bitcoin-qt \
          --parallelism=5
  ```

ACKs for top commit:
  laanwj:
    Tested ACK 508393b

Tree-SHA512: 1236d632563d9ddda548b150be191d1c5a18f3eaaef12c7173d09aefe41a73686bcb40d888074ef82e96b5ae1beb8ad9fd2f469e2f0deca93ddf1af52640e46b
@fanquake fanquake deleted the compare_build_prefix branch August 1, 2019 09:39
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.

2 participants