forked from Hibbert-pku/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request tensorflow#116 from lissyx/r2.2-deepspeech
Use TensorFlow r2.2
- Loading branch information
Showing
72 changed files
with
2,845 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# The version is always required | ||
version: 0 | ||
# Top level metadata is always required | ||
metadata: | ||
name: "TensorFlow" | ||
description: "TensorFlow builds" | ||
owner: "{{ event.head.user.email }}" # the user who sent the pr/push e-mail will be inserted here | ||
source: "{{ event.head.repo.url }}" # the repo where the pr came from will be inserted here | ||
tasks: | ||
- provisionerId: "proj-deepspeech" | ||
workerType: "ci" | ||
extra: | ||
github: | ||
env: true | ||
events: | ||
- pull_request.opened | ||
- pull_request.synchronize | ||
- pull_request.reopened | ||
- push | ||
branches: | ||
- r2.2 | ||
|
||
scopes: [ | ||
"queue:create-task:highest:proj-deepspeech/ci", | ||
"queue:create-task:highest:proj-deepspeech/win", | ||
"queue:create-task:highest:proj-deepspeech/ds-macos-heavy", | ||
"queue:route:index.project.deepspeech.*", | ||
"queue:scheduler-id:taskcluster-github" | ||
] | ||
payload: | ||
maxRunTime: 600 | ||
image: "ubuntu:14.04" | ||
features: | ||
taskclusterProxy: true | ||
command: | ||
- "/bin/bash" | ||
- "--login" | ||
- "-cxe" | ||
- > | ||
apt-get -qq update && apt-get -qq -y install git python3-pip curl && | ||
adduser --system --home /home/build-user build-user && | ||
cd /home/build-user/ && | ||
echo -e "#!/bin/bash\nset -xe\nenv && id && mkdir ~/DeepSpeech/ && git clone --quiet {{event.head.repo.url}} ~/DeepSpeech/tf/ && cd ~/DeepSpeech/tf && git checkout --quiet {{event.head.sha}}" > /tmp/clone.sh && chmod +x /tmp/clone.sh && | ||
sudo -H -u build-user /bin/bash /tmp/clone.sh && | ||
sudo -H -u build-user --preserve-env /bin/bash /home/build-user/DeepSpeech/tf/tc-schedule.sh | ||
artifacts: | ||
"public": | ||
type: "directory" | ||
path: "/tmp/artifacts/" | ||
expires: "{{ '7 days' | $fromNow }}" | ||
# Each task also requires explicit metadata | ||
metadata: | ||
name: "TensorFlow Decision Task" | ||
description: "TensorFlow Decision Task: triggers everything." | ||
owner: "{{ event.head.user.email }}" | ||
source: "{{ event.head.repo.url }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# This empty BUILD file is required to make Bazel treat this directory as a package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
package(default_visibility = ['//visibility:public']) | ||
|
||
filegroup( | ||
name = 'gcc', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-gcc', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'ar', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-ar', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'ld', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-ld', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'nm', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-nm', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'objcopy', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-objcopy', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'objdump', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-objdump', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'strip', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-strip', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'as', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-as', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'compiler_pieces', | ||
srcs = glob([ | ||
'aarch64-linux-gnu/**', | ||
'libexec/**', | ||
'lib/gcc/aarch64-linux-gnu/**', | ||
'include/**', | ||
]), | ||
) | ||
|
||
filegroup( | ||
name = 'compiler_components', | ||
srcs = [ | ||
':gcc', | ||
':ar', | ||
':ld', | ||
':nm', | ||
':objcopy', | ||
':objdump', | ||
':strip', | ||
':as', | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
package(default_visibility = ['//visibility:public']) | ||
|
||
filegroup( | ||
name = 'gcc', | ||
srcs = [ | ||
'bin/arm-linux-gnueabihf-gcc', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'ar', | ||
srcs = [ | ||
'bin/arm-linux-gnueabihf-ar', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'ld', | ||
srcs = [ | ||
'bin/arm-linux-gnueabihf-ld', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'nm', | ||
srcs = [ | ||
'bin/arm-linux-gnueabihf-nm', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'objcopy', | ||
srcs = [ | ||
'bin/arm-linux-gnueabihf-objcopy', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'objdump', | ||
srcs = [ | ||
'bin/arm-linux-gnueabihf-objdump', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'strip', | ||
srcs = [ | ||
'bin/arm-linux-gnueabihf-strip', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'as', | ||
srcs = [ | ||
'bin/arm-linux-gnueabihf-as', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'compiler_pieces', | ||
srcs = glob([ | ||
'arm-linux-gnueabihf/**', | ||
'libexec/**', | ||
'lib/gcc/arm-linux-gnueabihf/**', | ||
'include/**', | ||
]), | ||
) | ||
|
||
filegroup( | ||
name = 'compiler_components', | ||
srcs = [ | ||
':gcc', | ||
':ar', | ||
':ld', | ||
':nm', | ||
':objcopy', | ||
':objdump', | ||
':strip', | ||
':as', | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
package(default_visibility = ['//visibility:public']) | ||
|
||
filegroup( | ||
name = 'gcc', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-gcc', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'ar', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-ar', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'ld', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-ld', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'nm', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-nm', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'objcopy', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-objcopy', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'objdump', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-objdump', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'strip', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-strip', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'as', | ||
srcs = [ | ||
'bin/aarch64-linux-gnu-as', | ||
], | ||
) | ||
|
||
filegroup( | ||
name = 'compiler_pieces', | ||
srcs = glob([ | ||
'aarch64-linux-gnu/**', | ||
'libexec/**', | ||
'lib/gcc/aarch64-linux-gnu/**', | ||
'include/**', | ||
]), | ||
) | ||
|
||
filegroup( | ||
name = 'compiler_components', | ||
srcs = [ | ||
':gcc', | ||
':ar', | ||
':ld', | ||
':nm', | ||
':objcopy', | ||
':objdump', | ||
':strip', | ||
':as', | ||
], | ||
) |
Oops, something went wrong.