1SUMMARY="Efficient and performance-portable SIMD" 2DESCRIPTION="Highway is a C++ library for SIMD (Single Instruction, Multiple \ 3Data), i.e. applying the same operation to 'lanes'. 4 5Why Highway? 6 7- more portable (same source code) than platform-specific intrinsics, 8- works on a wider range of compilers than compiler-specific vector extensions, 9- more dependable than autovectorization, 10- easier to write/maintain than assembly language, 11- supports **runtime dispatch**, 12- supports **variable-length vector** architectures." 13HOMEPAGE="https://github.com/google/highway" 14COPYRIGHT="2020 Google LLC" 15LICENSE="Apache v2" 16REVISION="2" 17SOURCE_URI="https://github.com/google/highway/archive/refs/tags/$portVersion.tar.gz" 18CHECKSUM_SHA256="e1d47ce510429fdcf31f41697ca74fb0dcd59d933196e531a86d51751a56f4cc" 19SOURCE_FILENAME="highway-$portVersion.tar.gz" 20 21ARCHITECTURES="all !x86_gcc2" 22SECONDARY_ARCHITECTURES="x86" 23 24PROVIDES=" 25 highway$secondaryArchSuffix = $portVersion 26 devel:libhwy$secondaryArchSuffix = $portVersion 27 devel:libhwy_contrib$secondaryArchSuffix = $portVersion 28 " 29REQUIRES=" 30 haiku$secondaryArchSuffix 31 " 32 33BUILD_REQUIRES=" 34 haiku${secondaryArchSuffix}_devel 35 " 36BUILD_PREREQUIRES=" 37 cmd:cmake 38 cmd:gcc$secondaryArchSuffix 39 cmd:make 40 " 41 42BUILD() 43{ 44 cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ 45 $cmakeDirArgs \ 46 -DBUILD_TESTING=OFF 47 make -C build $jobArgs 48} 49 50INSTALL() 51{ 52 make -C build install 53 54 prepareInstalledDevelLibs \ 55 libhwy libhwy_contrib 56 fixPkgconfig 57 58 # cleanup 59 rmdir $libDir 60} 61