summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2025-02-18 17:02:53 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2025-02-18 17:02:53 -0300
commit959575a5ca598bf5f37fb5cebe7ed1d80d3d71f7 (patch)
treeacc8d60aedb12b70048e676e8a7349deb0010db8 /SConstruct
parent76588293975fc059cf076779e4283e6ffaf8afff (diff)
New upstream version 6.0.20upstream
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct20
1 files changed, 0 insertions, 20 deletions
diff --git a/SConstruct b/SConstruct
index 1288667f97e..dbe1391c7d9 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1541,26 +1541,6 @@ if env.get('ENABLE_OOM_RETRY'):
else:
env['OOM_RETRY_ATTEMPTS'] = 10
env['OOM_RETRY_MAX_DELAY_SECONDS'] = 120
-
- if env.ToolchainIs('clang', 'gcc'):
- env['OOM_RETRY_MESSAGES'] = [
- ': out of memory',
- 'virtual memory exhausted: Cannot allocate memory',
- ': fatal error: Killed signal terminated program cc1',
- # TODO: SERVER-77322 remove this non memory related ICE.
- r'during IPA pass: cp.+g\+\+: internal compiler error',
- 'ld terminated with signal 9',
- ]
- elif env.ToolchainIs('msvc'):
- env['OOM_RETRY_MESSAGES'] = [
- 'LNK1102: out of memory',
- 'C1060: compiler is out of heap space',
- 'c1xx : fatal error C1063: INTERNAL COMPILER ERROR',
- r'LNK1171: unable to load mspdbcore\.dll',
- "LNK1201: error writing to program database ''",
- ]
- env['OOM_RETRY_RETURNCODES'] = [1102]
-
env.Tool('oom_auto_retry')
if env['TARGET_ARCH']: