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

R.setup             cran eddelbuettel RcppSimdJson 0.1.12
revision            0
categories-append   devel
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Rcpp bindings for the simdjson header-only library for JSON parsing
long_description    {*}${description}
homepage            https://github.com/eddelbuettel/rcppsimdjson
checksums           rmd160  a48d613836e592fbb082f5529e6bc10312a01b37 \
                    sha256  ffb9cc8fdc869a4d2a2d1fb90bf0ecd57d7134a287a7ae86e3e0a2668a65753b \
                    size    2066347

# Remove this with the next update. It is a one-time fix.
if {${os.platform} eq "darwin" && ${configure.cxx_stdlib} eq "libc++"} {
    incr revision
}

depends_lib-append  port:R-Rcpp

compiler.cxx_standard 2017

depends_test-append port:R-bit64 \
                    port:R-tinytest

# test_fparse_fload exhibits a few failures on ppc: Error: 12 out of 2969 tests failed.
test.run            yes
