QT LOVES to do things its own way and simply ignore all environment variables. Even listing QMAKE_CC=... in ./configure flags does't work reliably. This is why we gotta literally edit their config files for them. Thanks QT.
depends: qt: Fix C{,XX} pickup #17466
pull dongcarl wants to merge 1 commits into bitcoin:master from dongcarl:2019-11-qt-CC-CXX-pickup changing 1 files +2 −0-
dongcarl commented at 6:15 PM on November 13, 2019: member
-
depends: qt: Fix C{,XX} pickup bc728d12a9
- dongcarl added the label Build system on Nov 13, 2019
- dongcarl added the label Needs gitian build on Nov 13, 2019
- MarcoFalke added the label GUI on Nov 13, 2019
-
MarcoFalke commented at 7:42 PM on November 13, 2019: member
I guess we can't test this as standalone? Just see if the gitian build still passes?
-
dongcarl commented at 7:48 PM on November 13, 2019: member
I guess we can't test this as standalone? Just see if the gitian build still passes?
This should only affect the OSX Gitian build, so if that passes then we should be good... Or maybe I'm misunderstanding you?
- fanquake removed the label GUI on Nov 13, 2019
-
MarcoFalke commented at 9:15 PM on November 13, 2019: member
Is this a bugfix? We use a hardcoded clang-x86_64 to build for macos, so I hope this works before and after this pull request?
- MarcoFalke closed this on Nov 13, 2019
- MarcoFalke reopened this on Nov 13, 2019
-
dongcarl commented at 9:32 PM on November 13, 2019: member
Is this a bugfix? We use a hardcoded clang-x86_64 to build for macos, so I hope this works before and after this pull request?
Not a bugfix but just making depends work properly: settings should propagate to all packages wherever possible. I've tested this for crossing from Linux to OSX. Can test OSX native build too.
-
laanwj commented at 11:52 AM on November 14, 2019: member
Ah yes I've often noticed as well. It's quite annoying that qt and boost have to have their own build system that of course has to do everything different for no good reason. Concept ACK
-
practicalswift commented at 12:33 PM on November 14, 2019: contributor
Concept ACK
Thanks for all your great work on the build system @dongcarl
-
DrahtBot commented at 6:19 AM on November 15, 2019: member
<!--a722867cd34abeea1fadc8d60700f111-->
Gitian builds
File commit cd6cb9745e13a62e130b11f78a13bcc1d424b05e<br>(master) commit 41fc70b48460e1aaba2d642bd8e8b9b6f8614ea7<br>(master and this pull) bitcoin-0.19.99-aarch64-linux-gnu-debug.tar.gz b25191cf773b0bf8...1c84cf1696fef9b2...bitcoin-0.19.99-aarch64-linux-gnu.tar.gz 66cddf99c1e08dde...802de7ba02b84034...bitcoin-0.19.99-arm-linux-gnueabihf-debug.tar.gz 301fa28e49a64bbb...e0717f8451fe9911...bitcoin-0.19.99-arm-linux-gnueabihf.tar.gz b52d82ea2fed7f13...517b275f4201482f...bitcoin-0.19.99-i686-pc-linux-gnu-debug.tar.gz bd623b4dc3cf5a9a...a3743f45582449b0...bitcoin-0.19.99-i686-pc-linux-gnu.tar.gz 5de2375b033565f1...aa098c99aa114907...bitcoin-0.19.99-osx-unsigned.dmg 694ef5744d2f6904...c6a637e42ee7ec36...bitcoin-0.19.99-osx64.tar.gz 0114ae780385b137...f47cf40f1ead6fb9...bitcoin-0.19.99-riscv64-linux-gnu-debug.tar.gz 294011ae38c5d280...9e3db256b062551f...bitcoin-0.19.99-riscv64-linux-gnu.tar.gz dbe88f197d552d41...4d78ed041f10e00b...bitcoin-0.19.99-win64-debug.zip 936007bb2ebddd0d...94050955d320f8f8...bitcoin-0.19.99-win64-setup-unsigned.exe b3c867b01b2d44ec...1b0057d90bb10364...bitcoin-0.19.99-win64.zip 1b2d78df9702a910...1d0f84cf1ff060ad...bitcoin-0.19.99-x86_64-linux-gnu-debug.tar.gz bfb1d4efbb97a704...767675c63e76925e...bitcoin-0.19.99-x86_64-linux-gnu.tar.gz 3511c219e80118c4...fa19912da2d3bfda...bitcoin-0.19.99.tar.gz 65d3c95876c7164a...0f894460983b2657...bitcoin-core-linux-0.20-res.yml 643bafb017a19819...9049354734cc1862...bitcoin-core-osx-0.20-res.yml 3b0156f8bb686f5c...35b75c1c988d0440...bitcoin-core-win-0.20-res.yml 0a1e31be7a54ff9b...c4c84e26ab66bf99...linux-build.log 8e7bb3e54025c401...e2beec7bf41bbb74...osx-build.log 5b343fc43338d92c...8f940f59be2b0c2d...win-build.log 24b7cda24344151a...eac9dc3bc5922331...bitcoin-core-linux-0.20-res.yml.diff 619329a6764a467e...bitcoin-core-osx-0.20-res.yml.diff 735c4ada4d2ad648...bitcoin-core-win-0.20-res.yml.diff a9844ce5401c17b5...linux-build.log.diff c5987fb3392d93ee...osx-build.log.diff 0f1bc2c84c871b6f...win-build.log.diff c294ee3bcea65dc0... - DrahtBot removed the label Needs gitian build on Nov 15, 2019
-
in depends/packages/qt.mk:206 in bc728d12a9
201 | @@ -202,6 +202,8 @@ define $(package)_preprocess_cmds 202 | sed -i.old "s|QMAKE_CFLAGS += |!host_build: QMAKE_CFLAGS = $($(package)_cflags) $($(package)_cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \ 203 | sed -i.old "s|QMAKE_CXXFLAGS += |!host_build: QMAKE_CXXFLAGS = $($(package)_cxxflags) $($(package)_cppflags) |" qtbase/mkspecs/win32-g++/qmake.conf && \ 204 | sed -i.old "0,/^QMAKE_LFLAGS_/s|^QMAKE_LFLAGS_|!host_build: QMAKE_LFLAGS = $($(package)_ldflags)\n&|" qtbase/mkspecs/win32-g++/qmake.conf && \ 205 | + sed -i.old "s|QMAKE_CC = clang|QMAKE_CC = $($(package)_cc)|" qtbase/mkspecs/common/clang.conf && \ 206 | + sed -i.old "s|QMAKE_CXX = clang++|QMAKE_CXX = $($(package)_cxx)|" qtbase/mkspecs/common/clang.conf && \
laanwj commented at 11:25 AM on November 15, 2019:BTW, not in this PR, but we really need something that detects when these sed's fail to replace anything. This is very prone to breaking with very subtle effects when Qt is updated. (imagine they changed the number of spaces, for ex.)
dongcarl commented at 4:28 PM on November 18, 2019:Right, tracked in: https://github.com/bitcoin/bitcoin/issues/16838
laanwj commented at 11:10 AM on November 18, 2019: memberACK bc728d12a975934a1ef21e8d06612e157faaff6a
laanwj referenced this in commit 1baf7d1819 on Nov 18, 2019laanwj merged this on Nov 18, 2019laanwj closed this on Nov 18, 2019sidhujag referenced this in commit 648723e98c on Nov 18, 2019MarkLTZ referenced this in commit 6a7086a3bb on Nov 29, 2019deadalnix referenced this in commit b86752d6fb on Apr 3, 2020sidhujag referenced this in commit 4c157a3b56 on Nov 10, 2020kittywhiskers referenced this in commit e81cd6093b on Nov 24, 2021PastaPastaPasta referenced this in commit 25a965d691 on Nov 30, 2021DrahtBot locked this on Dec 16, 2021ContributorsLabels
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: 2026-04-16 21:14 UTC
More mirrored repositories can be found on mirror.b10c.me