Skip to content

Commit

Permalink
Fix linker issues during tests with new workers
Browse files Browse the repository at this point in the history
  • Loading branch information
reuben committed Jul 19, 2020
1 parent 8ce276e commit 9eb290c
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 30 deletions.
2 changes: 1 addition & 1 deletion taskcluster/.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ build:
nc_asset_name: 'native_client.tar.xz'
args:
tests_cmdline: ''
tensorflow_git_desc: 'TensorFlow: v2.2.0-16-gfc46411'
tensorflow_git_desc: 'TensorFlow: v2.2.0-17-g0854bb5'
test_model_task: ''
homebrew:
url: ''
Expand Down
8 changes: 4 additions & 4 deletions taskcluster/.shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ system:
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.node-gyp-cache.7/artifacts/public/node-gyp-cache.tar.gz'
namespace: 'project.deepspeech.node-gyp-cache.7'
homebrew_builds:
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.homebrew_builds.7/artifacts/public/homebrew_builds.tar.gz'
namespace: 'project.deepspeech.homebrew_builds.7'
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.homebrew_builds.8/artifacts/public/homebrew_builds.tar.gz'
namespace: 'project.deepspeech.homebrew_builds.8'
homebrew_tests:
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.homebrew_tests.8/artifacts/public/homebrew_tests.tar.gz'
namespace: 'project.deepspeech.homebrew_tests.8'
url: 'https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.homebrew_tests.9/artifacts/public/homebrew_tests.tar.gz'
namespace: 'project.deepspeech.homebrew_tests.9'
android_cache:
arm64_v8a:
android_24:
Expand Down
9 changes: 5 additions & 4 deletions taskcluster/homebrew-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ do_prepare_homebrew()

check_homebrew "${_brew_instance}"

# Force an upgrade to fetch formulae
brew search openssl

# Then we force onto a specific well-known commit
mkdir -p "$(brew --prefix)/Library/Taps/homebrew/homebrew-core"
pushd "$(brew --prefix)/Library/Taps/homebrew/homebrew-core"
git fetch origin && git checkout ${BREW_FORMULAS_COMMIT}
git init
git remote add origin https://github.com/Homebrew/homebrew-core.git
git fetch origin
git checkout ${BREW_FORMULAS_COMMIT}
popd
}

Expand Down
2 changes: 1 addition & 1 deletion taskcluster/homebrew_builds-darwin-amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ build:
package: "taskcluster/homebrew-package.sh --builds"
metadata:
name: "Builds Homebrew macOS AMD64"
description: "Setup a buildsl Homebrew for macOS/AMD64"
description: "Setup a builds Homebrew for macOS/AMD64"
4 changes: 0 additions & 4 deletions taskcluster/tc-cpp-ds-tests-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ download_material "${TASKCLUSTER_TMP_DIR}/ds"

export PATH=${TASKCLUSTER_TMP_DIR}/ds/:$PATH

if [ "${OS}" = "Darwin" ]; then
export DYLD_LIBRARY_PATH=$TESTS_BREW/lib/:$DYLD_LIBRARY_PATH
fi;

check_versions

run_prod_inference_tests "${bitrate}"
4 changes: 0 additions & 4 deletions taskcluster/tc-cpp-ds-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ download_material "${TASKCLUSTER_TMP_DIR}/ds"

export PATH=${TASKCLUSTER_TMP_DIR}/ds/:$PATH

if [ "${OS}" = "Darwin" ]; then
export DYLD_LIBRARY_PATH=$TESTS_BREW/lib/:$DYLD_LIBRARY_PATH
fi;

check_versions

run_all_inference_tests
Expand Down
4 changes: 0 additions & 4 deletions taskcluster/tc-cpp_tflite-ds-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ download_material "${TASKCLUSTER_TMP_DIR}/ds"

export PATH=${TASKCLUSTER_TMP_DIR}/ds/:$PATH

if [ "${OS}" = "Darwin" ]; then
export DYLD_LIBRARY_PATH=$TESTS_BREW/lib/:$DYLD_LIBRARY_PATH
fi;

check_versions

run_all_inference_tests
Expand Down
4 changes: 0 additions & 4 deletions taskcluster/tc-cpp_tflite-tests-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ download_material "${TASKCLUSTER_TMP_DIR}/ds"

export PATH=${TASKCLUSTER_TMP_DIR}/ds/:$PATH

if [ "${OS}" = "Darwin" ]; then
export DYLD_LIBRARY_PATH=$TESTS_BREW/lib/:$DYLD_LIBRARY_PATH
fi;

check_versions

run_prodtflite_inference_tests "${bitrate}"
4 changes: 0 additions & 4 deletions taskcluster/tc-cpp_tflite_basic-ds-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ download_material "${TASKCLUSTER_TMP_DIR}/ds"

export PATH=${TASKCLUSTER_TMP_DIR}/ds/:$PATH

if [ "${OS}" = "Darwin" ]; then
export DYLD_LIBRARY_PATH=$TESTS_BREW/lib/:$DYLD_LIBRARY_PATH
fi;

check_versions

run_tflite_basic_inference_tests

0 comments on commit 9eb290c

Please sign in to comment.