# Description: X Single Instruction, Multiple Data # URL: https://github.com/QuantStack/xsimd # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: doctest name=xsimd version=13.0.0 release=1 source=(https://github.com/xtensor-stack/xsimd/archive/$version/$name-$version.tar.gz) build() { cmake -S $name-$version -B build \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_C_FLAGS_RELEASE="$CFLAGS" \ -DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ -Wno-dev cmake --build build DESTDIR="$PKG" cmake --install build }