ci: Enable the gui in the tsan build #22815
pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:210827-tsan changing 1 files +1 −1-
hebasto commented at 5:47 am on August 27, 2021: memberThis PR is a reincarnation of #19162.
-
hebasto added the label Tests on Aug 27, 2021
-
in depends/packages/qt.mk:143 in 7cb003f005 outdated
139@@ -140,7 +140,11 @@ $(package)_config_opts_linux += -no-feature-vulkan 140 $(package)_config_opts_linux += -dbus-runtime 141 $(package)_config_opts_arm_linux += -platform linux-g++ -xplatform bitcoin-linux-g++ 142 $(package)_config_opts_i686_linux = -xplatform linux-g++-32 143+ifneq (,$(findstring clang++ -stdlib=libc++,$($(1)_cxx)))
laanwj commented at 2:31 pm on August 27, 2021:I don’t think it’s correct to assumeclang++
exists here, as well as is the compiler that is used to compile qt?
laanwj commented at 2:35 pm on August 27, 2021:Oh, I misunderstand what this does. It doesn’t actually run the command but searches for it in expanded
$($(1)_cxx)
.It does seem somewhat over-specific to look for
clang++ -stdlib=libc++
.
hebasto commented at 2:36 pm on August 27, 2021:I think it is not an assumption, rather an option. If
clang++
compiler with-stdlib=libc++
flag is used to compile theqt
package, we just choose the correctlinux-clang-libc++
mkspec.Otherwise, the
linux-g++-64
mkspec is used as usually.
hebasto commented at 2:39 pm on August 27, 2021:It does seem somewhat over-specific to look for
clang++ -stdlib=libc++
.True. Because
clang++ -stdlib=libc++
requires thelinux-clang-libc++
mkspec.
laanwj commented at 7:50 pm on August 27, 2021:But what if say, the version of clang uses libc++ by default? Looking only at the argument (which should directly follow the compiler name) looks kind of fragile and will not catch every case where someone links against libc++.
hebasto commented at 8:40 pm on August 27, 2021:Fair point…
Have you any suggestions?
practicalswift commented at 1:51 pm on September 4, 2021: contributorStrong Concept ACKhebasto force-pushed on Sep 28, 2021fanquake referenced this in commit de28c348a0 on Dec 30, 2021fanquake commented at 3:37 am on December 30, 2021: memberPlease rebase this on master.sidhujag referenced this in commit 4975b13579 on Dec 30, 2021ci: Enable the gui in the TSan build ec7b7d4a36hebasto force-pushed on Dec 30, 2021hebasto commented at 9:01 am on December 30, 2021: memberPlease rebase this on master.
Rebased.
MarcoFalke commented at 11:22 am on December 30, 2021: memberreview ACK ec7b7d4a36e6e7dfa708f64666f96cd97f83f6ddMarcoFalke merged this on Dec 30, 2021MarcoFalke closed this on Dec 30, 2021
hebasto deleted the branch on Dec 30, 2021sidhujag referenced this in commit ec6f6732af on Dec 30, 2021hebasto referenced this in commit d04f68d99c on Jan 3, 2022fanquake referenced this in commit db5f441408 on Jan 4, 2022sidhujag referenced this in commit b7a0fce7ed on Jan 4, 2022mzumsande referenced this in commit dc7c357417 on Jan 17, 2022rebroad referenced this in commit 6d2e0e299f on Feb 3, 2022PastaPastaPasta referenced this in commit 86c0067754 on Apr 7, 2022PastaPastaPasta referenced this in commit 015034a31d on Apr 11, 2022gades referenced this in commit 5031959363 on May 12, 2022janus referenced this in commit ac200f8eca on Jul 10, 2022DrahtBot locked this on Dec 30, 2022
github-metadata-mirror
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-12-18 15:12 UTC
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-12-18 15:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me