• R/O
  • SSH
  • HTTPS

iutest: Commit


Commit MetaInfo

Revision1228 (tree)
Time2017-02-01 07:44:06
Authorsrz_zumix

Log Message

update wandbox workaround

git@8a9ab0b6981cd517687e6335b03f6fedd5120850
https://github.com/srz-zumix/iutest/commit/8a9ab0b6981cd517687e6335b03f6fedd5120850

Change Summary

Incremental Difference

--- trunk/tools/wandbox/iuwandbox.py (revision 1227)
+++ trunk/tools/wandbox/iuwandbox.py (revision 1228)
@@ -24,6 +24,7 @@
2424 IUTEST_INCG_REGEX = re.compile(r'\s*#\s*define[/\s]*(INCG_IRIS_\S*)\s*')
2525
2626 iutest_incg_list = []
27+workaround = True
2728
2829 #
2930 # command line option
@@ -328,9 +329,11 @@
328329 if options.cpp_verbose and ('cpp-verbose' not in opt):
329330 opt.append('cpp-verbose')
330331 # 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'
334337 if options.boost:
335338 if options.compiler not in options.boost:
336339 options.boost = options.boost + '-' + options.compiler
@@ -355,13 +358,17 @@
355358 colist = []
356359 if options.compiler_option_raw:
357360 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')
365372 if len(colist) > 0:
366373 co = '\n'.join(colist)
367374 co = co.replace('\\n', '\n')
Show on old repository browser