Date: Tuesday, September 19, 2017 @ 04:46:28 Author: svenstaro Revision: 258775
upgpkg: tensorflow 1.3.0-5 Make it build again despite upstream fuckery Modified: tensorflow/trunk/PKGBUILD ----------+ PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-09-18 20:17:32 UTC (rev 258774) +++ PKGBUILD 2017-09-19 04:46:28 UTC (rev 258775) @@ -5,7 +5,7 @@ pkgbase=tensorflow pkgname=(tensorflow tensorflow-cuda python-tensorflow python-tensorflow-cuda) pkgver=1.3.0 -pkgrel=4 +pkgrel=5 pkgdesc="Library for computation using data flow graphs for scalable machine learning" url="https://www.tensorflow.org/" license=('Apache2') @@ -17,6 +17,11 @@ sha512sums=('b74228a13537e4cbcf8781167480a0bccb2c1ecf7bf21a02e35a182e073395f919645205036fd2193d5a186cfa8a869ba32c04fa5bd8f82cbe0ad8e56926398b') prepare() { + # Necessary because of https://github.com/tensorflow/tensorflow/issues/12979#event-1250326815 + cd tensorflow-${pkgver} + sed -ri "/^\W+sha256 = \"[^\"]+\"\W+$/d" tensorflow/workspace.bzl + cd .. + cp -r tensorflow-${pkgver} tensorflow-${pkgver}-cuda # These environment variables influence the behavior of the configure call below. export TF_NEED_MKL=0