-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[browserstack benchmark tool] Enable customizing local builds #6705
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a nit
"build-all-deps": "yarn build-link-package && yarn build-tfjs", | ||
"build-tfjs": "cd ../../../tfjs && yarn && yarn build-npm", | ||
"build-link-package": "cd ../../../link-package && yarn build", | ||
"build-backend-cpu": "cd ../../../tfjs-backend-cpu && yarn && yarn build-npm", | ||
"build-backend-wasm": "cd ../../../tfjs-backend-wasm && yarn && yarn build && yarn build-npm", | ||
"build-backend-webgl": "cd ../../../tfjs-backend-webgl && yarn && yarn build && yarn build-npm", | ||
"build-converter": "cd ../../../tfjs-converter && yarn && yarn build && yarn build-npm", | ||
"build-core": "cd ../../../tfjs-core && yarn && yarn build && yarn build-npm", | ||
"build-data": "cd ../../../tfjs-data && yarn && yarn build", | ||
"build-layers": "cd ../../../tfjs-layers && yarn && yarn build && yarn build-npm", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the build-[some-package]
scripts that you replaced with build-link-package
. This includes all the Bazel packages, although you'll have to leave the non-bazel packages' scripts here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you Matt!
I just updated the scripts here, as:
"build-all-link-packages": "cd ../../../link-package && yarn build",
"build-individual-link-package": "cd ../../../link-package && yarn build-deps-for",
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much Lin and Matt!
Reviewable status: complete! 2 of 1 approvals obtained (waiting on @mattsoulanille)
This PR replaces
--webDeps
with--localBuild=...
arguments for both browserstack benchmark's Website tool and Command Line tool. As a result, users could customize local builds, instead of using 'all local build' or 'all web deps'.To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.
This change is