blob: 78ebba8fb79e29ddd3f55d3f5767c26b6a12e1fd [file] [log] [blame]
Andrew Geissler32b11992021-03-31 13:37:05 -05001Lets use cached result for this otherwise runtime test, on qemuppc64
2when this test is run using gcc11, it returns 1, since we dont worry
3about older compilers here, we can cache the result and use it here
4
5Upstream-Status: Inappropriate [Cross-compile specific]
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7--- a/SConstruct
8+++ b/SConstruct
9@@ -3904,7 +3904,7 @@ def doConfigure(myenv):
10
11 conf.AddTest('CheckAltivecVbpermqOutput', CheckAltivecVbpermqOutput)
12
13- outputIndex = next((idx for idx in [0,1] if conf.CheckAltivecVbpermqOutput(idx)), None)
14+ outputIndex = 1
15 if outputIndex is not None:
16 conf.env.SetConfigHeaderDefine("MONGO_CONFIG_ALTIVEC_VEC_VBPERMQ_OUTPUT_INDEX", outputIndex)
17 else: