Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

provision: Add support for aarch64 ubuntu/debian.

Gilbert Bishop-White11257933b393
diff --git a/tools/lib/provision.py b/tools/lib/provision.py
index 1df135110b1..e3cb0a043e7 100755
--- a/tools/lib/provision.py
+++ b/tools/lib/provision.py
@@ -202,6 +202,12 @@ elif "debian" in os_families():
if distro_info["VERSION_CODENAME"] == "bullseye":
DEBIAN_DEPENDECIES.remove("libappindicator1")
DEBIAN_DEPENDECIES.append("libgroonga0")
+
+ # If we are on an aarch64 processor, ninja will be built from source,
+ # so cmake is required
+ if platform.machine() == "aarch64":
+ DEBIAN_DEPENDECIES.append("cmake")
+
SYSTEM_DEPENDENCIES = [
*DEBIAN_DEPENDECIES,
f"postgresql-{POSTGRESQL_VERSION}",