Skip to content

Commit

Permalink
Fix debian/rules bug in aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Jun 20, 2024
1 parent 050fa61 commit bf9e272
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ override_dh_auto_configure:
-DCMAKE_BUILD_TYPE=Release -DBUILD_APP=OFF

override_dh_auto_build:
cmake --build $(BUILD_DIR) --config Release --parallel $(if "`cat /proc/cpuinfo |grep 'cpu cores' |wc -l`", `cat /proc/cpuinfo |grep 'cpu cores' |wc -l`, 1)
cmake --build $(BUILD_DIR) --config Release \
--parallel $(if "`cat /proc/cpuinfo |grep 'processor' |wc -l`", `cat /proc/cpuinfo |grep 'processor' |wc -l`, 1)

override_dh_auto_install:
cmake --install $(BUILD_DIR) --config Release \
Expand Down

0 comments on commit bf9e272

Please sign in to comment.