The highway package contains a C++ library that provides portable SIMD/vector intrinsics.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://github.com/google/highway/archive/1.4.0/highway-1.4.0.tar.gz
MD5 校验和:9d335797777e17f827c7980b8313a34b
大小:3.6 MB
预计所需磁盘空间:41 MB
预计构建时间:0.6 SBU(并行度=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.