#6 Declined
Repository
Deleted repository
Branch
default (73e54859b4d9)
Repository
pypy/pypy pypy
Branch
default

Some fixes for FreeBSD translation

Author
  1. Gabriel Lavoie avatarGabriel Lavoie
Reviewers
Description

- Use FreeBSD's platform configuration to find expat.h and libexpat.so. - Retrieve available system memory for translation process.

Comments (10)

    1. Antonio Cuni

      I think that .ctc.py files are automatically generated by ctypes_configure whenever you modify the corresponding .py file. So, it should be ok to checkin diff to those, as long as they were not done manually.

  1. Armin Rigo

    Checked in the last two files. About pyexpat.ctc.py: the problem is really that it imports "pypy.*". It is not allowed to... I would rather say that it should be fixed in ctypes_configure, to automatically add $LOCALBASE/{include,lib} to the search path too.

    1. Gabriel Lavoie author

      In ctypes_configure.configure.ExternalCompilationInfo, paths were hardcoded to include DarwinPorts/(some other MacOS ports tool) paths (/opt/local). I guess such hardoding will also be necessary for FreeBSD (/usr/local). Or maybe /usr/local/{include, lib} should always be included for searching?

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.