[CMake] ExternalProject_Add + issues with env & auto-conf.

Tim St. Clair timothysc at gmail.com
Wed Oct 20 09:08:25 EDT 2010


correction, I can see this issue with 2.8.2 i386 binaries vs. hand build.

On Wed, Oct 20, 2010 at 7:40 AM, Tim St. Clair <timothysc at gmail.com> wrote:
> 2.8.0 vs. 2.8.2 hand made
>
> On Tue, Oct 19, 2010 at 4:24 PM, David Cole <david.cole at kitware.com> wrote:
>> What version are these stock i386 binaries you speak of?
>> Where did they come from?
>> For 2.8.1 and earlier the problem did not exist.
>> For 2.8.2, the problem did exist.
>> It should be fixed again in 2.8.3-rc2 and later.
>>
>>
>> On Tue, Oct 19, 2010 at 4:18 PM, Tim St. Clair <timothysc at gmail.com> wrote:
>>>
>>> b4 I do this, because it's a non-trivial investment on a
>>> non-heterogeneous build cluster, can you explain why the i386 stock
>>> binaries behave differently?
>>>
>>> Cheers,
>>> Tim
>>>
>>> On Tue, Oct 19, 2010 at 2:58 PM, Bill Hoffman <bill.hoffman at kitware.com>
>>> wrote:
>>> > Try the 2.8.3 release candidate.
>>> >
>>> > In 2.8.2 the untar did not preserve file times, and this could cause
>>> > auto-make to rerun when it really did not need to.
>>> >
>>> > -Bill
>>> >
>>> >
>>> > On 10/19/2010 3:21 PM, Tim St. Clair wrote:
>>> >>
>>> >> I've been able to consistently repro an issue using
>>> >> ExternalProject_Add w/a configure build of cmake v.s. the i386
>>> >> binaries online shows an issue whenever a it tries to call auto-conf
>>> >> or auto-make as if the environment is hosed.  When I use the stock
>>> >> i386 binaries I do not see this issue and I'm able to build external
>>> >> projects.
>>> >>
>>> >> The test example in question is the following:
>>> >>
>>> >>
>>> >> set (LIBXML2_VER libxml2-2.7.3 )
>>> >>                ExternalProject_Add( libxml2
>>> >>                                   DEPENDS zlib
>>> >>                                    PREFIX
>>> >> ${EXTERNAL_BUILD_PREFIX}/${LIBXML2_VER}
>>> >>                                    #-- Download Step ----------
>>> >>                                    DOWNLOAD_COMMAND wget -N
>>> >> http://parrot.cs.wisc.edu/externals/${LIBXML2_VER}.tar.gz ${CMD_TERM}
>>> >>                                    DOWNLOAD_DIR ${EXTERNAL_DL}
>>> >>                                    URL
>>> >> http://parrot.cs.wisc.edu/externals/${LIBXML2_VER}.tar.gz
>>> >>                                    #--Configure step ----------
>>> >>                                    CONFIGURE_COMMAND  ./configure
>>> >> --prefix=${EXTERNAL_STAGE}
>>> >> --disable-shared --with-zlib=${EXTERNAL_STAGE}
>>> >>                                    #--Build Step ----------
>>> >>                                    BUILD_COMMAND make
>>> >>                                    BUILD_IN_SOURCE 1
>>> >>                                    #--install Step ----------
>>> >>                                    INSTALL_DIR ${EXTERNAL_STAGE}
>>> >>                                    INSTALL_COMMAND make install )
>>> >
>>> >
>>> > --
>>> > Bill Hoffman
>>> > Kitware, Inc.
>>> > 28 Corporate Drive
>>> > Clifton Park, NY 12065
>>> > bill.hoffman at kitware.com
>>> > http://www.kitware.com
>>> > 518 881-4905 (Direct)
>>> > 518 371-3971 x105
>>> > Fax (518) 371-4573
>>> > _______________________________________________
>>> > Powered by www.kitware.com
>>> >
>>> > Visit other Kitware open-source projects at
>>> > http://www.kitware.com/opensource/opensource.html
>>> >
>>> > Please keep messages on-topic and check the CMake FAQ at:
>>> > http://www.cmake.org/Wiki/CMake_FAQ
>>> >
>>> > Follow this link to subscribe/unsubscribe:
>>> > http://www.cmake.org/mailman/listinfo/cmake
>>> >
>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Timothy St. Clair
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the CMake FAQ at:
>>> http://www.cmake.org/Wiki/CMake_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.cmake.org/mailman/listinfo/cmake
>>
>>
>
>
>
> --
> Cheers,
> Timothy St. Clair
>



-- 
Cheers,
Timothy St. Clair


More information about the CMake mailing list