File tree 2 files changed +11
-9
lines changed
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,16 @@ install -y ninja-build gettext
10
10
# PLATFORM="amd64"
11
11
# PLATFORM=x86_64
12
12
# BAZEL_PLATFORM=amd64
13
- # if [[ $(uname -m) == "aarch64" ]]; then
14
- # PLATFORM=aarch64
15
- # BAZEL_PLATFORM=arm64
16
-
17
- # rm -rf /opt/openssl # Not sure whats up with the openssl mismatch
18
- # fi
13
+ PLATFORM_S=$( uname -s)
14
+ PLATFORM_M=$( uname -m)
15
+ if [[ ${PLATFORM_M} == " aarch64" ]]; then
16
+ # PLATFORM=aarch64
17
+ # BAZEL_PLATFORM=arm64
18
+ rm -rf /opt/openssl # Not sure whats up with the openssl mismatch
19
+ fi
19
20
20
- wget https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-` uname -s ` - ` uname -m ` - o bazelisk \
21
- && mv bazelisk /usr/bin/bazel \
21
+ wget https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-${PLATFORM_S} - ${PLATFORM_M} - o bazelisk- ${PLATFORM_S} - ${PLATFORM_M} \
22
+ && mv bazelisk- ${PLATFORM_S} - ${PLATFORM_M} /usr/bin/bazel \
22
23
&& chmod +x /usr/bin/bazel
23
24
24
25
TORCH_TORCHVISION=$( grep " ^torch" py/requirements.txt)
Original file line number Diff line number Diff line change @@ -190,8 +190,9 @@ def build_libtorchtrt_cxx11_abi(
190
190
cmd .append ("--config=jetpack" )
191
191
192
192
if IS_SBSA :
193
+ cmd .append ("--config=use_torch_whl" )
193
194
if CI_BUILD :
194
- cmd .append ("--platforms=//toolchains/dep_src:torch=whl " )
195
+ cmd .append ("--platforms=//toolchains:aarch64_linux " )
195
196
else :
196
197
if CI_BUILD :
197
198
cmd .append ("--platforms=//toolchains:ci_rhel_x86_64_linux" )
You can’t perform that action at this time.
0 commit comments