# -*- 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

PortSystem          1.0
PortGroup           github 1.0
PortGroup           cmake 1.1

github.setup        clMathLibraries clBLAS 2.12 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball

name                clblas
categories          math
license             Apache

maintainers         {stromnov @stromnov} openmaintainer

description         A software library containing BLAS functions written in OpenCL
long_description    {*}${description}

checksums           rmd160  f9e1ab41a1975cd236e7cd4a0b0f14cdcb7e3336 \
                    sha256  69b08331459acb273305c287c6bd67345df9807d2f50e9eca933abac1cc12442

worksrcdir          ${distname}/src

configure.args-append \
                    -DBUILD_RUNTIME=ON \
                    -DBUILD_TEST=OFF \
                    -DBUILD_PERFORMANCE=OFF \
                    -DBUILD_SAMPLE=OFF \
                    -DBUILD_CLIENT=OFF \
                    -DBUILD_KTEST=ON \
                    -DBUILD_SHARED_LIBS=ON
