Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 4556] sorcery wrapper scripts for distcc/ccache cause errors and can be replaced

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 4556] sorcery wrapper scripts for distcc/ccache cause errors and can be replaced
  • Date: Mon, 3 Nov 2003 17:20:01 -0500

http://bugs.sourcemage.org/show_bug.cgi?id=4556





------- Additional Comments From games AT sourcemage.org 2003-11-03 23:18
-------
thinking about this still, I believe instead of having distcc and ccache add
their paths to /etc/profile (but still have them installed into
/usr/lib/$SPELL)
it would be possible to use the original run_compiler script to actually add
the
paths at runtime depending on whether or not distcc or ccache should be used.
that way for single make jobs on the localhost you don't suffer the slight
overhead of calling gcc through distcc and there is no need to turn off ccache
as it would only be turned on when wanted. distcc and ccache would not be
available to ordinary users/root unless the paths /usr/lib/$SPELL were added
to
PATH but the current way needs manual setting of CC="ccache distcc" if sorcery
isn't controlling the compile.
This also corrects the recursion errors found by some configure scripts, but
reduces overheads for non distcc or single make spells
I still want to control the .ccache dir for caching results (so my cluster can
hopefully share the cache, not sure if nfs or oMFS is going to be better, I
need
to resize some partitions to be able to setup a larg workspace for this) so I
still plan on making a sorcery menu option an adding that var to the
runcompiler
script.
Any thoughts about this ?
I have noticed no-one has commented on this yet ?
Has no-one tried it or tried and found it works so not commented ?
hallo ?...



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page