update wandbox workaround
git@8a9ab0b6981cd517687e6335b03f6fedd5120850
https://github.com/srz-zumix/iutest/commit/8a9ab0b6981cd517687e6335b03f6fedd5120850
@@ -24,6 +24,7 @@ | ||
24 | 24 | IUTEST_INCG_REGEX = re.compile(r'\s*#\s*define[/\s]*(INCG_IRIS_\S*)\s*') |
25 | 25 | |
26 | 26 | iutest_incg_list = [] |
27 | +workaround = True | |
27 | 28 | |
28 | 29 | # |
29 | 30 | # command line option |
@@ -328,9 +329,11 @@ | ||
328 | 329 | if options.cpp_verbose and ('cpp-verbose' not in opt): |
329 | 330 | opt.append('cpp-verbose') |
330 | 331 | # boost |
331 | - if options.compiler in ['clang-3.4', 'clang-3.3']: | |
332 | - if not options.boost: | |
333 | - options.boost = 'nothing' | |
332 | + if workaround: | |
333 | + pass | |
334 | +# if options.compiler in ['clang-3.4', 'clang-3.3']: | |
335 | +# if not options.boost: | |
336 | +# options.boost = 'nothing' | |
334 | 337 | if options.boost: |
335 | 338 | if options.compiler not in options.boost: |
336 | 339 | options.boost = options.boost + '-' + options.compiler |
@@ -355,13 +358,17 @@ | ||
355 | 358 | colist = [] |
356 | 359 | if options.compiler_option_raw: |
357 | 360 | colist = options.compiler_option_raw |
358 | -# if options.compiler in ['clang-3.4']: | |
359 | -# colist.append('-DIUTEST_HAS_HDR_CXXABI=0') | |
360 | - if options.compiler in ['clang-3.3', 'clang-3.2', 'clang-3.1', 'clang-3.0']: | |
361 | - colist.append('-Qunused-arguments') | |
362 | - if options.compiler in ['clang-3.4', 'clang-3.3']: | |
363 | - colist.append('-fno-exceptions') | |
364 | - colist.append('-fno-rtti') | |
361 | + if workaround: | |
362 | + pass | |
363 | + if options.compiler in ['clang-3.2']: | |
364 | + colist.append('-ftemplate-depth=1024') | |
365 | +# if options.compiler in ['clang-3.4']: | |
366 | +# colist.append('-DIUTEST_HAS_HDR_CXXABI=0') | |
367 | +# if options.compiler in ['clang-3.3', 'clang-3.2', 'clang-3.1', 'clang-3.0']: | |
368 | +# colist.append('-Qunused-arguments') | |
369 | +# if options.compiler in ['clang-3.4', 'clang-3.3']: | |
370 | +# colist.append('-fno-exceptions') | |
371 | +# colist.append('-fno-rtti') | |
365 | 372 | if len(colist) > 0: |
366 | 373 | co = '\n'.join(colist) |
367 | 374 | co = co.replace('\\n', '\n') |