GithubHelp home page GithubHelp logo

Comments (4)

heyx3 avatar heyx3 commented on July 3, 2024

Hi, I really want to use this for my framework but I'm on Windows and so I guess I need to update this package to the newest version of Assimp, which is 5.2.5.

However, I'm very new and still trying to get myself oriented in the world of BinaryBuilder. It seems like updating Assimp.jl is as simple as making a pull request in Yggdrasil to change build_tarballs.jl to point to the newer commit SHA? Which for the record is 9519a62dd20799c5493c638d1ef5a6f484e5faf1.

Glossing over the changelog for assimp, it doesn't seem like the API has changed, so is there anything else required beyond updating that single line in that single Julia build file? I'm happy to try and do it myself.

from assimp.jl.

heyx3 avatar heyx3 commented on July 3, 2024

OK I tried making a pull request and Yggdrasil reports that we are implicitly supporting "experimental" platforms that weren't available the last time this package was updated, which is a problem because we aren't explicitly requiring Julia 1.6+.

So for now I'm going to disable the experimental platforms, which I think just leaves us with the platform support of the earlier version of Assimp.jl.

from assimp.jl.

heyx3 avatar heyx3 commented on July 3, 2024

Fixed the previous issue, but now the build leads to a warning about improper use of offsetof(), and the compiler is configured to treat all warnings as errors. Based on some googling, I think this warning is ignorable, but I'm not sure how to get Yggrasil to go along with that.

Related to this topic, the release notes for Assimp 5.2.5 says they now support GCC v12. Should we update/remove the setting preferred_gcc_version=v"7" in build_tarballs.jl?

from assimp.jl.

heyx3 avatar heyx3 commented on July 3, 2024

(I hope this isn't spammy? I just like documenting my struggles in case me or somebody else has to deal with a similar problem in the future)

I updated the preferred GCC version to v12 and now only a few specific platforms fail to compile due to warnings. I updated the script to explicitly forbid those platforms. And maybe we should raise a ticket with assimp about those build configurations.

p != Platform("i686", "linux"; libc="musl") &&
                                                 p != Platform("armv7l", "linux"; libc="musl") &&
                                                 p != Platform("aarch64", "macos") &&
                                                 p != Platform("x86_64", "macos") &&
                                                 p != Platform("powerpc64le", "linux"; libc="glibc")

Still waiting for Yggdrasil to finish, but things are looking good!

from assimp.jl.

Related Issues (5)

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.