Skip to content

Commit 3c8e050

Browse files
Debug linux-ppc64le CI workflow
1 parent 8ab8067 commit 3c8e050

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/threadstest.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,13 @@ static void writer_fn(int id, int *iterations)
350350
break;
351351
} else
352352
#endif
353+
#ifdef __powerpc64__
354+
extern unsigned int OPENSSL_ppccap_P;
355+
if (contention != 0 && OPENSSL_ppccap_P == 0xbe) {
356+
if ((ossl_time2seconds(t2) - ossl_time2seconds(t1)) >= 4000)
357+
break;
358+
} else
359+
#endif
353360
if ((ossl_time2seconds(t2) - ossl_time2seconds(t1)) >= 4)
354361
break;
355362
}

0 commit comments

Comments
 (0)