File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
backends/qualcomm/scripts Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 55# This source code is licensed under the BSD-style license found in the
66# LICENSE file in the root directory of this source tree.
77set -e
8- set -o xtrace
8+
9+ # Check if running on macOS/Darwin
10+ if [[ " $( uname -s) " == " Darwin" ]]; then
11+ echo " Error: Qualcomm backend Python interface requires Linux operating system."
12+ echo " macOS/Darwin is not supported for building the Qualcomm backend."
13+ echo " Please use a x64 Linux system or x64 Linux container to build this backend."
14+ exit 1
15+ fi
916
1017if [[ -z ${QNN_SDK_ROOT} ]]; then
1118 echo " Please export QNN_SDK_ROOT=/path/to/qnn_sdk"
1219 exit -1
1320fi
1421
1522
23+ set -o xtrace
1624
1725usage () {
1826 echo " Usage: Build the aarch64 version of executor runner or the python interface of Qnn Manager"
You can’t perform that action at this time.
0 commit comments