pypy
This commit is contained in:
parent
b2a502fc72
commit
7a46e7526e
1 changed files with 27 additions and 23 deletions
|
@ -12,14 +12,18 @@ derle() {
|
||||||
|
|
||||||
cd pypy2-v${surum}-src/pypy/goal
|
cd pypy2-v${surum}-src/pypy/goal
|
||||||
|
|
||||||
python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone
|
python2 ../../rpython/bin/rpython -Ojit --shared targetpypystandalone || cd /tmp/usession-release-pypy2.7-v${surum}-0/testing_1/ && make -j2
|
||||||
|
cd pypy2-v${surum}-src/pypy/goal
|
||||||
|
cp /tmp/usession-release-pypy2.7-v${surum}-0/testing_1/pypy-c .
|
||||||
|
cp /tmp/usession-release-pypy2.7-v${surum}-0/testing_1/libpypy-c.so .
|
||||||
# Compile binary modules
|
# Compile binary modules
|
||||||
PYTHONPATH=../.. ./pypy-c ../tool/build_cffi_imports.py
|
PYTHONPATH=../.. ./pypy-c ../tool/build_cffi_imports.py
|
||||||
|
|
||||||
cd pypy2-v${surum}-src
|
cd $SRC/pypy2-v${surum}-src
|
||||||
|
|
||||||
# Prepare installation
|
# Prepare installation
|
||||||
|
sed -i -e 's/\'--owner=root'\>//g' pypy/tool/release/package.py
|
||||||
|
sed -i -e 's/\'--group=root'\>//g' pypy/tool/release/package.py
|
||||||
python2 pypy/tool/release/package.py --archive-name pypy --targetdir .
|
python2 pypy/tool/release/package.py --archive-name pypy --targetdir .
|
||||||
mkdir unpacked
|
mkdir unpacked
|
||||||
tar xf pypy.tar.bz2 -C unpacked
|
tar xf pypy.tar.bz2 -C unpacked
|
||||||
|
|
Loading…
Add table
Reference in a new issue