<div dir="ltr"><div dir="ltr">On Tue, Apr 28, 2020 at 10:23 AM Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">And I see:<br>
<br>
$ git branch -r<br>
  origin/HEAD -> origin/master<br>
  origin/maint-1.3<br>
  origin/master<br>
<br>
master has triangle-1.6 changes. However petsc is installing and using triangle-1.3 i.e maint.<br>
<br>
Matt - any idea why this discrepancy?<br></blockquote><div><br></div><div>I have no idea. It should not be doing that.</div><div><br></div><div>That change looks fine to me.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Satish<br>
<br>
On Tue, 28 Apr 2020, Satish Balay via petsc-dev wrote:<br>
<br>
> I get the following error with triangle+spai build with gcc-10 [this is on linux though - ignore osx in PETSC_ARCH]<br>
> <br>
>      CLINKER arch-ci-osx-cxx-pkgs-opt/lib/libpetsc.so.3.13.0<br>
> /usr/bin/ld: /home/balay/petsc/arch-ci-osx-cxx-pkgs-opt/lib/libtriangle.a(triangle.o):/home/balay/petsc/arch-ci-osx-cxx-pkgs-opt/externalpackages/Triangle/src/triangle.c:667: multiple definition of `epsilon'; /home/balay/petsc/arch-ci-osx-cxx-pkgs-opt/lib/libspai.a(spai.o):(.bss+0x188): first defined here<br>
> <br>
> <br>
> Matt,<br>
> <br>
> Any objection to this change to triangle?<br>
> <br>
> diff --git a/src/triangle.c b/src/triangle.c<br>
> index 8e915a1..76f6d84 100644<br>
> --- a/src/triangle.c<br>
> +++ b/src/triangle.c<br>
> @@ -664,7 +664,7 @@ long samples;                /* Number of random samples for point location. */<br>
>  unsigned long randomseed;                     /* Current random number seed. */<br>
>  <br>
>  REAL splitter;       /* Used to split REAL factors for exact multiplication. */<br>
> -REAL epsilon;                             /* Floating-point machine epsilon. */<br>
> +static REAL epsilon;                      /* Floating-point machine epsilon. */<br>
>  REAL resulterrbound;<br>
>  REAL ccwerrboundA, ccwerrboundB, ccwerrboundC;<br>
>  REAL iccerrboundA, iccerrboundB, iccerrboundC;<br>
> <br>
> Satish<br>
> <br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>