ports/science/py-tensorflow/files/patch-bazelrc
Yuri Victorovich 069ecdaf12 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>
2019-08-06 15:28:01 +00:00

11 lines
347 B
Text

--- .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