Closed staticfloat closed 10 years ago
Thanks a lot for the PR.
As for the shim, I definitely would like to convert it to pure Julia at some point, and I think I can do it without the multithreading support as long as I write a thin callback that doesn't allocate any memory.
Pending that though, I think I'm just going to distribute binaries of the shim along with the package.
Use the auto-generated
deps/deps.jl
file which caches binary object locations. This is what gets created fromPkg.build()
. Use those cached locations in yourccall
's, as we don't mess around with global linker search paths that much anymore, since caching the full path is a lot faster.Note that since you're creating a little shim this won't work on OSX machines that don't have a compiler. If you'd like to distribute binaries of your shim, (best-case scenario, write that in Julia as well, with the upcoming multithreading capabilities, if that turns out to be possible) I may be able to help you with that.