1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/math/libpgmath/Makefile
2019-10-21 00:19:52 +00:00

40 lines
881 B
Makefile

# Created by: Johannes M Dieterich <jmd@FreeBSD.org>
# $FreeBSD$
PORTNAME= libpgmath
DISTVERSION= g20191020
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= jmd@FreeBSD.org
COMMENT= Compiler-callable math intrinsics library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
ONLY_FOR_ARCHS= amd64
LLVM_VER= 70
BUILD_DEPENDS= llvm${LLVM_VER}>=0:devel/llvm${LLVM_VER}
RUN_DEPENDS= llvm${LLVM_VER}>=0:devel/llvm${LLVM_VER}
USES= cmake
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= flang-compiler
GH_PROJECT= flang
GH_TAGNAME= d07daf3
CC= ${LOCALBASE}/llvm${LLVM_VER}/bin/clang
CXX= ${LOCALBASE}/llvm${LLVM_VER}/bin/clang++
CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER} -DLIBPGMATH_LLVM_LIT_EXECUTABLE=${LOCALBASE}/llvm${LLVM_VER}/bin/llvm-lit
WRKSRC_SUBDIR= runtime/libpgmath
PLIST_FILES= lib/libpgmath.a \
lib/libpgmath.so
.include <bsd.port.mk>