transforms/python-3-soabi
author Vladimir Marek <Vladimir.Marek@oracle.com>
Tue, 19 Jul 2016 15:32:04 +0200
branchs11u3-sru
changeset 6459 535eb53d63d5
parent 3783 9edbfb2ff34a
child 4912 0b79e9575718
permissions -rw-r--r--
23856628 problem in UTILITY/PERL
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3783
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
# Python 2's ABI for .so files is to simply append ".so".  But for Python
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
# 3, it appends ".cpython-3#[d][m][u].so", where # is the minor version,
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
# "d" is added if built --with-pydebug (we don't), "m" is added if built
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
# --with-pymalloc (we do) and "u" is added if built --with-wide-unicode
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
# (we don't).  See http://legacy.python.org/dev/peps/pep-3149/ for details.
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
<transform file -> edit path \
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
    (usr/lib/python3.)([0-9])(/vendor-packages/(.*/)?64/.*)\.so \
9edbfb2ff34a 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
    \\1\\2\\3.cpython-3\\2m.so >