Committed to v1.3.

On Feb 10, 2012, at 2:30 PM, Paul H. Hargrove wrote:

> 
> 
> On 2/10/2012 11:19 AM, Jeff Squyres wrote:
>> I'll go compare.
> 
> I already did...
> 
> 
> HWLOC (1.3.2rc1) tries:
>            AC_LINK_IFELSE([AC_LANG_PROGRAM([[
>                __attribute__((visibility("default"))) int foo;
>                ]],[[int i;]])],
>                [],
>                [hwloc_add=])
> 
> While OMPI (1.4.5rc5) tries:
>            AC_TRY_LINK([
>                    #include <stdio.h>
>                    __attribute__((visibility("default"))) int foo;
>                    void bar(void) { fprintf(stderr, "bar\n"); };
>                    ],[],
>                    [if test -s conftest.err ; then
>                        $GREP -iq "visibility" conftest.err
>                        if test "$?" = "0" ; then
>                            ompi_cv_cc_fvisibility="no"
>                        else
>                            ompi_cv_cc_fvisibility="yes"
>                        fi
>                     else
>                        ompi_cv_cc_fvisibility="yes"
>                     fi],
>                    [ompi_cv_cc_fvisibility="no"])
>                ])
> 
> -Paul
> 
> -- 
> Paul H. Hargrove                          phhargr...@lbl.gov
> Future Technologies Group
> HPC Research Department                   Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
> 
> _______________________________________________
> hwloc-devel mailing list
> hwloc-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to