summaryrefslogtreecommitdiff
path: root/science/py-tensorflow/files/patch-bazelrc
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-08-06 15:28:01 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-08-06 15:28:01 +0000
commit069ecdaf120f4924be812e6fef29d7dfe605ecee (patch)
tree926d5e1fe25bb955421476bee97c7064e22026fa /science/py-tensorflow/files/patch-bazelrc
parentsysutils/doctl: Update to version 1.26.3 (diff)
Re-add science/py-tensorflow: Computation using data flow graphs for scalable machine learning
Many thanks to Anthony who was highly persistent and skillful in getting the Tensorflow build on FreeBSD! PR: 226400 Submitted by: Anthony <amzo1337@gmail.com>
Notes
Notes: svn path=/head/; revision=508257
Diffstat (limited to 'science/py-tensorflow/files/patch-bazelrc')
-rw-r--r--science/py-tensorflow/files/patch-bazelrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/py-tensorflow/files/patch-bazelrc b/science/py-tensorflow/files/patch-bazelrc
new file mode 100644
index 000000000000..94e8db0ecd1d
--- /dev/null
+++ b/science/py-tensorflow/files/patch-bazelrc
@@ -0,0 +1,11 @@
+--- .bazelrc.orig 2019-07-13 21:45:36.138413000 +0100
++++ .bazelrc 2019-07-13 21:46:25.898491000 +0100
+@@ -101,7 +101,7 @@
+ build:c++1z --cxxopt=-stdlib=libc++
+
+ # Default paths for TF_SYSTEM_LIBS
+-build --define=PREFIX=/usr
++build --define=PREFIX=%%LOCALBASE%%
+ build --define=LIBDIR=$(PREFIX)/lib
+ build --define=INCLUDEDIR=$(PREFIX)/include
+