[CMake] Building CMake 2.8.10.2 -- package created named cmake-2.8.10.2-Darwin-i386.dmg?

Kent Williams nkwmailinglists at gmail.com
Tue Feb 5 10:22:35 EST 2013


I meant that when I build cmake and then ran 'make package' it cmake out
i386, even though by default it only generates 64-bit binaries.

Jean-Christophe pointed out that on Kitware's builds they override this
with a better CPACK_SYSTEM_NAME.

And the reason it says i386 is that CPACK_SYSTEM_NAME defaults to the
output of uname -p which on OS X 10.7.5 is 'i386'

So CMake is behaving as documented, and OS X is wrong ;-) Quelle Surprise!


On Tue, Feb 5, 2013 at 9:08 AM, David Cole <dlrdave at aol.com> wrote:

> What do you mean by "it's wrong"?
>
> It's a universal binary with x86_64 being one of them.
>
>
> On Feb 5, 2013, at 10:04 AM, Jean-Christophe Fillion-Robin <
> jchris.fillionr at kitware.com> wrote:
>
> Hi Kent,
>
> Probably because the CPACK_SYSTEM_NAME is explicitly specified. See
> http://cmake.org/gitweb?p=cmake.git;a=blob;f=Utilities/Release/dashmacmini5_release.cmake;h=36b095287e80d26ed1b684b6c1a69d9bda1963ba;hb=HEAD#l19
>
> Hth
> Jc
>
>
> On Tue, Feb 5, 2013 at 9:47 AM, Kent Williams <nkwmailinglists at gmail.com>wrote:
>
>> Building on OS X 10.7.5 with XCode 4.5.2
>> Compiling with default compiler Apple clang version 4.1
>> (tags/Apple/clang-421.11.66)
>>
>> The packages available for download on cmake.org are named
>> http://www.cmake.org/files/v2.8/cmake-2.8.10.2-Darwin64-universal.dmg
>>
>> My question is this: how is the architecture name chosen? Why, in this
>> case, is it wrong?
>>
>> --
>>
>> 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
>>
>
>
>
> --
> +1 919 869 8849
>
> --
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130205/b4416d12/attachment.htm>


More information about the CMake mailing list