2017-03-24 17:23 GMT+01:00 Ben Coman <btc@openinworld.com>:
On Fri, Mar 24, 2017 at 9:30 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
>
> 2017-03-24 11:29 GMT+01:00 Esteban Lorenzano <estebanlm@gmail.com>:
>>
>>
>> VM 64bits
>> =========
>> - Is incredibly hard to compile a 64bits version of libgit2 0.23 (the one we are using) for macOS, which makes
>>�� impossible to use Iceberg. Not sure this is blocking, but well... I needed to point it :)
>
> Hi Esteban,
> Doesn't the Travis build correctly succeed?
> https://bintray.com/opensmalltalk/vm/cog/201703222227#files
>
> yes, but the PharoVM for mac in 64bits is not including libgit2 (because I was unable to compile it) :P
> if you (or anyone) find the time and helps me doing that, I will be very, very, very grateful (and release will be earlier ;)

Do you mean build libgit2 standalone? or as part of pharo-vm build?

I dug out my old mac-mini to try.�� Its an older OSX Version 10.9.5. I
could upgrade to try if needed.
I don't know about the rpath warning. I ignored it.

Standalone...

�� 502�� mkdir LIBGIT
�� 503�� cd LIBGIT/
�� 504�� git clone https://github.com/libgit2/libgit2.git
�� 505�� cd libgit2
�� 521�� git checkout v0.23.0
�� 522�� mkdir ../build�� && cd ../build
�� 525�� cmake ../libgit2
-- Configuring done
CMake Warning (dev):
�� Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.�� Run "cmake
�� --help-policy CMP0042" for policy details.�� Use the cmake_policy command to
�� set the policy and suppress this warning.
�� MACOSX_RPATH is not specified for the following targets:
�� �� ��git2

�� 526�� cmake --build .
�� 528�� file libgit2.0.23.0.dylib
libgit2.0.23.4.dylib: Mach-O 64-bit dynamically linked shared library x86_64

�� 529�� ��cmake --version
cmake version 3.0.0

�� 530�� uname -a
Darwin bens-mac-mini.home.gateway 13.4.0 Darwin Kernel Version 13.4.0:
Mon Jan 11 18:17:34 PST 2016; root:xnu-2422.115.15~1/RELEASE_X86_64
x86_64


Same for me here on OSX 10.11.6 El Capitan,
libgit2 builds out of the box, same warning for RPATH
Maybe we could reactivate on travis?
��
Should I be testing something else?

cheers -ben