GithubHelp home page GithubHelp logo

Comments (14)

isuruf avatar isuruf commented on August 25, 2024

We can ignore universal2 wheels also because pip prefers thin wheels over universal2 wheels if the thin wheel exist.

from numpy-wheels.

tylerjereddy avatar tylerjereddy commented on August 25, 2024

Ah ok, this would make sense as the source of the problems based on some back and forth with @charris as well

from numpy-wheels.

rgommers avatar rgommers commented on August 25, 2024

Thanks for tracking that one down!

Easiest option would be to stop distributing universal2 wheels and only distribute thin wheels.

That's fine with me. Probably a good thing in the long run; universal2 is a bit pointless, just increases download sizes.

from numpy-wheels.

isuruf avatar isuruf commented on August 25, 2024

Or we merge numpy/numpy#20270

from numpy-wheels.

isuruf avatar isuruf commented on August 25, 2024

In the meantime we should either upload a thin wheel or yank numpy-1.21.3-cp310-cp310-macosx_10_9_universal2.whl

from numpy-wheels.

charris avatar charris commented on August 25, 2024

@isuruf Do you know if rosetta supports extended precision long doubles? We ran into a problem with cpp where we needed to use typedef long double npy_longdouble, which I am thinking may have been a wrong workaround.

from numpy-wheels.

isuruf avatar isuruf commented on August 25, 2024

Yes.

(base) idf2@M1MD ~ % cat asd.cpp         
#include<iostream>
  
int main()
{
    long double eps = 0.5;
    while ((1+eps) != 1)
    {
        eps /=2;
    }
    std::cout << eps*2 << std::endl;
}
(base) idf2@M1MD ~ % clang++ asd.cpp -arch arm64 -arch x86_64
(base) idf2@M1MD ~ % arch -x86_64 ./a.out                    
1.0842e-19
(base) idf2@M1MD ~ % arch -arm64 ./a.out                     
2.22045e-16

from numpy-wheels.

charris avatar charris commented on August 25, 2024

@isuruf I'm happy to do both. Do the thin 3.10 builds work now?

from numpy-wheels.

isuruf avatar isuruf commented on August 25, 2024

You'll have to use multi-build/multibuild#438 to get a thin wheel with 3.10

from numpy-wheels.

charris avatar charris commented on August 25, 2024

I've merged #20270. I'll trigger a nightly build so it can be tested.

from numpy-wheels.

charris avatar charris commented on August 25, 2024

@isuruf Is there a problem getting multi-build/multibuild#438 merged?

from numpy-wheels.

isuruf avatar isuruf commented on August 25, 2024

Nope. Just needs a review

from numpy-wheels.

EwoutH avatar EwoutH commented on August 25, 2024

multi-build/multibuild#438 was merged yesterday!

from numpy-wheels.

charris avatar charris commented on August 25, 2024

Both numpy and multibuild have been updated to deal with this.

from numpy-wheels.

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.