mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 21:14:52 +00:00
pypy: 2.4 -> 2.5
This commit is contained in:
parent
955001a55b
commit
d75a91ef1e
@ -1,19 +0,0 @@
|
||||
--- a/rpython/translator/c/gcc/trackgcroot.py
|
||||
+++ b/rpython/translator/c/gcc/trackgcroot.py
|
||||
@@ -590,7 +590,7 @@
|
||||
|
||||
# The various cmov* operations
|
||||
for name in '''
|
||||
- e ne g ge l le a ae b be p np s ns o no
|
||||
+ e ne g ge l le a ae b be nb p np s ns o no
|
||||
'''.split():
|
||||
locals()['visit_cmov' + name] = binary_insn
|
||||
locals()['visit_cmov' + name + 'l'] = binary_insn
|
||||
@@ -837,6 +837,7 @@
|
||||
visit_jb = conditional_jump
|
||||
visit_jbe = conditional_jump
|
||||
visit_jp = conditional_jump
|
||||
+ visit_jnb = conditional_jump
|
||||
visit_jnp = conditional_jump
|
||||
visit_js = conditional_jump
|
||||
visit_jns = conditional_jump
|
@ -6,7 +6,7 @@ assert zlibSupport -> zlib != null;
|
||||
|
||||
let
|
||||
|
||||
majorVersion = "2.4";
|
||||
majorVersion = "2.5";
|
||||
version = "${majorVersion}.0";
|
||||
libPrefix = "pypy${majorVersion}";
|
||||
|
||||
@ -18,7 +18,7 @@ let
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/pypy/pypy/get/release-${version}.tar.bz2";
|
||||
sha256 = "1lhk86clnkj305dxa6xr9wjib6ckf6xxl6qj0bq20vqh80nfq3by";
|
||||
sha256 = "126zrsx6663n9w60018mii1z7cqb87iq9irnhp8z630mldallr4d";
|
||||
};
|
||||
|
||||
buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite tk tcl x11 libX11 makeWrapper ]
|
||||
@ -30,8 +30,6 @@ let
|
||||
LD_LIBRARY_PATH = stdenv.lib.concatStringsSep ":" (map (p: "${p}/lib")
|
||||
(stdenv.lib.filter (x : x.outPath != stdenv.cc.libc.outPath or "") buildInputs));
|
||||
|
||||
patches = [ ./fix-gcc-4-9-2.patch ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "-Ojit" "-Ojit --batch" \
|
@ -1,12 +1,12 @@
|
||||
addPythonPath() {
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/pypy2.4/site-packages
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/pypy2.5/site-packages
|
||||
}
|
||||
|
||||
toPythonPath() {
|
||||
local paths="$1"
|
||||
local result=
|
||||
for i in $paths; do
|
||||
p="$i/lib/pypy2.4/site-packages"
|
||||
p="$i/lib/pypy2.5/site-packages"
|
||||
result="${result}${result:+:}$p"
|
||||
done
|
||||
echo $result
|
@ -4339,7 +4339,7 @@ let
|
||||
python34 = hiPrio (callPackage ../development/interpreters/python/3.4 {
|
||||
self = python34;
|
||||
});
|
||||
pypy = callPackage ../development/interpreters/pypy/2.4 {
|
||||
pypy = callPackage ../development/interpreters/pypy {
|
||||
self = pypy;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user