@@ -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 :
@@ -207,12 +207,9 @@ commands:
207
207
trt-version-long :
208
208
type : string
209
209
default : " 8.6.1.6-1"
210
- bazel-version :
211
- type : string
212
- default : " 6.2.1"
213
210
bazel-platform :
214
211
type : string
215
- default : " x86_64 "
212
+ default : " amd64 "
216
213
steps :
217
214
- install-cudnn :
218
215
os : << parameters.os >>
@@ -229,7 +226,6 @@ commands:
229
226
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 >>
230
227
- install-bazel :
231
228
platform : << parameters.bazel-platform >>
232
- version : << parameters.bazel-version >>
233
229
234
230
setup-py-version :
235
231
description : " Set python version"
@@ -830,8 +826,7 @@ jobs:
830
826
platform : " x86_64"
831
827
cudnn-version : << pipeline.parameters.cudnn-version >>
832
828
trt-version-short : << pipeline.parameters.trt-version-short >>
833
- bazel-version : << pipeline.parameters.bazel-version >>
834
- bazel-platform : " x86_64"
829
+ bazel-platform : " amd64"
835
830
- install-torch-from-index :
836
831
torch-build : << parameters.torch-build >>
837
832
torchvision-build : << parameters.torchvision-build >>
@@ -893,8 +888,7 @@ jobs:
893
888
platform : " x86_64"
894
889
cudnn-version : << parameters.cudnn-version >>
895
890
trt-version-short : << parameters.trt-version-short >>
896
- bazel-version : << pipeline.parameters.bazel-version >>
897
- bazel-platform : " x86_64"
891
+ bazel-platform : " amd64"
898
892
- create-py-env :
899
893
trt-version-long : << parameters.trt-version-long >>
900
894
- install-torch-from-index :
@@ -1128,8 +1122,7 @@ jobs:
1128
1122
platform : " x86_64"
1129
1123
cudnn-version : << pipeline.parameters.cudnn-version >>
1130
1124
trt-version-short : << pipeline.parameters.trt-version-short >>
1131
- bazel-version : << pipeline.parameters.bazel-version >>
1132
- bazel-platform : " x86_64"
1125
+ bazel-platform : " amd64"
1133
1126
- install-torch-from-index :
1134
1127
torch-build : << parameters.torch-build >>
1135
1128
torch-build-index : << parameters.torch-build-index >>
@@ -1200,7 +1193,6 @@ jobs:
1200
1193
architecture : " arm64"
1201
1194
cudnn-version : << pipeline.parameters.cudnn-jetson-version >>
1202
1195
trt-version-short : << pipeline.parameters.trt-jetson-version-short >>
1203
- bazel-version : << pipeline.parameters.bazel-version >>
1204
1196
bazel-platform : " arm64"
1205
1197
- run :
1206
1198
name : Set python version
@@ -1263,7 +1255,7 @@ jobs:
1263
1255
platform : " x86_64"
1264
1256
cudnn-version : << parameters.cudnn-version >>
1265
1257
trt-version-short : << parameters.trt-version-short >>
1266
- bazel-platform : " x86_64 "
1258
+ bazel-platform : " amd64 "
1267
1259
- install-cmake :
1268
1260
version : 3.24.1
1269
1261
- install-torch-from-index :
@@ -1342,9 +1334,6 @@ jobs:
1342
1334
command : echo -e "Packaging stage not enabled"
1343
1335
1344
1336
parameters :
1345
- bazel-version :
1346
- type : string
1347
- default : " 6.2.1"
1348
1337
python-version :
1349
1338
type : string
1350
1339
default : " 3.9.4"
0 commit comments