# -*- 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           cmake   1.1
PortGroup           github  1.0

github.setup        Maratyszcza FP16 3d2de1816307bac63c16a297e8c4dc501b4076df
name                fp16
version             20250816
github.tarball_from archive
revision            0

categories          devel
platforms           any
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         Header-only library for half-precision float conversion
long_description    FP16 is a header-only library for conversion to and from \
                    half-precision floating-point formats.

checksums           rmd160  95c567ae9cf0c3664e5f119dcae4c966b45fc1a0 \
                    sha256  65ace2f05fd9434b0acb7a7d3cc6cd96842ea6236b680594af932b359bedbfc1 \
                    size    64715

configure.args-append \
                    -DFP16_BUILD_TESTS=OFF \
                    -DFP16_BUILD_BENCHMARKS=OFF \
                    -DFP16_BUILD_COMPARATIVE_BENCHMARKS=OFF \
                    -DFP16_INSTALL_LIBRARY=ON
