openblas-src icon indicating copy to clipboard operation
openblas-src copied to clipboard

vcpkg uses ilp64 on Windows

Open emmatyping opened this issue 3 years ago • 1 comments

When debugging https://github.com/rust-ndarray/ndarray/issues/1110, I found out that openblas provided by vcpkg is compiled with ilp64.

I think the solution to this is to either add ilp64 support to cblas-sys, or better, build openblas from source using cmake, flang, and msvc.

emmatyping avatar Nov 18 '21 06:11 emmatyping

Okay, so I built OpenBLAS on Windows. We could do so by a) downloading and extracting flang and libflang from conda's artifacts: https://anaconda.org/conda-forge/flang/files b) requiring MSVC build tools, cmake, and Clang are installed c) building OpenBLAS :)

emmatyping avatar Nov 19 '21 03:11 emmatyping