intel / collision-avoidance-library

A framework for testing and benchmarking collision avoidance strategies
Apache License 2.0
81 stars 39 forks source link

Bundle all components on a single library #117

Closed mbelluzzo closed 7 years ago

mbelluzzo commented 7 years ago

And install it.

Headers won't be installed yet because we need to review it first.

As a bonus we got some seconds when making with '-j' :-)

[master]$ time cmake .. -DCMAKE_PREFIX_PATH=$HOME/raiz -DWITH_TOOLS=ON -DWITH_GAZEBO=ON -DWITH_VDEBUG=ON -DWITH_SAMPLES=ON
real    0m2.089s
user    0m1.447s
sys 0m0.303s

[master]$ time make
real    0m42.900s
user    0m40.473s
sys 0m2.087s

[master]$ time make -j8
real    0m23.770s
user    0m58.307s
sys 0m2.823s

[master]$ time make -j16
real    0m23.351s
user    0m56.960s
sys 0m2.787s

[libcoav]$ time cmake .. -DCMAKE_PREFIX_PATH=$HOME/raiz -DWITH_TOOLS=ON -DWITH_GAZEBO=ON -DWITH_VDEBUG=ON -DWITH_SAMPLES=ON
real    0m2.054s
user    0m1.440s
sys 0m0.263s

[libcoav]$ time make
real    0m42.929s
user    0m40.600s
sys 0m2.023s

[libcoav]$ time make -j8
real    0m20.273s
user    1m0.007s
sys 0m2.707s

[libcoav]$ time make -j16
real    0m20.570s
user    0m59.423s
sys 0m3.010s
mbelluzzo commented 7 years ago

86