| 1 | #!/bin/sh |
| 2 | set -eufx |
| 3 | |
| 4 | # Writes output to a directory recorded in pybuilddir.txt |
| 5 | pypy/goal/pypy3.11-c -m sysconfig --generate-posix-vars \ |
| 6 | HOST_GNU_TYPE ${DEB_HOST_GNU_TYPE} \ |
| 7 | WHEEL_PKG_DIR /usr/share/python-wheels/ \ |
| 8 | CONFINCLUDEPY /usr/include/pypy3.11 \ |
| 9 | INCLUDEPY /usr/include/pypy3.11 \ |
| 10 | LIBDIR /usr/lib/${DEB_HOST_MULTIARCH} \ |
| 11 | TZPATH /usr/share/zoneinfo:/usr/lib/zoneinfo:/usr/share/lib/zoneinfo:/etc/zoneinfo |
| 12 | |
| 13 | builddir=$(cat pybuilddir.txt) |
| 14 | if grep reproducible-path $builddir/_sysconfigdata__${DEB_HOST_MULTIARCH}.py; then |
| 15 | echo "Build path found in _sysconfigdata" |
| 16 | exit 1 |
| 17 | fi |
| 18 | mv $builddir/_sysconfigdata__${DEB_HOST_MULTIARCH}.py lib_pypy/ |