The highway package contains a C++ library that provides portable SIMD/vector intrinsics.
This package is known to build and work properly using an LFS 12.2 platform.
Download (HTTP): https://github.com/google/highway/archive/1.2.0/highway-1.2.0.tar.gz
Download MD5 sum: 8b3d090a2d081730b40bca5ae0d65f11
Download size: 2.1 MB
Estimated disk space required: 21 MB
Estimated build time: 0.8 SBU (with parallelism=4)
Install highway by running the following commands:
mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_BUILD_TYPE=Release \ -D BUILD_TESTING=OFF \ -D BUILD_SHARED_LIBS=ON \ -G Ninja .. && ninja
This package does come with a test suite, but it requires gtest, which is not in BLFS.
Now, as the root
user:
ninja install
-D BUILD_TESTING=OFF
: This
parameter disables the test suite from being built because
gtest is not part of
BLFS. Without this parameter, CMake will download this package
during the configuration process. If you wish to run the tests,
install gtest and then remove
this parameter.
-D BUILD_SHARED_LIBS=ON
:
This parameter enables building shared versions of the libraries
instead of static versions.