[mpich-devel] --enable-strict breaks build

Jeff Hammond jeff.science at gmail.com
Thu Dec 31 19:47:31 CST 2015


I guess --enable-strict is not used for testing MPICH anymore, because it
breaks the build.

See https://travis-ci.org/jeffhammond/mpich/jobs/99670451 and
https://travis-ci.org/jeffhammond/mpich/jobs/99670452 for examples with
Clang and GCC, respectively.

The fix is to make sure that pthread_yield is declared (
http://man7.org/linux/man-pages/man3/pthread_yield.3.html) in
src/opa/test/test_primitives.c.  This may be otherwise missed if "make
check" is not tested, because I did that with this build.

Anyways, I'll probably fix this in my OpenPA fork (
https://github.com/jeffhammond/OpenPA) and hope that you all accept my
patches in fifo order, starting with the C11 port :-)

Best,

Jeff

-- 
Jeff Hammond
jeff.science at gmail.com
http://jeffhammond.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/devel/attachments/20151231/4309e36f/attachment.html>


More information about the devel mailing list