Skip to content

Commit 4eefd95

Browse files
committed
Update on "Install libcpp from release package other than apt-get"
A few changes 1. Use the release package from https://releases.llvm.org/ to install libcpp, so we can install from different linux in addition to Ubuntu 2. Seperate out the qnn version and the url to a seperate file, for better versin management in the future Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745/) Differential Revision: [D77048745](https://our.internmc.facebook.com/intern/diff/D77048745) [ghstack-poisoned]
1 parent db5eeda commit 4eefd95

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

backends/qualcomm/scripts/install_qnn_sdk.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77

88
set -ex
99

10-
# Source QNN configuration
11-
source "$(dirname "$0")/qnn_config.sh"
10+
# Get the absolute path of this script
11+
SCRIPT_DIR="$( cd -- "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 ; pwd -P )"
12+
13+
# Source QNN configuration from the same directory
14+
source "${SCRIPT_DIR}/qnn_config.sh"
1215

1316
# Function to install Android NDK (only if not already set)
1417
setup_android_ndk() {

0 commit comments

Comments
 (0)