# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# although Volk does not technically require C++11, forcing the use of
# modern compilers reduces build failures. Also, it will require C++11
# in the future, so let's just get on the bandwagon early.
maintainers {michaelld @michaelld}
description Vector-Optimized Library of Kernels
long_description VOLK is the Vector-Optimized Library of Kernels, a library that contains kernels of hand-written single-instruction multiple data (SIMD) code for different mathematical operations, providing portable SIMD code that is optimized for a variety of platforms.
if {${name} eq ${subport}} {
github.setup gnuradio volk 1.4 v
rmd160 cf9e7a2a6d981871cc3321135f2f97fa872da94f \
sha256 369dffa2ad16c0439f72bdb6d948d91a66cc274388e3bb343e1c19348dcb0ead \
# bump the epoch because I moved the version from 20150707 to 1.0.1
long_description ${long_description} ${subport} \
provides the release version, which is typically updated every month or so.
github.setup gnuradio volk 8dbffe93a07e184d54599f08ffbf48894bc35c07
rmd160 3769a848cc014dbbc5f2f559e28b8b98cfa1343d \
sha256 7ebcf74bef2de539e99b2568a64f152fb54eb2a64aee33a2442bbda48023f92a \
long_description ${long_description} ${subport} \
provides the Volk GIT maint or master branch, depending on which is more advanced, and is typically updated every few days to week.
# fix include_directories ordering so-as to pick up project
# headers before external headers. allows for in-place building
# while a prior version is already installed.
patchfiles-append patch-CMakeLists.txt.diff
# fix naming of *Clang compiler to just "Clang" for internal use
patchfiles-append patch-fix-clang.diff
# fix C++11 for internal use only
patchfiles-append patch-fix-cxx11.diff