mratsim / Arraymancer

A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends
https://mratsim.github.io/Arraymancer/
Apache License 2.0
1.34k stars 95 forks source link

Lapack tests on Windows #212

Open mratsim opened 6 years ago

mratsim commented 6 years ago

https://github.com/mratsim/Arraymancer/pull/211 introduced LAPACK dependencies but I couldn't make the test work. The dll doesn't get detected.

pkscn333 commented 6 years ago

I am using google translation.

pacman -S mingw64/mingw-w64-x86_64-openblas (mingw-w64-x86_64-openblas-0.2.20-2)

Using a DLL installed with pacman also worked on windows.

ex. nim c --define:blas=openblas --define:lapack=openblas ex04_fizzbuzz_interview_cheatsheet.nim

mratsim commented 6 years ago

Ah interesting, being a heavy Archlinux user, I would love to work with pacman instead of nuget. I have to check if Appveyor supports it. Thanks.

data-man commented 6 years ago

@mratsim Yes, supports: docs/build-environment/#mingw-msys-cygwin For example: winutils