提交 beb7cce4 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

Added FAST_RUN_NOGC as one of possible modes. Reason : if an error occurs in

PROFILE_MODE a suggestion message says you should compile the function in a different mode like for e.g. FAST_RUN_NOGC. When you try to compile in this mode, you get an error saying there is no such mode .. though there actually is.
上级 2ba9c67b
...@@ -48,7 +48,8 @@ AddConfigVar('force_device', ...@@ -48,7 +48,8 @@ AddConfigVar('force_device',
#The old all capital letter way of working is deprecated as it is not scalable. #The old all capital letter way of working is deprecated as it is not scalable.
AddConfigVar('mode', AddConfigVar('mode',
"Default compilation mode", "Default compilation mode",
EnumStr('Mode', 'ProfileMode', 'DebugMode', 'FAST_RUN', 'FAST_COMPILE', 'PROFILE_MODE', 'DEBUG_MODE')) EnumStr('Mode', 'ProfileMode', 'DebugMode', 'FAST_RUN',
'FAST_RUN_NOGC', 'FAST_COMPILE', 'PROFILE_MODE', 'DEBUG_MODE'))
# Test whether or not gcc is present: disable C code if it is not # Test whether or not gcc is present: disable C code if it is not
try: try:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论