Commit graph

38 commits

Author SHA1 Message Date
Timo Kaufmann 8e382a7ca7 python.pkgs.tensorflow: mark as broken for python2 2019-11-13 16:18:04 +01:00
Timo Kaufmann e4378d4641 python.pkgs.tensorflow: add more sanity checks 2019-11-13 16:18:01 +01:00
Timo Kaufmann 6832f1da6a python.pkgs.tensorflow: add functools32 dependency
Now needed at runtime with the python2 build.
2019-11-13 15:25:19 +01:00
Timo Kaufmann 4fb7831cb4 python.pkgs.tensorflow: fix build with newer gast 2019-11-12 23:43:10 +01:00
Timo Kaufmann 1fbd307880 python.pkgs.tensorflow: fix build with bazel 1.0
The tensorflow build was broken by the bazel 1.0 update in
73eb01bde000c34b54764f6f2b9fd1d89a54ccfa.
2019-11-12 23:43:07 +01:00
Timo Kaufmann 152d2fd22c python.pkgs.{tensorflow,tensorflow-estimator,tensorflow-tensorboard}: 1.14.0 -> 1.15.0 2019-11-12 23:42:47 +01:00
Nikolay Amiantov 1c429acbff tensorflow: add OpenGL path to find libcudart 2019-10-02 10:33:31 +03:00
Nikolay Amiantov 4947ddf347 libtensorflow: add meta 2019-10-02 10:33:31 +03:00
Nikolay Amiantov 46b7933d9a tensorflow: fix CUDA build using wrong GCC 2019-10-02 10:33:31 +03:00
Vladimír Čunát f21211ebfe
Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
Nikolay Amiantov e0795aa5e8 tensorflow: fix python2 build
Avoid using PYTHONPATH, switch to python envs instead.
2019-08-31 21:02:55 +03:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Nikolay Amiantov 71095460b9 tensorflow: fix build
You know, Tensorflow.
2019-08-27 02:43:48 +03:00
Nikolay Amiantov 3b3618ea3c buildBazelPackage: remove top-level symlinks
They always can be regenerated during the actual build, and they are sometimes
random, e.g in Tensorflow;

platforms -> NIX_BUILD_TOP/tmp/install/35282f5123611afa742331368e9ae529/_embedded_binaries/platforms
2019-08-19 11:23:17 +03:00
Nikolay Amiantov 19cdfe87f9 python.pkgs.tensorflow: update dependencies hash 2019-07-31 13:28:44 +03:00
Timo Kaufmann d30ec1a0ef python.pkgs.tensorflow: fix optimization flags
Now need to be passed in the configure phase.

abbradar: Don't change CUDA build hash.
2019-07-31 13:28:44 +03:00
Nikolay Amiantov 019c13616b tensorflow: cleanup and merge with libtensorflow
This merges work done by yorickvP and timokau in #63208 and #63616 respectively.
Now the derivation builds both libtensorflow and the Python package and puts them into
different outputs.

Quite a bit of improvements were done on the top, including:

* Use official tag revision as source, not a branch;
* Use all system libraries possible (before only one was actually used);
* Move various environment variables to the derivation itself from hooks;
* Use source Python build instead of wheel build to ensure fixup hooks do their important jobs on libraries;
* And more that I forgot!
2019-07-31 13:28:44 +03:00
Timo Kaufmann 3df4e2df95 tensorflow: re-enable build from source [WIP] 2019-07-31 13:28:15 +03:00
volth 5ad79dc4bb compilation for particular x86_64 architecture 2019-04-30 14:28:04 +00:00
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
Nikolay Amiantov 650d8c93a1 tensorflow: add a binary wheel release for Darwin 2018-04-05 15:00:18 +03:00
Nikolay Amiantov 94ebc13a6a tensorflow: disable XLA without CUDA
This configuration is sadly broken.
2018-02-27 03:16:35 +03:00
Nikolay Amiantov 8aeea493a5 python.pkgs.tensorflow: 1.3 -> 1.5 2018-02-21 00:50:24 +03:00
adisbladis d99378654f pythonPackages: Add version and pname attributes to packages 2017-11-23 17:49:43 +01:00
Jean-Philippe Bernardy 6269306a8d pythonPackages.tensorflow: add flags for efficent math on CPU 2017-11-04 13:18:11 +03:00
Nikolay Amiantov fe153d73ce tensorflow: 1.3.0 ->1.3.1
Build from source.

It's implemented as a two-staged Bazel build (see also
546b4aec776b3ea676bb4d58d89751919ce4f1ef).
2017-10-19 13:19:11 +03:00
Jean-Philippe Bernardy 244f34785e pythonPackages.tensorflow: repair cuda-dependent variant
merge the outputs of cudatoolkit locally in the tensorflow
derivation, using symlinkJoin

Fixes #29798
2017-10-10 16:16:37 +04:00
Nikolay Amiantov 864643ba27 tensorflow: support Python 3.5, fix dependencies
TensorBoard on Python 3 only works with 3.5.
2017-09-25 22:37:06 +03:00
Jean-Philippe Bernardy 01d53df77f pythonPackages.tensorflow 1.1 -> 1.3 2017-09-25 22:37:06 +03:00
Frederik Rietdijk 7aa2e6b590 Merge pull request #29263 from jyp/jyp-rename-maintainer
make my maintainer handle match my github username
2017-09-13 09:40:21 +02:00
Jean-Philippe Bernardy 1ba197f225 make my maintainer handle match my github username 2017-09-12 15:17:18 +02:00
Dmitry Vyal 6abb29f460
tensorflow-1.1.0 for python3.6
Google publishes prebuilt tensorflow whl for python 3.4, 3.5, 3.6,
but nix expression for tensorflow only supported 3.5.
This change adds support for python-3.6.
2017-09-12 12:52:35 +02:00
Nikolay Amiantov 1f2a18d916 protobuf: remove old versions
This leaves only protobuf3_1 which is the last version with libprotobuf2.

Also fix several packages to build with the latest protobuf.
2017-09-09 05:54:43 +03:00
Jean-Philippe Bernardy 1fdf42d461 pythonPackages.tensorflow: Don't change the rpath to point to gcc4.9
When using cuda, the rpath was set to include GCC lib version 4.9.
I am not sure what this was attempting to do, but an effect was to
prevent certain python libraries to find the correct (newer) version
of the std lib.

Also avoid mentions of any specifc version in the
propagatedBuildInputs
2017-05-30 11:06:19 +02:00
Jean-Philippe Bernardy 7b5356ed5e pythonPackages.tensorflow 1.0.0 -> 1.1.0 2017-05-09 10:09:11 +02:00
Jean-Philippe Bernardy f37b34fe7c tensorflow: depend on cudatoolkit 8 and cudnn 5.1 2017-02-27 15:23:23 +01:00
Edward Tjörnhammar 7864782d71
pythonPackages.tensorflow: 0.10.0 -> 1.0.0 2017-02-27 10:52:21 +01:00
Frederik Rietdijk a069c16c22 tensorflowNoGpuSupport -> tensorflowWithoutCuda
and move expression
2017-02-15 12:32:44 +01:00