This commit is contained in:
Alon Zakai 2013-05-03 10:33:55 -07:00
Родитель d6a6004ff3
Коммит ac2e339f7c
2 изменённых файлов: 4 добавлений и 4 удалений

4
emcc
Просмотреть файл

@ -112,7 +112,7 @@ EMCC_CFLAGS = os.environ.get('EMCC_CFLAGS') # Additional compiler flags that we
logging.debug('invocation: ' + ' '.join(sys.argv) + (' + ' + EMCC_CFLAGS if EMCC_CFLAGS else ''))
if EMCC_CFLAGS: sys.argv.append(EMCC_CFLAGS)
if DEBUG and LEAVE_INPUTS_RAW: logging.error('leaving inputs raw')
if DEBUG and LEAVE_INPUTS_RAW: logging.warning('leaving inputs raw')
stdout = PIPE if not DEBUG else None # suppress output of child processes
stderr = PIPE if not DEBUG else None # unless we are in DEBUG mode
@ -854,7 +854,7 @@ try:
newargs[i] = ''
elif newargs[i] == '--clear-cache':
newargs[i] = ''
logging.info('clearing cache')
logging.warning('clearing cache')
shared.Cache.erase()
sys.exit(0)
elif newargs[i] == '--save-bc':

Просмотреть файл

@ -322,7 +322,7 @@ def check_sanity(force=False):
except Exception, e:
reason = 'unknown: ' + str(e)
if reason:
logging.info('(Emscripten: %s, clearing cache)' % reason)
logging.warning('(Emscripten: %s, clearing cache)' % reason)
Cache.erase()
# some warning, not fatal checks - do them even if EM_IGNORE_SANITY is on
@ -430,7 +430,7 @@ class Configuration:
try:
self.TEMP_DIR = TEMP_DIR
except NameError:
logging.info('TEMP_DIR not defined in ~/.emscripten, using /tmp')
logging.debug('TEMP_DIR not defined in ~/.emscripten, using /tmp')
self.TEMP_DIR = '/tmp'
self.CANONICAL_TEMP_DIR = os.path.join(self.TEMP_DIR, 'emscripten_temp')