annotate clang/test/Index/lit.local.cfg @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 import platform
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 # Some tests perform deep recursion, which requires a larger pthread stack size
anatofuz
parents:
diff changeset
4 # than the relatively low default of 192 KiB for 64-bit processes on AIX. The
anatofuz
parents:
diff changeset
5 # `AIXTHREAD_STK` environment variable provides a non-intrusive way to request
anatofuz
parents:
diff changeset
6 # a larger pthread stack size for the tests. Various applications and runtime
anatofuz
parents:
diff changeset
7 # libraries on AIX use a default pthread stack size of 4 MiB, so we will use
anatofuz
parents:
diff changeset
8 # that as a default value here.
anatofuz
parents:
diff changeset
9 if 'AIXTHREAD_STK' in os.environ:
anatofuz
parents:
diff changeset
10 config.environment['AIXTHREAD_STK'] = os.environ['AIXTHREAD_STK']
anatofuz
parents:
diff changeset
11 elif platform.system() == 'AIX':
anatofuz
parents:
diff changeset
12 config.environment['AIXTHREAD_STK'] = '4194304'