onnxruntime icon indicating copy to clipboard operation
onnxruntime copied to clipboard

Web ort build all script

Open shalvamist opened this issue 3 years ago • 2 comments

Description: Describe your changes. Adding a python script to simplify the initial build of ORT Web - currently supports -

  1. Building the WASM artifacts
  2. Automatic copy of the artifacts to destination folders
  3. NPM build

to run the script you will need this command - python .\js\buildAll.py -b Release -c Release note that you still need to install the prerequisites

Motivation and Context Making the first build of ORT Web a smoother process

shalvamist avatar Jul 25 '22 21:07 shalvamist

This pull request introduces 2 alerts when merging e511f8107e9cf688179d7dd23b141de3e279b4b6 into 3bf614fd470d6fa37104c0b24014e83540cb8e6e - view on LGTM.com

new alerts:

  • 2 for Unused import

lgtm-com[bot] avatar Jul 25 '22 23:07 lgtm-com[bot]

This pull request introduces 1 alert when merging 2cfa98b70adb21960311a3fdfec5373239445153 into eb90b52a75c5dcb6132c82a65afa7b14ab750498 - view on LGTM.com

new alerts:

  • 1 for Unused global variable

lgtm-com[bot] avatar Aug 05 '22 23:08 lgtm-com[bot]

Closing this PR - moving to a new PR - https://github.com/microsoft/onnxruntime/pull/12643 Introduced a few more checks to the python script and change the folder structure a bit to align with the latest code base

shalvamist avatar Aug 18 '22 21:08 shalvamist