We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a99df3 + 5e87834 commit 844fbddCopy full SHA for 844fbdd
1 file changed
build/ubuntu/packages.sh
@@ -6,11 +6,9 @@ machine=$(uname -m)
6
7
. /etc/os-release
8
9
-if [[ "$VERSION_ID" == "21.10" ]]; then
10
- if [[ "$machine" != "x86_64" ]]; then
11
- PACKAGES+=" crossbuild-essential-amd64"
12
- fi
+major="${VERSION_ID%%.*}"
13
+if [[ "$major" -ge 21 ]]; then
14
PACKAGES+=" clang llvm"
15
fi
16
@@ -22,6 +20,11 @@ if [[ "$machine" == "ppc64le" ]]; then
22
20
PACKAGES+=" libhugetlbfs-dev"
23
21
PACKAGES+=" libmnl-dev"
24
PACKAGES+=" libmount-dev"
+
+ # For the x86_64 container
25
+ if [[ "$VERSION_ID" == "21.10" ]]; then
26
+ PACKAGES+=" crossbuild-essential-amd64"
27
+ fi
28
else
29
PACKAGES+=" gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu"
30
0 commit comments