Skip to content

Commit c5224cd

Browse files
committedSep 26, 2022
Point automatic download script to to ARMv8.0 compat build
- follow-up to ClickHouse#41610 - universal.sh downloads a the correct ClickHouse binary for the current platform - For Linux/Aarch64, point to v8.0 compat build for maximum compatibility. Also add property static_binary_name (ci_config.py) so that the binary can be placed into the right location. - Remove the unsupported combinations FreeBSD Aarch64 and PPC for which we provide no binaries.
1 parent 62ebf39 commit c5224cd

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed
 

‎docs/_includes/install/universal.sh

+2-8
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ then
1212
DIR="amd64"
1313
elif [ "${ARCH}" = "aarch64" -o "${ARCH}" = "arm64" ]
1414
then
15-
DIR="aarch64"
15+
DIR="aarch64v80compat" # ARMv8.0 for maximum compatibility
1616
elif [ "${ARCH}" = "powerpc64le" -o "${ARCH}" = "ppc64le" ]
1717
then
1818
DIR="powerpc64le"
@@ -22,12 +22,6 @@ then
2222
if [ "${ARCH}" = "x86_64" -o "${ARCH}" = "amd64" ]
2323
then
2424
DIR="freebsd"
25-
elif [ "${ARCH}" = "aarch64" -o "${ARCH}" = "arm64" ]
26-
then
27-
DIR="freebsd-aarch64"
28-
elif [ "${ARCH}" = "powerpc64le" -o "${ARCH}" = "ppc64le" ]
29-
then
30-
DIR="freebsd-powerpc64le"
3125
fi
3226
elif [ "${OS}" = "Darwin" ]
3327
then
@@ -42,7 +36,7 @@ fi
4236

4337
if [ -z "${DIR}" ]
4438
then
45-
echo "The '${OS}' operating system with the '${ARCH}' architecture is not supported."
39+
echo "Operating system '${OS}' / architecture '${ARCH}' is unsupported."
4640
exit 1
4741
fi
4842

‎tests/ci/ci_config.py

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
"build_type": "",
137137
"sanitizer": "",
138138
"package_type": "binary",
139+
"static_binary_name": "aarch64v80compat",
139140
"libraries": "static",
140141
"tidy": "disable",
141142
"with_coverage": False,

0 commit comments

Comments
 (0)
Please sign in to comment.