Yggdrasil
Yggdrasil copied to clipboard
builder request: Octave
Having Octave available in Yggdrasil will make the creation of simple matlab-translation tools a bit easier (OctaveCall.jl akin to PythonCall.jl and MATLAB.jl). Creating this issue here to track potential progress.
I suppose this should be straightforward to build, but may need a bit of work to use all the dependencies from Ygg itself.
I believe this is not straightforward because the Octave build process did not support cross-compilation. This was a while ago, and perhaps things have changed.
We do have an interface package, but it will need a significant refresh since it uses Cxx.jl. https://github.com/JuliaInterop/OctCall.jl
Octave was added inhttps://github.com/JuliaPackaging/Yggdrasil/pull/9729, so closing this.
The produced binaries have some issues - but yes at lesat we have the builder.
https://github.com/JuliaPackaging/Yggdrasil/issues/9887
Works:
julia> using Octave_jll, OpenBLAS32_jll
julia> withenv("LBT_DEFAULT_LIBS"=>OpenBLAS32_jll.libopenblas_path, "OCTAVE_HOME"=>Octave_jll.artifact_dir) do
run(Octave_jll.octave_cli())
end
GNU Octave, version 9.3.0
Copyright (C) 1993-2024 The Octave Project Developers.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "aarch64-apple-darwin20".
Home page: https://octave.org
Support resources: https://octave.org/support
Improve Octave: https://octave.org/get-involved
For changes from previous versions, type 'news'.
octave:1> rand(2)+rand(2)
ans =
1.7363 1.2488
1.1367 1.1966
octave:2>