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

name                        arborx
github.setup                arborx ArborX 1.7 v
revision                    0
categories                  math
platforms                   any
supported_archs             noarch
license                     BSD
maintainers                 {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description                 An open-source library designed to provide \
                            performance portable algorithms for geometric search
long_description            ArborX is {*}${description}.

checksums                   rmd160  e1e03d60e26bad363a992c55bed4a8ebc8ade0ea \
                            sha256  e3d9a57a1d7c1ad62f6bbb43fd29a366506f3a16cbbe801c04d10f5fb0dec201 \
                            size    441997
github.tarball_from         archive

depends_lib-append          path:lib/libkokkoscore.dylib:kokkos

# Without this clang cannot find Kokkos:
compiler.cxx_standard       2017
compiler.openmp_version     4.0

variant tests description {Enable tests} {
    PortGroup               boost 1.0

    configure.args-append   -DARBORX_ENABLE_TESTS=ON

    test.run                yes
}
