!7 [sync] PR-4: Optimize parallel compilation

From: @openeuler-sync-bot
Reviewed-by: @anchuanxu
Signed-off-by: @anchuanxu
This commit is contained in:
openeuler-ci-bot 2021-05-13 09:19:46 +08:00 committed by Gitee
commit 3a1b46a944

View File

@ -1,6 +1,6 @@
Name: nodelet_core Name: nodelet_core
Version: 1.9.16 Version: 1.9.16
Release: 2 Release: 3
Summary: This is ROS melodic nodelet_core Package Summary: This is ROS melodic nodelet_core Package
License: GPL License: GPL
URL: https://github.com/ros-gbp/nodelet_core-release/archive/release/melodic/nodelet_core URL: https://github.com/ros-gbp/nodelet_core-release/archive/release/melodic/nodelet_core
@ -102,7 +102,7 @@ cd console_bridge/
mkdir build/ mkdir build/
cd build/ cd build/
cmake .. cmake ..
make make %{?_smp_mflags}
make install make install
cd .. cd ..
cd .. cd ..
@ -112,7 +112,7 @@ mkdir cmake-build/
mkdir cmake-release/ mkdir cmake-release/
cd cmake-build/ cd cmake-build/
cmake .. cmake ..
make -j8 make %{?_smp_mflags}
make install make install
cd .. cd ..
cd .. cd ..
@ -122,7 +122,7 @@ cd tinyxml2/
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
make -j5 make %{?_smp_mflags}
make install make install
cd .. cd ..
cd .. cd ..
@ -148,7 +148,7 @@ cd orocos_kdl/
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
make install make %{?_smp_mflags} install
cd .. cd ..
cd .. cd ..
@ -164,7 +164,7 @@ cd ..
#compile #compile
./src/catkin/bin/catkin_make_isolated ./src/catkin/bin/catkin_make_isolated %{?_smp_mflags}
#install #install
@ -181,6 +181,9 @@ echo %{buildroot}
#/usr/lib/share/catkin/cmake/* #/usr/lib/share/catkin/cmake/*
%changelog %changelog
* Tue Apr 27 2021 maminjie <maminjie1@huawei.com> - 1.9.16-3
- Optimize parallel compilation
* Sat Feb 20 2021 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.9.16-2 * Sat Feb 20 2021 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.9.16-2
- Add compilation dependency python3-unversioned-command - Add compilation dependency python3-unversioned-command