|
|
|
|||||
|
Compiling Ice with distcc
Hi
Does any one know if I can compile ice with distcc and ccache? I'm compiling on a laptop and with out distcc or ccache it's very slow. Thanks
__________________
--------------------------------------------------------------------------- Orca robotics project http://orca-robotics.sourceforge.net/ --------------------------------------------------------------------------- Bailey Wu Australian Centre for Field Robotics http://www.cas.edu.au/content.php/266.html University of Sydney www.usyd.edu.au |
|
||||||
|
No problem,just use it! We have built our project(including Ice source) with ccache&distcc for a long time. If you want to use distcc , you'd better have the same compiler on each host.
__________________
Yunqiao Yin Baosteel real-time process control ICE中文论坛http://lingdoo.just.as 欢迎大家捧场 |
|
|||||
|
Quote:
Can I ask how you set things up for it to work?
__________________
--------------------------------------------------------------------------- Orca robotics project http://orca-robotics.sourceforge.net/ --------------------------------------------------------------------------- Bailey Wu Australian Centre for Field Robotics http://www.cas.edu.au/content.php/266.html University of Sydney www.usyd.edu.au |
|
||||||
|
Quote:
Code:
....
ifeq ($(CXX),c++)
CXX = ccache c++ #add this line
ifeq ($(MACHINE),sparc64)
#
# We are an ultra, at least, and so have the atomic instructions
#
USE_SPARC_ASM = yes
CXXARCHFLAGS = -mcpu=ultrasparc -pipe -Wno-deprecated -DUSE_SPARC_ASM
endif
....
Code:
CCACHE_PREFIX=distcc CCACHE_DIR=/path/to/cache/dir CCACHE_LOGFILE=/path/to/ccache/logfile DISTCC_HOSTS="host1 host2 host3 ..." CCACHE_NOLINK=1 make -j 10
__________________
Yunqiao Yin Baosteel real-time process control ICE中文论坛http://lingdoo.just.as 欢迎大家捧场 |
|
|||||
|
Quote:
__________________
--------------------------------------------------------------------------- Orca robotics project http://orca-robotics.sourceforge.net/ --------------------------------------------------------------------------- Bailey Wu Australian Centre for Field Robotics http://www.cas.edu.au/content.php/266.html University of Sydney www.usyd.edu.au |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compiling Ice-3 error | orphean | Help Center | 13 | 01-10-2006 07:04 AM |
| HELP compiling !! | akdess | Help Center | 1 | 04-07-2005 09:37 AM |
| Compiling Ice 1.2.0 on RH 9.0 | Jan_Holst | Help Center | 2 | 02-02-2004 12:38 PM |
| Compiling ICE 1.2.0 | catalin | Help Center | 7 | 01-16-2004 06:40 AM |
| Compiling ICE with VC 6.0 | jpm | Help Center | 2 | 05-30-2003 06:51 PM |