Skip to content

Commit

Permalink
* Work around build issues for TensorFlow on some Linux distribution…
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Jun 18, 2016
1 parent a1723f4 commit 5b18ab7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

* Work around build issues for TensorFlow on some Linux distributions ([issue bazelbuild/bazel#1322](https://github.com/bazelbuild/bazel/issues/1322))
* Fix `cppbuild.sh` script to build properly FFmpeg from source on Windows
* Stop using Zeranoe FFmpeg builds, often not available for release versions ([issue #225](https://github.com/bytedeco/javacpp-presets/issues/225))
* Add `linux-ppc64le` to `cppbuild.sh` scripts of OpenCV, FFmpeg, Leptonica, and Tesseract
Expand Down
4 changes: 4 additions & 0 deletions tensorflow/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ fi

case $PLATFORM in
linux-x86)
export CC="/usr/bin/gcc"
export CXX="/usr/bin/g++"
export BUILDFLAGS="--copt=-m32 --linkopt=-m32"
;;
linux-x86_64)
export CC="/usr/bin/gcc"
export CXX="/usr/bin/g++"
export BUILDFLAGS="--copt=-m64 --linkopt=-m64"
;;
macosx-*)
Expand Down

0 comments on commit 5b18ab7

Please sign in to comment.