!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
Version: 1.9.16
Release: 2
Release: 3
Summary: This is ROS melodic nodelet_core Package
License: GPL
URL: https://github.com/ros-gbp/nodelet_core-release/archive/release/melodic/nodelet_core
@ -102,7 +102,7 @@ cd console_bridge/
mkdir build/
cd build/
cmake ..
make
make %{?_smp_mflags}
make install
cd ..
cd ..
@ -112,7 +112,7 @@ mkdir cmake-build/
mkdir cmake-release/
cd cmake-build/
cmake ..
make -j8
make %{?_smp_mflags}
make install
cd ..
cd ..
@ -122,7 +122,7 @@ cd tinyxml2/
mkdir build
cd build
cmake ..
make -j5
make %{?_smp_mflags}
make install
cd ..
cd ..
@ -148,7 +148,7 @@ cd orocos_kdl/
mkdir build
cd build
cmake ..
make install
make %{?_smp_mflags} install
cd ..
cd ..
@ -164,7 +164,7 @@ cd ..
#compile
./src/catkin/bin/catkin_make_isolated
./src/catkin/bin/catkin_make_isolated %{?_smp_mflags}
#install
@ -181,6 +181,9 @@ echo %{buildroot}
#/usr/lib/share/catkin/cmake/*
%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
- Add compilation dependency python3-unversioned-command