Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 11:58:52 +0100
From:      "Luca Presotto" <Luca.Presotto@cern.ch>
To:        <marcin.koziuk@planet.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Tuning make.conf
Message-ID:  <9A6A62B6B84859469F3EBB5F09D818CA219E98@cernxchg50.cern.ch>
References:  <Pine.LNX.4.58.0803130937530.5944@lxplus098.cern.ch> <47D9004D.5070407@planet.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
>You're *really* wasting your time.=20
I supposed that!


>Your system is doing no cpu cycles at all for most of=20
>the time anyway. [cut]Also, makeopts and -pipe just make _compiling_ =
faster, not the=20
>applications themselves!!!.

I agree with everything. In any case I think that a faster compiling =
will really be a good thing.
I have been reading another time the man of make.conf and I still have =
some doubts.
Neither in the example either in the man page there is any reference to =
"MAKEOPTS". Changing from -j1 to -j3 would really be a huge difference!=20

To be able to set this is very important.=20
Then I don't want an ultra tweaked make.conf like gentooers do. Just a =
reasonable one.=20
(And you have convinced me, I won't recompile everything. Just to have a =
good compiling when I will be upgrading)

I have some doubts about the correct syntax, the man is ambiguous in =
this point.
If I write CPUTYPE=3D core2 will it automatically sets all the best safe =
CFLAGS for my core or just set the -march=3Dcore2
Should my make.conf be  like:
MAKEOPTS=3D=3D-j3
CPUTYPE=3Dcore2
CFLAGS=3D --O2 -pipe -fno-strict-aliasing

or just:
MAKEOPTS=3D=3D-j3
CPUTYPE=3Dcore2

or maybe:

MAKEOPTS=3D=3D-j3
CPUTYPE=3Dcore2
CFLAGS+=3D --O2 -pipe -fno-strict-aliasing

>Please take a look at the following pages, they have a lot more=20
>information about this matter ;)
>http://funroll-loops.info/
>http://bugs.gentoo.org/show_bug.cgi?id=3D74072

Actually that's really funny!! I think that's why there are so many =
pages about gentoo and almost none about other OSes.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9A6A62B6B84859469F3EBB5F09D818CA219E98>