python.pkgs.tensorflow: cleanup binary build

This commit is contained in:
Nikolay Amiantov
2019-07-13 22:37:01 +03:00
parent 2e46ae0daa
commit 170dd558df
3 changed files with 19 additions and 12 deletions

View File

@@ -1,7 +1,10 @@
#!/usr/bin/env bash
version=1.14.0
hashfile=tf${version}-hashes.nix
hashfile=binary-hashes.nix
rm -f $hashfile
echo "{" >> $hashfile
echo "version = \"$version\";" >> $hashfile
for sys in "linux" "mac"; do
for tfpref in "cpu/tensorflow" "gpu/tensorflow_gpu"; do
for pykind in "py2-none-any" "py3-none-any" "cp27-none-linux_x86_64" "cp35-cp35m-linux_x86_64" "cp36-cp36m-linux_x86_64" "cp37-cp37m-linux_x86_64"; do