diff options
| author | Alon Zakai <alonzakai@gmail.com> | 2012-11-11 10:18:20 -0800 | 
|---|---|---|
| committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-11 10:18:20 -0800 | 
| commit | 72e1ce8b4bfa082a72f154e4ca4a2f6ba504db5b (patch) | |
| tree | 78d1615e6d97457da4ef3147f1fc0e7c7c9f2250 /tools/shared.py | |
| parent | 3634b45c63e420910c77a631352ab257b8a6039f (diff) | |
use internal relooper sources
Diffstat (limited to 'tools/shared.py')
| -rw-r--r-- | tools/shared.py | 17 | 
1 files changed, 2 insertions, 15 deletions
diff --git a/tools/shared.py b/tools/shared.py index f3e34c85..b5fd671f 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -1032,19 +1032,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)''' % { 'winfix': '' if not WINDOWS e        print >> sys.stderr, '======================================='        print >> sys.stderr, 'bootstrapping relooper...'        Cache.ensure() -      RELOOPER_DIR = os.path.join(Cache.dirname, 'relooper') -      currdir = os.getcwd() -      if not os.path.exists(RELOOPER_DIR): -        # check out relooper -        os.chdir(os.path.dirname(RELOOPER_DIR)) -        print >> sys.stderr, '  checking out', os.getcwd() -        execute(['git', 'clone', 'git://github.com/kripken/Relooper.git', os.path.basename(RELOOPER_DIR)]) -        assert os.path.exists(RELOOPER_DIR) -      else: -        # update -        print >> sys.stderr, '  updating' -        os.chdir(RELOOPER_DIR) -        execute(['git', 'pull', '-u'], stdout=None if DEBUG else PIPE, stderr=None if DEBUG else PIPE) +      RELOOPER_DIR = path_from_root('src', 'relooper')        def make(opt_level):          raw = RELOOPER + '.raw.js' @@ -1067,9 +1055,8 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)''' % { 'winfix': '' if not WINDOWS e        print >> sys.stderr, '======================================='        ok = True      finally: -      os.chdir(currdir)        if not ok: -        print >> sys.stderr, 'bootstrapping relooper failed. You may need to manually create src/relooper.js, by checking out the Relooper project ( https://github.com/kripken/Relooper ) and building in the emscripten/ dir.' +        print >> sys.stderr, 'bootstrapping relooper failed. You may need to manually create src/relooper.js by compiling it, see src/relooper/emscripten'          1/0  # Permanent cache for dlmalloc and stdlibc++  | 
