Giter VIP home page Giter VIP logo

Comments (5)

matthew-brett avatar matthew-brett commented on September 26, 2024

Do you mean, set the value of MACOSX_DEPLOYMENT_TARGET ? That's normally done when building against Python - the flag value comes from Python's configuration, but I believe you can set this variable in your .travis.yml file, before your builds, and it should work. Did you try already?

from multibuild.

TeBoring avatar TeBoring commented on September 26, 2024

Thanks, with that flag set to 10.12 I can successfully build a wheel: macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.
Is it possible to build a wheel for 10.12?

from multibuild.

matthew-brett avatar matthew-brett commented on September 26, 2024

Erm - if you really set MACOSX_DEPLOYMENT_TARGET, and it worked, then that wheel should be compatible with 10.12 and above, only. I can't remember the details of how the filename gets its flags, but if it's only >= 10.12 compatible, then you can / should rename it to reflect that, in case some innocent 10.11 user tries to install it via pip.

I guess what you want to do, is set MACOSX_DEPLOYMENT_TARGET to the minimum it will build on (maybe 10.9?) and name accordingly.

from multibuild.

TeBoring avatar TeBoring commented on September 26, 2024

Here is the log for build on travis: https://travis-ci.org/google/protobuf/jobs/337078207
You can find one line is: creating build/lib.macosx-10.6-intel-2.7
On my local mac (10.12), it's 10.12-x86-64-2.7.
Is there any macro I can use to change the behavior on travis to the same as my local mac?

from multibuild.

matthew-brett avatar matthew-brett commented on September 26, 2024

I believe that the wheel you have built will in fact be compatible with OSX 10.9 and above. You can test that by running the tests on a travis xcode image running 10.9.

I believe therefore, that the wheel name is not a correct indicator of compatibility. Specifically, I think the 10.6 label comes from the Python.org Python installer that gets downloaded during the multibuild build.

You can just rename the wheel in your script to have platform part macosx_10_9_intel, this should then be picked up by installing systems >= 10.9 - is that what you intend?

from multibuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.