File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[submodule "triton "]
2- path = triton
3- url = https://github.com/triton-lang/triton.git
2+ path = triton
3+ url = https://github.com/triton-lang/triton.git
44[submodule "triton_shared "]
5- path = triton_shared
6- url = https://github.com/facebookincubator/triton-shared.git
5+ path = triton_shared
6+ url = https://github.com/facebookincubator/triton-shared.git
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ REPO_ROOT="$(git rev-parse --show-toplevel)"
1212echo " Configuring git submodules"
1313cd " ${REPO_ROOT} "
1414
15- # Ensure existing submodules are initialized
16- git submodule update --init
1715
1816add_and_checkout () {
1917 local name=" $1 "
@@ -22,8 +20,8 @@ add_and_checkout() {
2220
2321 cd " ${REPO_ROOT} "
2422 if [ ! -d " ${REPO_ROOT} /${name} " ]; then
25- echo " Adding submodule ${name} "
26- git submodule add --force " ${url} " " ${name} "
23+ echo " Cloning ${name} "
24+ git clone " ${url} " " ${name} "
2725 fi
2826
2927 echo " Checking out ${name} at ${commit} "
Original file line number Diff line number Diff line change 66# https://github.com/qualcomm/hexagon-mlir/LICENSE.txt
77#
88set -euo pipefail
9- set -e
109
1110echo " ----------------------------------------------------"
1211echo " Welcome to hexagon-mlir local building script .. "
192191 echo " Triton build missing; skipping tests."
193192fi
194193echo " Local build script completed successfully."
194+
195+ set +euo pipefail
Original file line number Diff line number Diff line change 55# For more license information:
66# https://github.com/qualcomm/hexagon-mlir/LICENSE.txt
77#
8- set -euo pipefail
9- set -x
8+
9+ set -euxo pipefail
1010
1111export HEXAGON_MLIR_ROOT=$PWD
1212export TRITON_ROOT=$PWD /triton
@@ -30,3 +30,5 @@ export TRITON_HOME=$HEXAGON_MLIR_ROOT
3030export TRITON_PLUGIN_DIRS=" $HEXAGON_MLIR_ROOT /triton_shared;$HEXAGON_MLIR_ROOT /qcom_hexagon_backend"
3131export PATH=$TRITON_ROOT /build/cmake.linux-x86_64-cpython-${PYTHON_VERSION} /third_party/qcom_hexagon_backend/bin/:$TRITON_ROOT /build/cmake.linux-x86_64-cpython-${PYTHON_VERSION} /third_party/triton_shared/tools/triton-shared-opt:$PATH
3232export PYTHONPATH=$TRITON_ROOT /python:${PYTHONPATH:- }
33+
34+ set +euxo pipefail
You can’t perform that action at this time.
0 commit comments