Skip to content

Commit

Permalink
exlude arm for 11.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AyodeAwe committed Aug 21, 2023
1 parent 0029b3a commit 065ced6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions ci/compute-matrix.jq
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
def compute_arch($x):
["amd64"] |
if
["ubuntu18.04", "centos7"] | index($x.LINUX_VER) != null
$x.CUDA_VER > "11.2.2" and
$x.LINUX_VER != "centos7"
then
.
else
. + ["arm64"]
else
.
end |
$x + {ARCHES: .};

Expand Down
2 changes: 1 addition & 1 deletion ci/compute-matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ case "${BUILD_TYPE}" in
;;
esac

yq -o json matrix.yaml | jq -c 'include "ci/compute-matrix"; compute_matrix(.)'
yq -o json '. | del(.LATEST_VERSIONS)' matrix.yaml | jq -c 'include "ci/compute-matrix"; compute_matrix(.)'

0 comments on commit 065ced6

Please sign in to comment.