Rather than translating all of pypy, I wrote a test and worked from there. The test showed no appreciable gain for gcc, as per comments I found around the web, and made the Makefile considerably uglier, so precompiled headers are now only used for the NMakefile target.
The ugliness comes from the fact that we have two groups of source files:
- the ones generated from the translation database
- those picked up in the source tree or generated by modules.
Creating two sets of rules for all compile targets quickly became a mess.
The nmake Makefile is ugly anyway, since nmake is very limited, so a few more rules did not asthetically bother anyone.

Now you have more time for cffi and PySide :)
Matti

On 10/02/2014 10:21 PM, Johan Råde wrote:
Hi Matti,

Two weeks ago I promised I would take care of orecompiled headers in two weeks.
That's now. But it seems you already did it.
I tested your code on Windows with MSVS, and it works well.
How much did you gain on Linux with GCC?

--Johan


On 2014-01-26 15:15, matti picus wrote:


If you wish, post the hacked Makefile to a pastebin and we can work
backwards from there.
I would be willing to help move this forward.
Matti


_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev


_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev

_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to