Shared library object now uses position independent code.
make install now installs cpu_features library along with spoa library.
Test Plan:
# Generate Shared Library
cmake /path/to/spoa -DBUILD_SHARED_LIBS=ON -Dspoa_generate_dispatch=ON
make all
sudo make install # Verfied that libspoa.so and libcpu_features.so are installed in /usr/local/lib/
# Generate Static Library
cmake /path/to/spoa -DBUILD_SHARED_LIBS=OFF -Dspoa_generate_dispatch=ON
make all
sudo make install # Verified that libspoa.a and libcpu_features.a are installed in /usrl/local/lib/
make install
now installscpu_features
library along withspoa
library.Test Plan: