aboutsummaryrefslogtreecommitdiff
path: root/devel/flang
diff options
context:
space:
mode:
authorJohannes M Dieterich <jmd@FreeBSD.org>2017-07-31 02:33:09 +0000
committerJohannes M Dieterich <jmd@FreeBSD.org>2017-07-31 02:33:09 +0000
commit1cacd5c8ae24fb39b5a603e263498d84b3c4c3b7 (patch)
treea323f8b823ccf6f8ea74dba39d7758a2985e8abb /devel/flang
parent0733d95289429d74284a4f0c76d7d47a37a5f6d1 (diff)
downloadports-1cacd5c8ae24fb39b5a603e263498d84b3c4c3b7.tar.gz
ports-1cacd5c8ae24fb39b5a603e263498d84b3c4c3b7.zip
Notes
Diffstat (limited to 'devel/flang')
-rw-r--r--devel/flang/Makefile11
-rw-r--r--devel/flang/distinfo6
-rw-r--r--devel/flang/files/patch-CMakeLists.txt11
3 files changed, 9 insertions, 19 deletions
diff --git a/devel/flang/Makefile b/devel/flang/Makefile
index a7a153873588..b55c3ebf5cfe 100644
--- a/devel/flang/Makefile
+++ b/devel/flang/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= flang
-DISTVERSION= 3.9-20170522
-PORTREVISION= 1
+DISTVERSION= 4.0-20170717
CATEGORIES= devel
MAINTAINER= jmd@FreeBSD.org
@@ -12,10 +11,10 @@ COMMENT= Fortran compiler targeting LLVM
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= llvm39>=0:devel/llvm39 \
+BUILD_DEPENDS= llvm40>=0:devel/llvm40 \
openmp>=0:devel/openmp \
flang-clang>=0:devel/flang-clang
-RUN_DEPENDS= llvm39>=0:devel/llvm39 \
+RUN_DEPENDS= llvm40>=0:devel/llvm40 \
openmp>=0:devel/openmp \
flang-clang>=0:devel/flang-clang
@@ -33,9 +32,9 @@ USES+= ${_USES_PYTHON}
USE_GITHUB= yes
GH_ACCOUNT= flang-compiler
-GH_TAGNAME= 5af07d4
+GH_TAGNAME= cd44bcd
-CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config39 \
+CMAKE_ARGS+= -DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config40 \
-DCMAKE_CXX_COMPILER=${LOCALBASE}flang/bin/clang++ \
-DCMAKE_C_COMPILER=${LOCALBASE}/flang/bin/clang \
-DCMAKE_Fortran_COMPILER=${LOCALBASE}/flang/bin/flang
diff --git a/devel/flang/distinfo b/devel/flang/distinfo
index 9d5393d0bbfe..a1f73eeb0b7e 100644
--- a/devel/flang/distinfo
+++ b/devel/flang/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1495501996
-SHA256 (flang-compiler-flang-3.9-20170522-5af07d4_GH0.tar.gz) = e0398ba2e01d14dbd23b6cd9f07b66c0072a23468a48490003bbb3dff49895e5
-SIZE (flang-compiler-flang-3.9-20170522-5af07d4_GH0.tar.gz) = 3578945
+TIMESTAMP = 1500383149
+SHA256 (flang-compiler-flang-4.0-20170717-cd44bcd_GH0.tar.gz) = 6d88a8a04fa3897c2d90d556a1018eaed607b7cdb9242fbf54f1282e2d25d6c9
+SIZE (flang-compiler-flang-4.0-20170717-cd44bcd_GH0.tar.gz) = 3582194
diff --git a/devel/flang/files/patch-CMakeLists.txt b/devel/flang/files/patch-CMakeLists.txt
index cf98426a07f2..62c8688913b8 100644
--- a/devel/flang/files/patch-CMakeLists.txt
+++ b/devel/flang/files/patch-CMakeLists.txt
@@ -1,14 +1,5 @@
---- CMakeLists.txt.orig 2017-05-17 00:40:01 UTC
+--- CMakeLists.txt.orig 2017-07-17 19:12:06 UTC
+++ CMakeLists.txt
-@@ -23,7 +23,7 @@ cmake_minimum_required(VERSION 2.8)
- SET(CMAKE_Fortran_COMPILER_WORKS 1)
-
- if( NOT DEFINED TARGET_ARCHITECTURE )
-- execute_process(COMMAND uname -i OUTPUT_STRIP_TRAILING_WHITESPACE
-+ execute_process(COMMAND uname -m OUTPUT_STRIP_TRAILING_WHITESPACE
- OUTPUT_VARIABLE TARGET_ARCHITECTURE)
- execute_process(COMMAND uname -s OUTPUT_STRIP_TRAILING_WHITESPACE
- OUTPUT_VARIABLE TARGET_OS)
@@ -48,6 +48,19 @@ if( ${TARGET_OS} STREQUAL "Linux" )
message("Unsupported architecture: ${TARGET_ARCHITECTURE}" )
return()