Hullo List,

I'm currently working in the sc/ module, and I'm in the "make small change, re-compile, make small change, re-compile" stage. This is proving very cumbersome, however, as I'm unable to re-make just the affected files. For instance, note my attached output, showing the output of

$ make -j1 | head; sleep; make -j1 | head

Should not at least the first 3 completed executions no longer need to be re-executed?

This is frustrating because it results in a latency of 5+ minutes on my slow 2-core machine before I can see the results of a code change.

Are there any pointers for me on how I can compile _just the exact_ piece of code on which I'm working (and affected other snippets, of course)?

Thanks,

Kevin
$ . Env.Host.sh

$ cd sc/

$ echo; make -j1 | head; echo -e "\n-----\nFinished 1st round\n-----"; sleep 
2s; make -j1 | head

[ build CXX ] sc/source/filter/dif/difexp
R=[...] && S=$R/libreoffice && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/sc/source/filter/dif/ 
$W/Dep/CxxObject/sc/source/filter/dif/ && ccache g++ -DCPPU_ENV=gcc3 
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/local/include/c++/4.6.1 
-DHAVE_GCC_VISIBILITY_FEATURE -DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG 
-DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DSUPD=350 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT    -Wall -Wendif-labels -Wextra -Wshadow -Wsign-promo 
-Woverloaded-virtual -Wno-non-virtual-dtor -fPIC -fmessage-length=0 -fno-common 
-pipe  -fvisibility=hidden  -fvisibility-inlines-hidden  -std=c++0x   
-DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -O2 -c 
$S/sc/source/filter/dif/difexp.cxx -o 
$W/CxxObject/sc/source/filter/dif/difexp.o -MMD -MT 
$W/CxxObject/sc/source/filter/dif/difexp.o -MP -MF 
$W/Dep/CxxObject/sc/source/filter/dif/difexp.d -I$S/sc/source/filter/dif/ 
-I$O/inc/stl -I$S/sc/source/core/inc -I$S/sc/source/filter/inc 
-I$S/sc/source/ui/inc -I$S/sc/inc -I$S/sc/inc/pch -I$W/Misc/sc/ 
-I$O/inc/external -I$O/inc -I$O/include -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I$W/oox/inc/ -I$O/inc  
-I$O/inc/offapi -I$O/inc/udkapi
touch 
/home/kevin/devel/libreoffice/workdir/unxlngx6.pro/Dep/CxxObject/sc/source/filter/dif/difexp.d
[ build CXX ] sc/source/filter/dif/difimp
R=[...] && S=$R/libreoffice && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/sc/source/filter/dif/ 
$W/Dep/CxxObject/sc/source/filter/dif/ && ccache g++ -DCPPU_ENV=gcc3 
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/local/include/c++/4.6.1 
-DHAVE_GCC_VISIBILITY_FEATURE -DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG 
-DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DSUPD=350 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT    -Wall -Wendif-labels -Wextra -Wshadow -Wsign-promo 
-Woverloaded-virtual -Wno-non-virtual-dtor -fPIC -fmessage-length=0 -fno-common 
-pipe  -fvisibility=hidden  -fvisibility-inlines-hidden  -std=c++0x   
-DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -O2 -c 
$S/sc/source/filter/dif/difimp.cxx -o 
$W/CxxObject/sc/source/filter/dif/difimp.o -MMD -MT 
$W/CxxObject/sc/source/filter/dif/difimp.o -MP -MF 
$W/Dep/CxxObject/sc/source/filter/dif/difimp.d -I$S/sc/source/filter/dif/ 
-I$O/inc/stl -I$S/sc/source/core/inc -I$S/sc/source/filter/inc 
-I$S/sc/source/ui/inc -I$S/sc/inc -I$S/sc/inc/pch -I$W/Misc/sc/ 
-I$O/inc/external -I$O/inc -I$O/include -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I$W/oox/inc/ -I$O/inc  
-I$O/inc/offapi -I$O/inc/udkapi
touch 
/home/kevin/devel/libreoffice/workdir/unxlngx6.pro/Dep/CxxObject/sc/source/filter/dif/difimp.d
[ build CXX ] sc/source/filter/excel/colrowst
R=[...] && S=$R/libreoffice && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/sc/source/filter/excel/ 
$W/Dep/CxxObject/sc/source/filter/excel/ && ccache g++ -DCPPU_ENV=gcc3 
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/local/include/c++/4.6.1 
-DHAVE_GCC_VISIBILITY_FEATURE -DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG 
-DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DSUPD=350 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT    -Wall -Wendif-labels -Wextra -Wshadow -Wsign-promo 
-Woverloaded-virtual -Wno-non-virtual-dtor -fPIC -fmessage-length=0 -fno-common 
-pipe  -fvisibility=hidden  -fvisibility-inlines-hidden  -std=c++0x   
-DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -O2 -c 
$S/sc/source/filter/excel/colrowst.cxx -o 
$W/CxxObject/sc/source/filter/excel/colrowst.o -MMD -MT 
$W/CxxObject/sc/source/filter/excel/colrowst.o -MP -MF 
$W/Dep/CxxObject/sc/source/filter/excel/colrowst.d -I$S/sc/source/filter/excel/ 
-I$O/inc/stl -I$S/sc/source/core/inc -I$S/sc/source/filter/inc 
-I$S/sc/source/ui/inc -I$S/sc/inc -I$S/sc/inc/pch -I$W/Misc/sc/ 
-I$O/inc/external -I$O/inc -I$O/include -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I$W/oox/inc/ -I$O/inc  
-I$O/inc/offapi -I$O/inc/udkapi
touch 
/home/kevin/devel/libreoffice/workdir/unxlngx6.pro/Dep/CxxObject/sc/source/filter/excel/colrowst.d
[ build CXX ] sc/source/filter/excel/excdoc
-----
Finished 1st round
-----
[ build CXX ] sc/source/filter/dif/difexp
R=[...] && S=$R/libreoffice && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/sc/source/filter/dif/ 
$W/Dep/CxxObject/sc/source/filter/dif/ && ccache g++ -DCPPU_ENV=gcc3 
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/local/include/c++/4.6.1 
-DHAVE_GCC_VISIBILITY_FEATURE -DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG 
-DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DSUPD=350 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT    -Wall -Wendif-labels -Wextra -Wshadow -Wsign-promo 
-Woverloaded-virtual -Wno-non-virtual-dtor -fPIC -fmessage-length=0 -fno-common 
-pipe  -fvisibility=hidden  -fvisibility-inlines-hidden  -std=c++0x   
-DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -O2 -c 
$S/sc/source/filter/dif/difexp.cxx -o 
$W/CxxObject/sc/source/filter/dif/difexp.o -MMD -MT 
$W/CxxObject/sc/source/filter/dif/difexp.o -MP -MF 
$W/Dep/CxxObject/sc/source/filter/dif/difexp.d -I$S/sc/source/filter/dif/ 
-I$O/inc/stl -I$S/sc/source/core/inc -I$S/sc/source/filter/inc 
-I$S/sc/source/ui/inc -I$S/sc/inc -I$S/sc/inc/pch -I$W/Misc/sc/ 
-I$O/inc/external -I$O/inc -I$O/include -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I$W/oox/inc/ -I$O/inc  
-I$O/inc/offapi -I$O/inc/udkapi
touch 
/home/kevin/devel/libreoffice/workdir/unxlngx6.pro/Dep/CxxObject/sc/source/filter/dif/difexp.d
[ build CXX ] sc/source/filter/dif/difimp
R=[...] && S=$R/libreoffice && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/sc/source/filter/dif/ 
$W/Dep/CxxObject/sc/source/filter/dif/ && ccache g++ -DCPPU_ENV=gcc3 
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/local/include/c++/4.6.1 
-DHAVE_GCC_VISIBILITY_FEATURE -DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG 
-DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DSUPD=350 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT    -Wall -Wendif-labels -Wextra -Wshadow -Wsign-promo 
-Woverloaded-virtual -Wno-non-virtual-dtor -fPIC -fmessage-length=0 -fno-common 
-pipe  -fvisibility=hidden  -fvisibility-inlines-hidden  -std=c++0x   
-DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -O2 -c 
$S/sc/source/filter/dif/difimp.cxx -o 
$W/CxxObject/sc/source/filter/dif/difimp.o -MMD -MT 
$W/CxxObject/sc/source/filter/dif/difimp.o -MP -MF 
$W/Dep/CxxObject/sc/source/filter/dif/difimp.d -I$S/sc/source/filter/dif/ 
-I$O/inc/stl -I$S/sc/source/core/inc -I$S/sc/source/filter/inc 
-I$S/sc/source/ui/inc -I$S/sc/inc -I$S/sc/inc/pch -I$W/Misc/sc/ 
-I$O/inc/external -I$O/inc -I$O/include -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I$W/oox/inc/ -I$O/inc  
-I$O/inc/offapi -I$O/inc/udkapi
touch 
/home/kevin/devel/libreoffice/workdir/unxlngx6.pro/Dep/CxxObject/sc/source/filter/dif/difimp.d
[ build CXX ] sc/source/filter/excel/colrowst
R=[...] && S=$R/libreoffice && O=$S/solver/unxlngx6.pro && 
W=$S/workdir/unxlngx6.pro &&  mkdir -p $W/CxxObject/sc/source/filter/excel/ 
$W/Dep/CxxObject/sc/source/filter/excel/ && ccache g++ -DCPPU_ENV=gcc3 
-DENABLE_GRAPHITE -DENABLE_GTK -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0 
-DGCC -DGXX_INCLUDE_PATH=/usr/local/include/c++/4.6.1 
-DHAVE_GCC_VISIBILITY_FEATURE -DHAVE_THREADSAFE_STATICS -DLINUX -DNDEBUG 
-DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPRODUCT -DSUPD=350 -DUNIX -DUNX -DVCL -DX86_64 
-D_PTHREADS -D_REENTRANT    -Wall -Wendif-labels -Wextra -Wshadow -Wsign-promo 
-Woverloaded-virtual -Wno-non-virtual-dtor -fPIC -fmessage-length=0 -fno-common 
-pipe  -fvisibility=hidden  -fvisibility-inlines-hidden  -std=c++0x   
-DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs  -O2 -c 
$S/sc/source/filter/excel/colrowst.cxx -o 
$W/CxxObject/sc/source/filter/excel/colrowst.o -MMD -MT 
$W/CxxObject/sc/source/filter/excel/colrowst.o -MP -MF 
$W/Dep/CxxObject/sc/source/filter/excel/colrowst.d -I$S/sc/source/filter/excel/ 
-I$O/inc/stl -I$S/sc/source/core/inc -I$S/sc/source/filter/inc 
-I$S/sc/source/ui/inc -I$S/sc/inc -I$S/sc/inc/pch -I$W/Misc/sc/ 
-I$O/inc/external -I$O/inc -I$O/include -I$S/solenv/unxlngx6/inc 
-I$S/solenv/inc -I$S/res -I$S/solenv/inc/Xp31 -I$W/oox/inc/ -I$O/inc  
-I$O/inc/offapi -I$O/inc/udkapi
touch 
/home/kevin/devel/libreoffice/workdir/unxlngx6.pro/Dep/CxxObject/sc/source/filter/excel/colrowst.d
[ build CXX ] sc/source/filter/excel/excdoc

$
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to