JuliaDynamics / ChaosTools.jl

Tools for the exploration of chaos and nonlinear dynamics
https://juliadynamics.github.io/DynamicalSystemsDocs.jl/chaostools/stable/
MIT License
187 stars 35 forks source link

Please support MacOS Monterey #233

Closed ivaquero closed 2 years ago

ivaquero commented 2 years ago

Describe the bug

I am using M1 Pro MacOS Monterey. I came across a building error, saying "Invalid configuration arm64-apple-darwin20.0.0': machinearm64-apple' not recognized".

The full output is as below.

(@v1.7) pkg> build ChaosTools
    Building TimeZones → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/a5688ffdbd849a98503c6650effe79fe89a41252/build.log`
    Building CRlibm ───→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/9d1c22cff9c04207f336b8e64840d0bd40d86e0e/build.log`
ERROR: Error building `CRlibm`:
Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
configure: error: /bin/sh ./config.sub arm64-apple-darwin20.0.0 failed
ERROR: LoadError: failed process: Process(`./configure --silent 'CFLAGS=-fpic -w'`, ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error
   @ ./process.jl:531 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base ./process.jl:446
 [3] run(::Cmd)
   @ Base ./process.jl:444
 [4] top-level scope
   @ ~/.julia/packages/CRlibm/NFCH5/deps/build.jl:23
 [5] include(fname::String)
   @ Base.MainInclude ./client.jl:451
 [6] top-level scope
   @ none:5
in expression starting at ~/.julia/packages/CRlibm/NFCH5/deps/build.jl:23
Working in ~.julia/packages/CRlibm/NFCH5/deps/src/crlibm-1.0beta4
Datseris commented 2 years ago

Hi, sorry but I can't help you, not only I have no clue how to fix this, but it is also not related with ChaosTools.jl, but with the package CRlibm (which I think is used by 100s of dependencies, not just DynamicalSystems.jl).

I'm closing this, as this issue should be opened elsewhere.

ivaquero commented 2 years ago

Thank you all the same.