transforms/python-3-soabi
author Yiteng Zhang <yiteng.zhang@oracle.com>
Wed, 26 Oct 2016 15:44:32 -0700
branchs11u3-sru
changeset 7164 b2abbab8e6d5
parent 3783 9edbfb2ff34a
child 4912 0b79e9575718
permissions -rw-r--r--
23094058 Upgrade libssh2 to 1.7.0 23133372 problem in LIBRARY/LIBSSH2 23133401 problem in LIBRARY/LIBSSH2
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 >