[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Parallel problem
From: |
Cook, Malcolm |
Subject: |
RE: Parallel problem |
Date: |
Tue, 12 Jan 2021 04:03:25 +0000 |
After a quick squiz at your makefile I’m guessing line 42 should not read
-o bin/M2-Planet
But rather
-o M2-Planet
Or even better:
-o $@
No?
Similar changes for line 67 are probably in order
From: Help-make <help-make-bounces+mec=stowers.org@gnu.org> On Behalf Of
jeremiah@pdp10.guru
Sent: Monday, January 11, 2021 17:36
To: help-make@gnu.org
Subject: Parallel problem
ATTENTION: This email came from an external source. Do not open attachments or
click on links from unknown senders or unexpected emails.
Hello I have a problem with parallel tests being run with make -j 42
with the following makefile:
https://notabug.org/deesix/M2-Planet/src/RELEASE_CANDIDATE-parallel_testing/makefile
The problem is that although none of the tests actually write to the
same files, they all depend on the program to built first but make seems
to cause GCC to try to compile the program they all depend upon more
than once at the same time and breaks with the error message:
> In file included from <command-line>:
> /usr/include/stdc-predef.h:1: fatal error: can’t create precompiled
> header bin/M2-Planet: No such file or directory
> /* Copyright (C) 1991-2018 Free Software Foundation, Inc.
>
> compilation terminated.
> In file included from <command-line>:
> /usr/include/stdc-predef.h:1: fatal error: can’t create precompiled
> header bin/M2-Planet: No such file or directory
> /* Copyright (C) 1991-2018 Free Software Foundation, Inc.
>
> compilation terminated.
This occurs only when I do:
make clean test -j42
but never when I do:
make clean M2-Planet test -j42
What can I do to ensure that make only tries to build M2-Planet once
before running the tests?
-Jeremiah
- Parallel problem, jeremiah, 2021/01/11
- RE: Parallel problem,
Cook, Malcolm <=
- Re: Parallel problem, jeremiah, 2021/01/12
- Re: Parallel problem, Paul Smith, 2021/01/12
- Re: Parallel problem, Tomas Nordin, 2021/01/12
- Re: Parallel problem, Paul Smith, 2021/01/12
- RE: Parallel problem, Cook, Malcolm, 2021/01/12
- Re: Parallel problem, Paul Smith, 2021/01/12