blob: 977395637522cee56989c5d4fe11354f62619271 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: Johannes M Dieterich <jmd@FreeBSD.org>
# $FreeBSD$
PORTNAME= libpgmath
DISTVERSION= g20180904
CATEGORIES= math
MAINTAINER= jmd@FreeBSD.org
COMMENT= Compiler-callable math intrinsics library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
ONLY_FOR_ARCHS= amd64
IGNORE_FreeBSD_11= not supported on older than 12.0, no cpuid bit support
BUILD_DEPENDS= llvm60>=0:devel/llvm60
RUN_DEPENDS= llvm60>=0:devel/llvm60
USES= cmake:outsource compiler:c++11-lib
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= flang-compiler
GH_PROJECT= flang
GH_TAGNAME= 53e368b
CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config60 \
-DCMAKE_CXX_COMPILER=${LOCALBASE}/llvm60/bin/clang++ \
-DCMAKE_C_COMPILER=${LOCALBASE}/llvm60/bin/clang
WRKSRC_SUBDIR= runtime/libpgmath
PLIST_FILES= lib/libpgmath.a \
lib/libpgmath.so
.include <bsd.port.mk>
|