@@ -4,19 +4,19 @@ version: 2.1
4
4
5
5
commands :
6
6
install-bazel :
7
- description : " Install bazel "
7
+ description : " Install bazelisk "
8
8
parameters :
9
9
platform :
10
10
type : string
11
- default : " x86_64 "
11
+ default : " amd64 "
12
12
version :
13
13
type : string
14
- default : " 6.2.1 "
14
+ default : " v1.17.0 "
15
15
steps :
16
16
- run :
17
- name : Install bazel
17
+ name : Install bazelisk
18
18
command : |
19
- sudo wget -q https://github.com/bazelbuild/bazel /releases/download/<< parameters.version >>/bazel-<< parameters.version >> -linux-<< parameters.platform >> -O /usr/bin/bazel
19
+ sudo wget -q https://github.com/bazelbuild/bazelisk /releases/download/<< parameters.version >>/bazelisk -linux-<< parameters.platform >> -O /usr/bin/bazel
20
20
sudo chmod a+x /usr/bin/bazel
21
21
22
22
install-cmake :
@@ -190,12 +190,9 @@ commands:
190
190
trt-version-long :
191
191
type : string
192
192
default : " 8.6.1.6-1"
193
- bazel-version :
194
- type : string
195
- default : " 6.2.1"
196
193
bazel-platform :
197
194
type : string
198
- default : " x86_64 "
195
+ default : " amd64 "
199
196
steps :
200
197
- install-cudnn :
201
198
os : << parameters.os >>
@@ -212,7 +209,6 @@ commands:
212
209
sudo apt-get install libnvinfer8=<< parameters.trt-version-long >>+<< parameters.cuda-string-version >> libnvinfer-plugin8=<< parameters.trt-version-long>>+<< parameters.cuda-string-version >> libnvinfer-dev=<< parameters.trt-version-long >>+<< parameters.cuda-string-version >> libnvinfer-plugin-dev=<< parameters.trt-version-long>>+<< parameters.cuda-string-version >> libnvinfer-headers-dev=<< parameters.trt-version-long>>+<< parameters.cuda-string-version >> libnvinfer-headers-plugin-dev=<< parameters.trt-version-long>>+<< parameters.cuda-string-version >>
213
210
- install-bazel :
214
211
platform : << parameters.bazel-platform >>
215
- version : << parameters.bazel-version >>
216
212
217
213
setup-py-version :
218
214
description : " Set python version"
@@ -816,8 +812,7 @@ jobs:
816
812
platform : " x86_64"
817
813
cudnn-version : << pipeline.parameters.cudnn-version >>
818
814
trt-version-short : << pipeline.parameters.trt-version-short >>
819
- bazel-version : << pipeline.parameters.bazel-version >>
820
- bazel-platform : " x86_64"
815
+ bazel-platform : " amd64"
821
816
- install-torch-from-index :
822
817
torch-build : << parameters.torch-build >>
823
818
torchvision-build : << parameters.torchvision-build >>
@@ -879,8 +874,7 @@ jobs:
879
874
platform : " x86_64"
880
875
cudnn-version : << parameters.cudnn-version >>
881
876
trt-version-short : << parameters.trt-version-short >>
882
- bazel-version : << pipeline.parameters.bazel-version >>
883
- bazel-platform : " x86_64"
877
+ bazel-platform : " amd64"
884
878
- create-py-env :
885
879
trt-version-long : << parameters.trt-version-long >>
886
880
- install-torch-from-index :
@@ -1114,8 +1108,7 @@ jobs:
1114
1108
platform : " x86_64"
1115
1109
cudnn-version : << pipeline.parameters.cudnn-version >>
1116
1110
trt-version-short : << pipeline.parameters.trt-version-short >>
1117
- bazel-version : << pipeline.parameters.bazel-version >>
1118
- bazel-platform : " x86_64"
1111
+ bazel-platform : " amd64"
1119
1112
- install-torch-from-index :
1120
1113
torch-build : << parameters.torch-build >>
1121
1114
torch-build-index : << parameters.torch-build-index >>
@@ -1186,7 +1179,6 @@ jobs:
1186
1179
architecture : " arm64"
1187
1180
cudnn-version : << pipeline.parameters.cudnn-jetson-version >>
1188
1181
trt-version-short : << pipeline.parameters.trt-jetson-version-short >>
1189
- bazel-version : << pipeline.parameters.bazel-version >>
1190
1182
bazel-platform : " arm64"
1191
1183
- run :
1192
1184
name : Set python version
@@ -1328,9 +1320,6 @@ jobs:
1328
1320
command : echo -e "Packaging stage not enabled"
1329
1321
1330
1322
parameters :
1331
- bazel-version :
1332
- type : string
1333
- default : " 6.2.1"
1334
1323
python-version :
1335
1324
type : string
1336
1325
default : " 3.9.4"
0 commit comments