24 Mar
2002
24 Mar
'02
22:37
Do you mean something like "rpm --rebuild --target=$(uname -m) python.src.rpm" ? söndagen den 24 mars 2002 18.43 skrev rob:
I benchmarked Python on SuSE 8.2 as I normally do with a new OS on my laptop. My somnec.py routine runs at 450sec on 8.2, vs. 300 sec on FreeBSD, vs. 250 sec on Windows. I have a 1Ghz P4 on a Vaio FX290. Somnec is a routine which mainly eats up cpu time doing variable width Romberg integration.
I am wondering if there is a way to compile Python from SRPM and then give it compiler flags like -O2 -march=pentiumpro? I've never done that before so maybe I will RTFM :)
On FreeBSD I just put make.conf into /etc. Is there an equivalent for Linux? Thanks, Rob.