Skip to content

Commit 52cebb1

Browse files
committed
added a firefox matmul backend
1 parent 49a80df commit 52cebb1

File tree

101 files changed

+37449
-39
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+37449
-39
lines changed

Diff for: build.sh

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
#!/bin/bash
22
# Copyright (c) Microsoft Corporation. All rights reserved.
33
# Licensed under the MIT License.
4+
set -ex
45

56
# Get directory this script is in
6-
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
7+
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
78
OS=$(uname -s)
89

910
if [ "$OS" = "Darwin" ]; then
10-
DIR_OS="MacOS"
11+
DIR_OS="MacOS"
1112
else
12-
DIR_OS="Linux"
13+
DIR_OS="Linux"
1314
fi
1415

1516
if [[ "$*" == *"--ios"* ]]; then
16-
DIR_OS="iOS"
17+
DIR_OS="iOS"
1718
elif [[ "$*" == *"--android"* ]]; then
18-
DIR_OS="Android"
19+
DIR_OS="Android"
1920
fi
2021

21-
python3 $DIR/tools/ci_build/build.py --build_dir $DIR/build/$DIR_OS "$@"
22+
PYTHON="${PYTHON:-python3}"
23+
24+
$PYTHON $DIR/tools/ci_build/build.py --build_dir $DIR/build/$DIR_OS "$@"

Diff for: cmake/onnxruntime_webassembly.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ jsepDownload:_pp_")
382382
"SHELL:-s ASYNCIFY_STACK_SIZE=65536"
383383
"SHELL:-s ASYNCIFY_EXPORTS=['OrtRun']"
384384
"SHELL:-s ASYNCIFY_IMPORTS=['Module.jsepCopy','Module.jsepCopyAsync','jsepDownload']"
385+
"SHELL:-s ERROR_ON_UNDEFINED_SYMBOLS=0"
385386
)
386387
set_target_properties(onnxruntime_webassembly PROPERTIES LINK_DEPENDS ${ONNXRUNTIME_ROOT}/wasm/pre-jsep.js)
387388
endif()

0 commit comments

Comments
 (0)