[petsc-dev] Dependence of build on test target broken
Balay, Satish
balay at mcs.anl.gov
Thu Jul 11 14:47:19 CDT 2019
On Thu, 11 Jul 2019, Balay, Satish via petsc-dev wrote:
> On Thu, 11 Jul 2019, Matthew Knepley via petsc-dev wrote:
>
> > After my latest pull of master, making the 'test' target no longer rebuilds
> > the library. I have tested this on a few arches, and rebuilt. This is
> > pretty inconvenient, but I do not know how to fix it.
>
>
> git bisect gives the following.
>
> Satish
>
> -----
>
> 27d73d1f0a5c445a3a02971e31a2a1a02ed6d224 is the first bad commit
> commit 27d73d1f0a5c445a3a02971e31a2a1a02ed6d224
> Author: Barry Smith <bsmith at mcs.anl.gov>
> Date: Sat Jun 22 22:56:05 2019 -0500
>
> Fix the error from gmakefile.test test about trying to remove a non-empty directory
>
> The problem was the target to rm -r the directory was running at the same time as
> tests tests where generatering new files in the directory
>
> Commit-type: bug-fix
>
> :100644 100644 67a00e0c1c9ce3eb91a88f314e81a74ac278131f 9c0c1b310a238fc27df3af114ec96336ef5640d2 M gmakefile.test
specifically the following change (with recursive make) likely broke the dependencies..
>>>>>>>>>>>>>
-test: pre-clean report_tests
+test:
+ +@${OMAKE} -f gmakefile.test pre-clean
+ +@${OMAKE} -f gmakefile.test report_tests
<<<<<<<<<<<
Satish
More information about the petsc-dev
mailing list