summaryrefslogtreecommitdiff
path: root/science/py-tensorflow/files/patch-bazelrc
diff options
context:
space:
mode:
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
+