Author: Alexander Hesse <[email protected]>
Branch: split-rpython
Changeset: r59822:02243944e04a
Date: 2013-01-06 20:02 +0100
http://bitbucket.org/pypy/pypy/changeset/02243944e04a/
Log: Moved pypy.tool.gcc_cache to rpython
diff --git a/rpython/rtyper/tool/rffi_platform.py
b/rpython/rtyper/tool/rffi_platform.py
--- a/rpython/rtyper/tool/rffi_platform.py
+++ b/rpython/rtyper/tool/rffi_platform.py
@@ -7,7 +7,7 @@
from rpython.rtyper.lltypesystem import lltype
from rpython.rtyper.lltypesystem import rffi
from rpython.rtyper.lltypesystem import llmemory
-from pypy.tool.gcc_cache import build_executable_cache, try_compile_cache
+from rpython.tool.gcc_cache import build_executable_cache, try_compile_cache
from rpython.translator.tool.cbuild import ExternalCompilationInfo
from rpython.translator.platform import CompilationError
from rpython.tool.udir import udir
diff --git a/rpython/rtyper/tool/rfficache.py b/rpython/rtyper/tool/rfficache.py
--- a/rpython/rtyper/tool/rfficache.py
+++ b/rpython/rtyper/tool/rfficache.py
@@ -8,7 +8,7 @@
from rpython.tool.udir import udir
from rpython.rlib import rarithmetic
from rpython.rtyper.lltypesystem import lltype
-from pypy.tool.gcc_cache import build_executable_cache
+from rpython.tool.gcc_cache import build_executable_cache
def ask_gcc(question, add_source="", ignore_errors=False):
from rpython.translator.platform import platform
diff --git a/pypy/tool/gcc_cache.py b/rpython/tool/gcc_cache.py
rename from pypy/tool/gcc_cache.py
rename to rpython/tool/gcc_cache.py
diff --git a/pypy/tool/test/test_gcc_cache.py
b/rpython/tool/test/test_gcc_cache.py
rename from pypy/tool/test/test_gcc_cache.py
rename to rpython/tool/test/test_gcc_cache.py
--- a/pypy/tool/test/test_gcc_cache.py
+++ b/rpython/tool/test/test_gcc_cache.py
@@ -1,5 +1,5 @@
import sys
-from pypy.tool.gcc_cache import *
+from rpython.tool.gcc_cache import *
from rpython.tool.udir import udir
import md5, cStringIO
from rpython.translator.tool.cbuild import ExternalCompilationInfo
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit