Skip to content

Support building for AppleSilicon#33

Open
LucasAschenbach wants to merge 2 commits intoluchr:masterfrom
LucasAschenbach:master
Open

Support building for AppleSilicon#33
LucasAschenbach wants to merge 2 commits intoluchr:masterfrom
LucasAschenbach:master

Conversation

@LucasAschenbach
Copy link

This PR adds an apple_silicon_flag to the build function in build.jl to automatically opt into building locally when called on AppleSilicon hardware. Similarly, the loadODESolvers() function now looks for local binaries instead of using ODEInterface_jll.jl when run on AppleSilicon.

One other change I made was to add loadODESolvers() to the __init__() call so the function does not need to be manually invoked for every new session. However, I'm not sure if that is the right place for calling the function.

All tests in runtests.jl passed.

@ChrisRackauckas
Copy link

Bump

@ktitimbo
Copy link

Could this be a compatibility issue with the recently released Julia 1.10?

@ChrisRackauckas
Copy link

Bump

@ChrisRackauckas
Copy link

I also kicked off a Yggdrasil JLL build JuliaPackaging/Yggdrasil#11732

@ChrisRackauckas
Copy link

JuliaRegistries/General#135541 should largely workaround this.

@ChrisRackauckas
Copy link

Locally, AppleSilicon works by default with the binaries from Yggdrasil now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants