New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Travis build to also target Mac OS X on x86 #2920
Comments
It might be better to make a 386-only build and a x86_64-only build. Then you can be guaranteed that test runs are actually testing the (only) executable in the exe. (Since the OS will probably try to always run the 64-bit one (unless there's a magic incantation to force it to run the 32-bit one).) |
👍 Makes sense indeed |
There is indeed a magic incantation to run it, given a fat binary
will run the appropriate version. We may however not be able to build clar in this situation as it would also need its dependencies to be fat, which libssh2 as built by brew is not (I'm not sure whether this is configurable) Regarding the size mismatches which show up, it looks like clang is being overly caution there, since it just checks that the names don't match, but we have checked that the sizes do (and a simple program with a bunch of We may want to cast the arguments here to the name which we know clang will like. |
Since this is mostly related to lg2s, I want to mention that Mono has no out of the box 64bit support yet. @carlosmn Supporting fat binary libssh2 would be as simple as mimicking this PR for the libssh2 formula. https://github.com/Homebrew/homebrew/pull/35271/files |
We've been doing some housekeeping, so I want to make sure that this remains a valuable issue. Does anybody care about the brief window of 32-bit Intel machines that Apple produced? If not, we should just close this and continue on, especially as our Travis builds are already slow. |
It's not about 32-bit machines but 32-bit software. As @Therzok mentioned, mono and the rest of the Xamarin libraries are 32-bit, so they need to use a 32-bit libgit2. The fat binary is also the default build for the libgit2sharp build script so this build configuration is what a mac user gets out of the box. Even if we don't test a 32-bit clar, it'd be nice to compile this way to see what a lg2s user would see on their terminal. |
Haven’t seen any additional interest in 32 bit over the last few years; closing this. |
-DCMAKE_OSX_ARCHITECTURES=i386;x86_64
cf. #2917
The text was updated successfully, but these errors were encountered: