-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.6 errors on M1 Macs: ERROR: cfunction: closures are not supported #319
Comments
I just tried the following example mentioned in #282 on my M1 Pro CPU Mac, it does not work: julia> using SQLite
julia> db = SQLite.DB()
SQLite.DB(":memory:")
julia> SQLite.@register db SQLite.regexp
ERROR: cfunction: closures are not supported on this platform
Stacktrace:
[1] register(db::SQLite.DB, func::Function; nargs::Int64, name::String, isdeterm::Bool)
@ SQLite ~/.julia/packages/SQLite/aeqsS/src/UDF.jl:247
[2] register(db::SQLite.DB, func::Function)
@ SQLite ~/.julia/packages/SQLite/aeqsS/src/UDF.jl:233
[3] top-level scope
@ REPL[6]:1 julia> versioninfo()
Julia Version 1.8.4
Commit 00177ebc4fc (2022-12-23 21:32 UTC)
Platform Info:
OS: macOS (arm64-apple-darwin21.5.0)
CPU: 10 × Apple M1 Pro
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
Threads: 1 on 8 virtual cores
julia> using Pkg
julia> Pkg.status("SQLite")
Status `~/.julia/environments/v1.8/Project.toml`
[0aa819cd] SQLite v1.6.0 |
Any news on M1 support? |
Or M2 support I suppose? |
The fix has been committed to master branch and hasn't been released. Can you test on the master branch? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to this report
cormullion/Glyphy.jl#7
Sqlite v1.6.0 doesn't work on M1 Macs, but according to this report
#282
it was fixed.
Unfortunately I don't have any M-series Macs to test on - Santa wasn't generous this year.
The text was updated successfully, but these errors were encountered: