Define only macros we'll use.
clientversion: Define only macros we’ll use #13897
pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:remove-unused-macros changing 1 files +5 −12-
practicalswift commented at 9:25 PM on August 6, 2018: contributor
- fanquake added the label Refactoring on Aug 6, 2018
-
kallewoof commented at 4:24 AM on August 7, 2018: member
Is there even a point in having the define, rather than just putting it in the
#define BUILD_DESCdirectly? -
practicalswift commented at 7:57 AM on August 7, 2018: contributor
@kallewoof Good point! Now defining
BUILD_DESCdirectly. Please re-review :-) -
ken2812221 commented at 4:03 AM on August 8, 2018: contributor
Use
bitcoin-cli --versionto test87af43b:
Bitcoin Core RPC client version vCLIENT_VERSION_MAJOR.CLIENT_VERSION_MINOR.CLIENT_VERSION_REVISION.CLIENT_VERSION_BUILD-BUILD_SUFFIXf46b747247:
Bitcoin Core RPC client version v0.16.99.0-f46b747247master (9d86aad287):
Bitcoin Core RPC client version v0.16.99.0-9d86aad287The second commit should be dropped. Tested ACK f46b747247
-
Empact commented at 5:04 PM on August 11, 2018: member
How about building the three off a common define?:
#define BUILD_DESC_VERSION(maj, min, rev, build) \ "v" DO_STRINGIZE(maj) "." DO_STRINGIZE(min) "." DO_STRINGIZE(rev) "." DO_STRINGIZE(build)This would reduce duplication and make the suffix more visible in the code.
- practicalswift force-pushed on Aug 13, 2018
-
practicalswift commented at 12:02 PM on August 13, 2018: contributor
@Empact Now using a common define. Please review :-) @ken2812221 Please re-review :-)
-
Empact commented at 5:19 PM on August 13, 2018: member
Just realized you can inline the arguments to BUILD_DESC_VERSION, so that the implementations are like
BUILD_DESC_VERSION "-" BUILD_SUFFIX- would be much clearer IMO. -
Define only macros we'll use 21cd1da108
- practicalswift force-pushed on Aug 14, 2018
-
practicalswift commented at 8:28 AM on August 14, 2018: contributor
@Empact Updated. Please re-review :-)
- MarcoFalke added the label Needs gitian build on Sep 20, 2018
-
MarcoFalke commented at 8:18 PM on September 20, 2018: member
Not sure if this is worth it. I doubt we have enough reviewers that are fluent enough in macros that can review this.
-
DrahtBot commented at 12:22 PM on September 21, 2018: member
<!--a722867cd34abeea1fadc8d60700f111-->
Gitian builds for commit 9a3a984bb884c1153866b64845db7300121966b3 (master):
fbb6a497f202770a414bc3ffba724218...bitcoin-0.17.99-aarch64-linux-gnu-debug.tar.gz40003bf402f289722f47cb1497254aa9...bitcoin-0.17.99-aarch64-linux-gnu.tar.gz8145fd3240278746b4f35d03ea49426c...bitcoin-0.17.99-arm-linux-gnueabihf-debug.tar.gz128fd1f31c4ec7e1b7591c15d6191952...bitcoin-0.17.99-arm-linux-gnueabihf.tar.gz1092ddb7483f55756be49a2d5bbe8c91...bitcoin-0.17.99-i686-pc-linux-gnu-debug.tar.gzf1556833e15c12d0f711f7acf09f6a8c...bitcoin-0.17.99-i686-pc-linux-gnu.tar.gz2fccd48cd3dc17134a7b8489d1e69b32...bitcoin-0.17.99-osx-unsigned.dmgba8bd7abf628b8f3e3fd54104f81f509...bitcoin-0.17.99-osx64.tar.gz8e5bdd9a945c71f6623ea4b291711193...bitcoin-0.17.99-riscv64-linux-gnu-debug.tar.gzcfa0e2fb6107c10e99c2a06c7f3c2249...bitcoin-0.17.99-riscv64-linux-gnu.tar.gz48fa57ed9e5e8833e4e948d0a2d8cd25...bitcoin-0.17.99-win32-debug.zip19289290a5947586137041e960b1aa8f...bitcoin-0.17.99-win32-setup-unsigned.exe1da3448c1093245ee6091b9ca78ac589...bitcoin-0.17.99-win32.zip879d280e4265d58cf26a0552028d03b4...bitcoin-0.17.99-win64-debug.zipbf596d40fe880b0ab9e91110d0ac2835...bitcoin-0.17.99-win64-setup-unsigned.exe4b68f092074499241ce7c4ff2eefcf66...bitcoin-0.17.99-win64.zip1c0caea04567304d580868f38ec8d0f6...bitcoin-0.17.99-x86_64-linux-gnu-debug.tar.gz3dfb5fbcfecddeb8bfe4906969cdcd68...bitcoin-0.17.99-x86_64-linux-gnu.tar.gz30d343bf52238951fd9693ba721cd15f...bitcoin-0.17.99.tar.gz5dfeb1169be5679d4629798b78d911ab...bitcoin-linux-0.18-res.yml8c7f22a3a82e1e8b33b494a11f7fbde6...bitcoin-linux-build.logd72a77dc092763f1e48f8cbefdaaed2e...bitcoin-osx-0.18-res.yml44895c028bf3dea1982427cd5a85f7c1...bitcoin-osx-build.logcde719cab3832c5c4966209faf9dceda...bitcoin-win-0.18-res.ymle51791d884e80c812abfc7f4905689f1...bitcoin-win-build.log
Gitian builds for commit de395a30370fab9cce8e67629f386db6872a2071 (master and this pull):
3ba6277c0cd0d734d1b8861e4bc1960f...bitcoin-0.17.99-aarch64-linux-gnu-debug.tar.gz8cf2c8945d78eb29e4a9160981fa071f...bitcoin-0.17.99-aarch64-linux-gnu.tar.gz75e16fc9c3cfb5b9082e8407e546d8f8...bitcoin-0.17.99-arm-linux-gnueabihf-debug.tar.gz3a8c649974d45612da58be4814ee8f39...bitcoin-0.17.99-arm-linux-gnueabihf.tar.gz1a6622754dc879bedc738f3f9d053f9b...bitcoin-0.17.99-i686-pc-linux-gnu-debug.tar.gza5c677d124b102702d2a21161d62ab55...bitcoin-0.17.99-i686-pc-linux-gnu.tar.gzab73785a72ff0c267858e8730ce872e9...bitcoin-0.17.99-osx-unsigned.dmg0085922a1405659eb395eb3526cb2a2f...bitcoin-0.17.99-osx64.tar.gz7c5b120c45bc44fccf51f5a33dc78a7f...bitcoin-0.17.99-riscv64-linux-gnu-debug.tar.gz4cc5caf5dd2ad44f7dc26fb3981427a6...bitcoin-0.17.99-riscv64-linux-gnu.tar.gz8e0dacaa52fa60954fb3133889548240...bitcoin-0.17.99-win32-debug.zip7f6f22d82a431181ce014ff68f1c613e...bitcoin-0.17.99-win32-setup-unsigned.exe0555809ea0ea88baba19c873a9684d85...bitcoin-0.17.99-win32.zip067e9161288fa4c61e10618c83cee887...bitcoin-0.17.99-win64-debug.zipbe89f6226cda733e5c8127275ef00d39...bitcoin-0.17.99-win64-setup-unsigned.exe312413af06ec0e4a916d780ec211bdeb...bitcoin-0.17.99-win64.zip0d6031a1cedf54ff784564338c5d1115...bitcoin-0.17.99-x86_64-linux-gnu-debug.tar.gze9750b0ad7f6fdefeb3ec44d31e0856c...bitcoin-0.17.99-x86_64-linux-gnu.tar.gz048a163227f19e4ae6bbfac3f927910b...bitcoin-0.17.99.tar.gz025a63056e9db8b7bb3b9aa2427e3a3f...bitcoin-linux-0.18-res.ymlf91bc21bde30993d66a3ceaf4a3d77ca...bitcoin-linux-build.log32c637c8de44a1eca49399a30d846a27...bitcoin-osx-0.18-res.ymle3543f04c9a5fd5972e9d333824611d2...bitcoin-osx-build.logd679bf077f8bbfb70cc5e6f1cb85a72a...bitcoin-win-0.18-res.yml7562f54f8a313ab0c31519e2bc6571df...bitcoin-win-build.log
- DrahtBot removed the label Needs gitian build on Sep 21, 2018
- practicalswift closed this on Oct 18, 2018
- practicalswift deleted the branch on Apr 10, 2021
- DrahtBot locked this on Aug 18, 2022