Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion backends/qualcomm/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,22 @@
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
set -e
set -o xtrace

# Check if running on macOS/Darwin
if [[ "$(uname -s)" == "Darwin" ]]; then
echo "Error: Qualcomm backend Python interface requires Linux operating system."
echo "macOS/Darwin is not supported for building the Qualcomm backend."
echo "Please use a x64 Linux system or x64 Linux container to build this backend."
exit 1
fi

if [[ -z ${QNN_SDK_ROOT} ]]; then
echo "Please export QNN_SDK_ROOT=/path/to/qnn_sdk"
exit -1
fi


set -o xtrace

usage() {
echo "Usage: Build the aarch64 version of executor runner or the python interface of Qnn Manager"
Expand Down
Loading