blob: 2bbec655445e54331cc89399943e9420c3af6b08 (
plain) (
tree)
|
|
PORTNAME= f18
DISTVERSION= g20191019
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= jmd@FreeBSD.org
COMMENT= Fortran compiler targeting LLVM
WWW= https://github.com/flang-compiler/f18
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= llvm80>=0:devel/llvm80
RUN_DEPENDS= llvm80>=0:devel/llvm80
USES= cmake:noninja libedit perl5 tar:xz \
shebangfix
_USES_PYTHON?= python:build
USES+= ${_USES_PYTHON}
USE_GITHUB= yes
GH_ACCOUNT= flang-compiler
GH_TAGNAME= 1688bef
SHEBANG_FILES= tools/f18/flang.sh
CC= ${LOCALBASE}/llvm80/bin/clang
CXX= ${LOCALBASE}/llvm80/bin/clang++
CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm80/lib/cmake/llvm \
-DBUILD_WITH_CLANG=${LOCALBASE}/llvm80
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.mk>
|