Files

41 lines
1.4 KiB
Tcl
Raw Permalink Normal View History

2022-12-28 03:54:23 +07:00
# -*- 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
2024-01-28 20:59:22 +08:00
github.setup google gemmlowp 16e8662c34917be0065110bfcd9cc27d30f52fdf
version 2023.11.03
2022-12-28 03:54:23 +07:00
categories math
license Apache-2
2026-04-11 19:42:02 +04:00
maintainers nomaintainer
2022-12-28 03:54:23 +07:00
description Low-precision matrix multiplication
long_description This is not a full linear algebra library, only a GEMM library: \
it only does general matrix multiplication.
2024-01-28 20:59:22 +08:00
checksums rmd160 bca0985f1ebdd0a29f73cf937f0fda3c4e54771e \
sha256 c3feb896a1b42595cf9a508ed64ed0dc3cd84fffdb8eed790d02d0534ab322ce \
size 842565
github.tarball_from archive
2022-12-28 03:54:23 +07:00
# This is a header-only library:
supported_archs noarch
2024-01-19 16:52:23 +11:00
platforms any
2022-12-28 03:54:23 +07:00
use_configure no
build {}
destroot {
xinstall -d ${destroot}${prefix}/include/${name}
foreach dir {public fixedpoint eight_bit_int_gemm internal profiling meta} {
file copy ${worksrcpath}/${dir} ${destroot}${prefix}/include/${name}/
}
}
post-destroot {
fs-traverse f ${destroot}${prefix}/include/${name} {
if {[file isfile ${f}]} {
if {[file extension ${f}] == ".cc"} {
delete ${f}
}
}
}
}