ShigekiKarita / grain

autograd mir and CUDA library for dynamic neural networks in D.
https://shigekikarita.github.io/grain
Boost Software License 1.0
66 stars 7 forks source link

dub couldn't resolve dependency #12

Open drug007 opened 5 years ago

drug007 commented 5 years ago

with dub run grain --config=example-mnist -b=release -v I get:

...
Package mir-random contains invalid dependency mir-math (no version candidates) (ci=8)
Package mir-random contains invalid dependency mir-math (no version candidates) (ci=8)
Package mir-random contains invalid dependency mir-math (no version candidates) (ci=8)
Package mir-random contains invalid dependency mir-math (no version candidates) (ci=8)
Package mir-random contains invalid dependency mir-math (no version candidates) (ci=8)
Package mir-random contains invalid dependency mir-math (no version candidates) (ci=8)

without -v dub prints:

The dependency resolution process is taking too long. The dependency graph is likely hitting a pathological case in the resolution algorithm. Please file a bug report at https://github.com/dlang/dub/issues and mention the package recipe that reproduces this error.
ShigekiKarita commented 5 years ago

Thanks for report. Did you even get dub.selection.json? Could you upload it here?

ShigekiKarita commented 5 years ago

I just have made Travis CI build examples. It seems to success. These dub.selections.json might help you

drug007 commented 5 years ago

I can not upload dub.selection.json because dub can not create it. I tried with dub.selection.json from travis build without success. I use dmd 2.081, probably this is the reason?