Merge pull request #1417 from GeorgeFedoseev/docker-file

Dockerfile: --copt=-D_GLIBCXX_USE_CXX11_ABI=0 flag in all builds

X-DeepSpeech: NOBUILD
This commit is contained in:
lissyx 2018-06-16 17:48:14 +02:00 committed by GitHub
commit 27444d67ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,7 +155,7 @@ RUN bazel build --config=monolithic --config=cuda -c opt --copt=-O3 --copt="-D_G
# Build TF pip package
RUN bazel build --config=opt --config=cuda --copt=-mtune=generic --copt=-march=x86-64 --copt=-msse --copt=-msse2 --copt=-msse3 --copt=-msse4.1 --copt=-msse4.2 --copt=-mavx //tensorflow/tools/pip_package:build_pip_package --verbose_failures --action_env=LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
RUN bazel build --config=opt --config=cuda --copt="-D_GLIBCXX_USE_CXX11_ABI=0" --copt=-mtune=generic --copt=-march=x86-64 --copt=-msse --copt=-msse2 --copt=-msse3 --copt=-msse4.1 --copt=-msse4.2 --copt=-mavx //tensorflow/tools/pip_package:build_pip_package --verbose_failures --action_env=LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
# Fix for not found script https://github.com/tensorflow/tensorflow/issues/471
RUN ./configure
@ -200,4 +200,4 @@ RUN rm -rf kenlm \
# Done
WORKDIR /DeepSpeech
WORKDIR /DeepSpeech