On 01/13/2017 10:21 AM, Mark Rivers wrote:
> I am seeing frequent errors when building seq 2.2.4 on Linux with
> parallel make. This is with base 3.15.5 on a 20-core machine.
>
> Sometimes it works:
>
> corvette:~/support/seq-2-2-4>make -sj clean.linux-x86
> corvette:~/support/seq-2-2-4>make -sj install.linux-x86
> 2 parsing conflicts.
>
> But often it fails:
>
> corvette:~/support/seq-2-2-4>make -sj clean.linux-x86
> corvette:~/support/seq-2-2-4>make -sj install.linux-x86
> ../var_types.c:17:17: fatal error: snl.h: No such file or directory
> #include "snl.h"
> ^
> compilation terminated.
> 2 parsing conflicts.
>
> Running make a second time seems to always allow the build to complete.
There's a dependency rule missing from the src/Makefile, but the rule
gets created in the var_types.d file which is included in subsequent
built attempts. Ben does have some rules in that Makefile and he's
trying to support the different dependency rules in 3.14 vs 3.15, but I
suspect GNUmake on a 20-core box is more cunning than the current rules are.
In Ben's defence it isn't easy to write Makefile rules where a single
command generates more than one file, as seems to be the case with lemon.
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- Replies:
- Re: Problem with parallel make with seq 2.2.4 on Linux Ben Franksen
- References:
- Problem with parallel make with seq 2.2.4 on Linux Mark Rivers
- Navigate by Date:
- Prev:
Re: Problems with seq 2.2.4 on Windows Andrew Johnson
- Next:
StreamDevice 2.7.7 won't build with Visual Studio 2010 Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Problem with parallel make with seq 2.2.4 on Linux Mark Rivers
- Next:
Re: Problem with parallel make with seq 2.2.4 on Linux Ben Franksen
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
<2017>
2018
2019
2020
2021
2022
2023
2024
|