diff options
author | Kaleb KEITHLEY <kkeithle@f16node1.kkeithle.usersys.redhat.com> | 2011-12-01 12:44:38 -0500 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-12-01 23:19:32 -0800 |
commit | 430f76a6c1c9af06b433a9d6080168b92b30e034 (patch) | |
tree | 6134d8fc9e952bf1be89532dc182bdeb9cea9b10 /xlators | |
parent | f5d5e8012a3762d0ffb95a0ca624a3fce3c262cd (diff) |
bz 3826, fix for parallel make in fedora build system
builds of glusterfs in the fedora build system often fail due to a
race condition between running yacc and starting to compile the y.tab.c
produced by yacc
We found that the previous fix would still occasionally trip the race
condition. This revised patch changes the automake Makefile.am to generate
the parser files without incurring the race condition. An extra dimension
of the problem is that the tarball from
http://download.gluster.com/pub/gluster/glusterfs/3.2/3.2.5/glusterfs-3.2.5.tar.gz
contains files that you don't get when you clone from the git repo (e.g.
libgluster/src/{graph.lex.c,y.tab.c}, and all the Makefile.in files) so
build issues on fedora build systems do not manifest themselves on jenkins
and vice versa.
This works on jenkins, the fedora build system, and my f16 vm/guest
machines. (Finding the right combination that works on all three was an
exercise to say the least. I'm open to other suggestions for avoiding
the race condition.)
Run autogen.sh to (re)generate the Makefile.ins. Then run configure to
produce all Makefiles, followed by `make -j X` where X>1
see also https://bugzilla.redhat.com/show_bug.cgi?id=756510
BUG: 3826
Change-Id: Iaeecb59c61a77bf3927da18253c83cf5ffed4254
Reviewed-on: http://review.gluster.com/765
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions