Skip to content

Commit

Permalink
fix: pass DEBARCH in build script
Browse files Browse the repository at this point in the history
Avoids the debian package having an invalid debian architecture
  • Loading branch information
diogomatsubara committed Oct 31, 2024
1 parent dc3e905 commit 0a47c82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/scripts/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a47c82

Please sign in to comment.