Bruce Mitchener
b268e4ebfa
Remove jcache support.
...
This has been deprecated for a long time and does not work with
fastcomp. It is no longer supported to not use fastcomp, so these
code paths were all dead.
2015-04-07 10:06:43 +07:00
Alon Zakai
1ff2cd29e1
avoid copy in Cache.get if already in the right place
2014-10-30 16:13:54 -07:00
Alon Zakai
cc821ba9e5
move import in cache.py to avoid module interdependencies; fallout from 0f5135e436
breaking test_llvm_nativizer
2013-12-02 20:12:40 -05:00
Andreas Bergmeier
0f5135e436
Introduce safe_ensure_dirs as a safe os.makedirs replacement.
...
It only uses os.makedirs call, which is more atomic than calling 2 procs. Thus exception due to already existent directory should not longer occur.
2013-12-01 19:56:38 +01:00
Andreas Bergmeier
255cb2c177
Prevent Cache.ensure from throwing an error, while the directory already exists.
2013-11-26 18:29:01 +01:00
Chad Austin
d641184152
Fix a race condition if two emscripten.py instances run at the same time
2013-05-17 13:03:57 -07:00
Vladimir Vukicevic
a094e001ca
Fix debug prints in tools/cache.py
2013-03-07 14:09:40 -05:00
Alon Zakai
d62f6481b4
fix cache clear time saving
2013-03-05 10:46:31 -08:00
Alon Zakai
09868ed911
restore jcache debugging, busted by pull #826
2013-03-05 10:23:33 -08:00
Alon Zakai
46158be251
restore jcache compression, busted by pull #826
2013-03-05 10:18:14 -08:00
Alon Zakai
ce09c38644
restore cache erase save times, busted by pull #826
2013-03-05 10:13:06 -08:00
Chad Austin
c1c88e7185
Rebasing broke a lot of things (I had to fix about 12 conflicts) so now the sanity tests pass again.
2013-03-04 19:50:42 -08:00
Chad Austin
cc0d959ebe
fix some test failures
2013-03-04 19:35:18 -08:00
Chad Austin
4bde971a1f
Isolate shutil.rmtree logic in tempfiles.try_delete, and integrate azakai's feedback
2013-03-04 19:34:54 -08:00
Chad Austin
c919d824ac
Split Cache and JCache into objects and move them into cache.py so they can be loaded without shared.py
2013-03-04 19:31:47 -08:00