mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Johannes M Dieterich <jmd@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= flang-clang
|
|
DISTVERSION= 5.0-20180506
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel lang
|
|
|
|
MAINTAINER= jmd@FreeBSD.org
|
|
COMMENT= Fortran compiler targeting LLVM (modified clang part)
|
|
|
|
LICENSE= LLVM
|
|
LICENSE_NAME= LLVM Release License
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
BUILD_DEPENDS= llvm50>=0:devel/llvm50
|
|
RUN_DEPENDS= llvm50>=0:devel/llvm50
|
|
|
|
ONLY_FOR_ARCHS= amd64
|
|
ONLY_FOR_ARCHS_REASON_amd64= for now only builds and is supported on amd64
|
|
|
|
USE_LDCONFIG= ${PREFIX}/flang/lib
|
|
USES= cmake:outsource compiler:c++11-lib libedit tar:xz perl5 \
|
|
python shebangfix
|
|
|
|
USE_GNOME+= libxml2
|
|
|
|
SHEBANG_FILES= tools/scan-view/bin/scan-view \
|
|
tools/clang-format/git-clang-format \
|
|
tools/clang-format/clang-format-diff.py
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= flang-compiler
|
|
GH_PROJECT= clang
|
|
GH_TAGNAME= 64043d5
|
|
|
|
CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config50
|
|
|
|
CMAKE_INSTALL_PREFIX= ${PREFIX}/flang
|
|
|
|
post-install:
|
|
@${GZIP_CMD} ${STAGEDIR}/${PREFIX}/flang/man/man1/scan-build.1
|
|
.include <bsd.port.mk>
|