Mercurial > hgrepos > FreeBSD > ports > PyPy
comparison lang/pypy2/README @ 199:8b567a874360
Upgrade to PyPy v7.3.19.
BUGS:
- pypy311 not yet supported.
- pypy39 not yet deleted.
- Tests for pypy3 not yet runnable.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 12 Mar 2025 13:45:29 +0100 |
| parents | 9e9df3f25e7d |
| children | fccf5077df78 |
comparison
equal
deleted
inserted
replaced
| 198:c43bcad6c935 | 199:8b567a874360 |
|---|---|
| 156 Header :file:`termios.h` ist aber unter FreeBSD nicht automatisch beim | 156 Header :file:`termios.h` ist aber unter FreeBSD nicht automatisch beim |
| 157 Compilieren mit dabei. | 157 Compilieren mit dabei. |
| 158 | 158 |
| 159 Deswegen in :file:`rpython/rlib/rposix.py` den Header :file:`termios.h` | 159 Deswegen in :file:`rpython/rlib/rposix.py` den Header :file:`termios.h` |
| 160 in die Platform-Konfigurations-Includes mit aufnehmen unter FreeBSD. | 160 in die Platform-Konfigurations-Includes mit aufnehmen unter FreeBSD. |
| 161 | |
| 162 | |
| 163 Build von PyPy v7.3.19 auf FreeBSD-14.1 | |
| 164 ======================================= | |
| 165 | |
| 166 Voraussetzungen | |
| 167 --------------- | |
| 168 | |
| 169 py-pycparser | |
| 170 ~~~~~~~~~~~~ | |
| 171 | |
| 172 ACHTUNG: Ports-Tree auf alten Zeitpunkt stellen: | |
| 173 "hg update -r 377386a46a6b" (as-of 2021-01-08) | |
| 174 | |
| 175 Build py27-pycparser (Origin: devel/py-pycparser): | |
| 176 | |
| 177 Dessen Voraussetzung ist py27-setuptools. | |
| 178 | |
| 179 Entweder: | |
| 180 | |
| 181 pkg install py27-setuptools44 | |
| 182 | |
| 183 pkg set -n py27-setuptools44:py27-setuptools | |
| 184 | |
| 185 Oder: | |
| 186 | |
| 187 Für dem Bau von py-pycparser Mk/Uses/distutils patchen, so daß als | |
| 188 dessen Dependency py27-setuptools44 statt py27-setuptools benutzt wird. | |
| 189 | |
| 190 Dann: | |
| 191 | |
| 192 cd devel/py-pycparser | |
| 193 make FLAVOR=py27 package | |
| 194 | |
| 195 Install this package: pkg install py27-pycparser | |
| 196 | |
| 197 Ports-Umgebung wieder restaurieren | |
| 198 | |
| 199 | |
| 200 Weitere Pakete | |
| 201 ~~~~~~~~~~~~~~ | |
| 202 | |
| 203 Install gmake, binutils, expat, libffi, libunwind, pkgconf | |
| 204 | |
| 205 NOTE: libz ist bereits im Basis-OS dabei. | |
| 206 | |
| 207 | |
| 208 PyPy2 | |
| 209 ----- | |
| 210 | |
| 211 In der aktuellen Version wird ein Linken mit "libffi.a" bevorzugt for dem | |
| 212 Linken mit "libffi.so". Das ist aber nicht möglich, da "libffi.a" nicht mit | |
| 213 "-fPIC" übersetzt ist, das aber nötig ist. Deswegen "rpython/rlib/clibffi.py" | |
| 214 entsprechend patchen, daß dafür wieder "libffi.so" bevorzugt wird. | |
| 215 | |
| 216 Mit Python2.7 übersetzen: | |
| 217 | |
| 218 make rmconfig | |
| 219 make package | |
| 220 | |
| 221 Installation -- auch aller optionalen Pakete pypy2-sqlite3, pypy3-gdbm und | |
| 222 pypy2-tkinter | |
| 223 | |
| 224 Test mit | |
| 225 | |
| 226 make test |
