Files

41 lines
1.5 KiB
Tcl
Raw Permalink Normal View History

2020-02-22 10:31:58 -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
PortGroup makefile 1.0
PortGroup muniversal 1.1
2020-02-22 10:31:58 -07:00
2024-11-10 22:24:37 +08:00
github.setup JuliaMath openlibm 0.8.4 v
2024-06-20 07:45:46 +08:00
revision 0
2020-02-22 10:31:58 -07:00
categories math devel
license MIT ISCL BSD LGPL-2.1+
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description high quality system independent, portable, open source libm implementation
long_description OpenLibm is an effort to have a high quality, portable, standalone C mathematical library (libm).
homepage https://openlibm.org
2024-11-10 22:24:37 +08:00
checksums rmd160 e3a6784e87e2346e82f847fdb517ec2dcc860d0d \
sha256 c0bac12a6596f2315341790a7f386f9162a5b1f98db9ec40d883fce64e231942 \
size 373409
2020-02-22 10:31:58 -07:00
2024-06-20 07:45:46 +08:00
github.tarball_from archive
2023-05-05 11:25:38 -07:00
2020-02-22 10:31:58 -07:00
foreach phase {build destroot test} {
${phase}.args-append prefix=${prefix}
}
foreach phase {build destroot test} {
foreach arch ${muniversal.architectures} {
${phase}.args.${arch}-append ARCH=${arch}
}
2020-02-22 10:31:58 -07:00
}
if {[string match *clang* ${configure.compiler}]} {
build.args-append USECLANG=1
build.args-append USEGCC=0
} else {
build.args-append USECLANG=0
build.args-append USEGCC=1
}