archenroot / gentoo-overlay

Gentoo overlay with main focus on GPU, Neural Networks, Big Data and Java technologies
http://gentoo.archenroot.org
15 stars 4 forks source link

Tensorflow ebuild enhancements #38

Open Barracuda72 opened 6 years ago

Barracuda72 commented 6 years ago

sci-libs/tensorflow-9999 seems to be very hackish:

1) It doesn't handle USE flags that it is claiming. It's better to remove them completely or handle by setting TF_NEED_xxx variables. 2) It doesn't handle build errors, that can lead to very bad things that were referenced in another issues. For example, trying to build TF on machine that has no CUDA SDK installed results in infinite loop (TFs' configure.py asks for path but "yes" utility sends empty string). Or if Bazel build error happen (and it certainly will due to missing checks in ebuild - for example, selected python version target should numpy installed) the ebuild just happily continues and installs tensorflow with no files at all.

These two cases definitely should be handled. With all that said, I wanted to give you one big piece of THANKS for just writing this ebuild!

archenroot commented 6 years ago

@Barracuda72 - you are right, this is work in progress and I also collaborate with some gentoo devs around AI on this, but she currently work on some ARM version.

You are free to fork and help with this ebuild of course as I am quite busy now.

archenroot commented 6 years ago

Just small update, I have for next 1-2 months crucial idea to finish, but will continue with this baby