From 0a47c82ce58d9cda9f23ec2829c99c7bfc1753a9 Mon Sep 17 00:00:00 2001 From: Diogo Mendes Matsubara Date: Thu, 31 Oct 2024 08:29:06 +0100 Subject: [PATCH] fix: pass DEBARCH in build script Avoids the debian package having an invalid debian architecture --- ci/scripts/build.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/scripts/build.bash b/ci/scripts/build.bash index aa09d78..cad280f 100644 --- a/ci/scripts/build.bash +++ b/ci/scripts/build.bash @@ -18,7 +18,8 @@ readonly archive_rpm=$out/$repo_name-$version-rpm.zip # Make packages into build/packages mkdir -p build cd build -cmake -DZENOHCXX_ZENOHC=OFF .. +# For now we only build for x86_64 +cmake -DDEBARCH=x86_64 -DZENOHCXX_ZENOHC=OFF .. cpack cpack -G DEB cpack -G RPM