[build] build seafile concurrently #748

Closed
Chilledheart opened this Issue Jul 23, 2014 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

Chilledheart commented Jul 23, 2014

Have you faced the situation where some kind of bus error or some strange error like this occurrs:

make[2]: Entering directory `/home/travis/build/Chilledheart/ccnet/net/daemon'
gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -DCCNET_DAEMON -I../../net/common -I../../include -I../../include/ccnet -I../../lib -I../../include -I../../lib -pthread -I/usr/local/include -I/usr/local/include/searpc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -g -O2 -MT rpc-service.o -MD -MP -MF .deps/rpc-service.Tpo -c -o rpc-service.o `test -f '../common/rpc-service.c' || echo './'`../common/rpc-service.c
In file included from ../common/rpc-service.c:41:0:
../../lib/searpc-marshal.h:1047:13: error: redefinition of ‘register_marshals’
../../lib/searpc-marshal.h:832:13: note: previous definition of ‘register_marshals’ was here
../../lib/searpc-marshal.h:832:13: warning: ‘register_marshals’ defined but not used [-Wunused-function]

You would probably execute make clean or git clean -xfd and ignore these annoying erros by just make -j1... until now.

PROGRESS

After these works get merged, you can use make -jN safely (N>1)

Contributor

Chilledheart commented Aug 7, 2014

All work ready for merge

Owner

lins05 commented Aug 10, 2014

I've merge them all. Now we can build libsearpc/ccnet/seafile with make -jN, cool!

@lins05 lins05 closed this Aug 10, 2014

Contributor

Chilledheart commented Aug 10, 2014

Great!
Thanks for your test work, @lins05 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment