JuliaLinearAlgebra / libblastrampoline

Using PLT trampolines to provide a BLAS and LAPACK demuxing library.
MIT License
66 stars 17 forks source link

Build on Haiku #43

Closed vazub closed 3 years ago

vazub commented 3 years ago

Provide support for building on Haiku operating system.

Since tests are written in Julia and Julia has not been ported there yet (libblastrampoline is actually one of the dependencies), I wasn't able to run them, so whether is everything is working as intended or not is yet to be seen. But at least it builds fine, that is a start.

vazub commented 3 years ago

@staticfloat Looks like some CI tests can not be done due to pipeline errors for linux-amd64-Julia1.6 stage: image

staticfloat commented 3 years ago

I don't know what that drone error is about, but it's not got anything to do with the changes here.

Does this actually build and run for Haiku? Note that Julia's dependencies are generally cross-compiled ahead of time, using BinaryBuilder through the Yggdrasil community build tree. I'm not sure if you're trying to get Julia working on Haiku, or if you're just interested in libblastrampoline. :)

vazub commented 3 years ago

@staticfloat

Does this actually build and run for Haiku?

Yes, I tested it before making this PR. As I mentioned, it does build (tested for x86_64 specifically), but in terms of running, I don't have any apps invoking this dep, so no obvious way for me to test it at runtime.

I'm not sure if you're trying to get Julia working on Haiku, or if you're just interested in libblastrampoline. :)

I am trying to port Julia to Haiku, that is correct, and going one dependency at a time here. libblastrampoline just happens to be the first one broken during Julia compilation atm, so started with it :)

staticfloat commented 3 years ago

Well, good luck to you! :)