SciNim / flambeau

Nim bindings to libtorch
85 stars 3 forks source link

nimble file with torch_installer run on install #6

Closed mratsim closed 3 years ago

mratsim commented 3 years ago

We want a nimble file that build and run the torch installer so that the required library are downloaded.

We can use a before install task for that similar to nimgen/nimterop libraries: See https://github.com/genotrance/nim7z/blob/cc6c2b0/nim7z.nimble#L20-L27

Clonkk commented 3 years ago

I think we close this with https://github.com/SciNim/flambeau/pull/12 (to be tested on a clean install when I have time)

EDIT : I tested it, it doesn't work. I'm fixing it in another PR.

Clonkk commented 3 years ago

Local nimble install / nimble develop now properly downloads the lib. Closing this