diff options
author | 2017-01-17 10:57:25 -0800 | |
---|---|---|
committer | 2017-01-17 11:15:18 -0800 | |
commit | db249414890236c92e9ac45e231bf5c26ec503ef (patch) | |
tree | 30a2bfbf126d347e82b9663075896fd7bf6afbb4 /tensorflow/contrib/makefile/build_all_ios.sh | |
parent | 64ea20632bf346a9474b4e0420f1277e8054a002 (diff) |
Merge changes from github.
Change: 144729490
Diffstat (limited to 'tensorflow/contrib/makefile/build_all_ios.sh')
-rwxr-xr-x | tensorflow/contrib/makefile/build_all_ios.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tensorflow/contrib/makefile/build_all_ios.sh b/tensorflow/contrib/makefile/build_all_ios.sh index 4d9ce077ba..344bf49dcf 100755 --- a/tensorflow/contrib/makefile/build_all_ios.sh +++ b/tensorflow/contrib/makefile/build_all_ios.sh @@ -32,6 +32,13 @@ cd ${SCRIPT_DIR}/../../../ make -f tensorflow/contrib/makefile/Makefile clean rm -rf tensorflow/contrib/makefile/downloads +# Setting a deployment target is required for building with bitcode, +# otherwise linking will fail with: +# +# ld: -bind_at_load and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together +# +export MACOSX_DEPLOYMENT_TARGET="10.10" + # Pull down the required versions of the frameworks we need. tensorflow/contrib/makefile/download_dependencies.sh |