Hi all,
after a long time passed i am now trying to compile Blender with the intel compiler under linux.
Everything is fine up to now. Blender already compiled with gcc using scons and the intel compiler is ready as well.
Now where can i specify within the scons files, that i want to use gcc for this file and icc for that file, probably alternating.
Is this possible? Or can i only compile the hole project with or without the intel compiler?
Thanx for your help
replacing gcc with icc
Moderators: jesterKing, stiv
-
- Site Admin
- Posts: 207
- Joined: Fri Oct 18, 2002 12:48 pm
- Location: Finland
Re: replacing gcc with icc
The best place to change this is after a successful run with gcc, modify config.opts which gets created upon first run. CC and CXX are the ones you need to modify - and to be on the safe side, do also the related HOST- and TARGET- options.Antares wrote:Now where can i specify within the scons files, that i want to use gcc for this file and icc for that file, probably alternating.
Is this possible? Or can i only compile the hole project with or without the intel compiler?
/Nathan
If done properly icc should giva another 10% speedup over gcc.
There's an intel document about this issue (which i cannot find right now).
my windows builds work well on AMD, because the intel compiler is doing basic optimsation and isupported instruction based ones. AMD also got SSE so they benefit from icc as well.
i doubt i have the skills to beat gcc, but neverterless i'll try it ^^
There's an intel document about this issue (which i cannot find right now).
my windows builds work well on AMD, because the intel compiler is doing basic optimsation and isupported instruction based ones. AMD also got SSE so they benefit from icc as well.
i doubt i have the skills to beat gcc, but neverterless i'll try it ^^