kaleidicassociates / lubeck

High level linear algebra library for Dlang
http://lubeck.libmir.org/
Boost Software License 1.0
66 stars 14 forks source link

Add Windows Install Instructions (in Wiki?) #11

Closed jmh530 closed 6 years ago

jmh530 commented 6 years ago

There was a question on the forum about how to install this on Windows. I tried to provide some help from my experiences, but it could probably be fleshed out in more detail and put in the wiki or something.

wilzbach commented 6 years ago

You could also do what a few other projects do and ship the dll files as a dependency, e.g.

https://github.com/dlang/dub/blob/master/dub.sdl https://github.com/ariovistus/pyd/blob/034e680e1231f6458478997058f9a99203f1774d/dub.json

Though I'm not a huge friend of dumping binaries into a repo, but maybe a blas-windows window-only dependency could be added, s.t. the normal users and source isn't affected? I'm not entirely sure whether platform="windows" works for dependencies, but otherwise different configurations could be used like vibe.d:vibe-core does:

https://github.com/vibe-d/vibe.d/blob/master/core/dub.sdl

jmh530 commented 6 years ago

@wilzbach I'm all in favor of anything that makes it easier for Windows users to use mir/lubeck.

wilzbach commented 6 years ago

Well, I don't use Windows nor have any big experiences with it apart from the things I see on GitHub, so it was just a suggestion. I couldn't even compile the dlls, so I am sorry, but I can't help out with a PR here :/

jmh530 commented 6 years ago

You could add the above as a project for libmir. Not really sure where it fits in as an issue since it probably could be a dependency in multiple places and require changes across many dub.json/sdl files.

On Fri, Feb 23, 2018 at 3:21 PM, Sebastian Wilzbach < notifications@github.com> wrote:

Well, I don't use Windows nor have any big experiences with it apart from the things I see on GitHub, so it was just a suggestion. I couldn't even compile the dlls, so I am sorry, but I can't help out with a PR here :/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kaleidicassociates/lubeck/issues/11#issuecomment-368128033, or mute the thread https://github.com/notifications/unsubscribe-auth/AMJWyv43fzA1Z7dx9_a1tu80RCQO8IIFks5tXx24gaJpZM4SRLXu .

Laeeth commented 6 years ago

git lfs ? https://git-lfs.github.com/

jmh530 commented 6 years ago

@Laeeth I thought that was more for things like game assets. I wouldn't think that a blas/lapack dll would be too big for git or github

wilzbach commented 6 years ago

Yeah I would assume the dlls to be a few MBs. Not too bad, but good if it can be avoided from polluting the git history and Posix downloads. Also dub doesn't support git lfs.

9il commented 6 years ago

First progress https://github.com/kaleidicassociates/lubeck#required-system-libraries https://github.com/libmir/mir-lapack/wiki/Link-with-CBLAS-&-LAPACK