Update to latest flang code. Note the major bump to libflangrti, as several
symbols were removed.
This commit is contained in:
parent
a92b7c8db2
commit
0ff18b80e8
@ -1,13 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2019/06/14 20:11:07 bcallah Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2019/06/24 15:53:37 bcallah Exp $
|
||||
|
||||
# If you are updating to a new version
|
||||
# (e.g. 7.0->7.1 or 8.0), you need to sync
|
||||
# patches with devel/llvm
|
||||
COMMENT = LLVM Fortran compiler driver
|
||||
DISTNAME = flang-driver-7.0.1.20190530
|
||||
DISTNAME = flang-driver-7.0.1.20190621
|
||||
|
||||
GH_PROJECT = flang-driver
|
||||
GH_COMMIT = 9657654bb154d25382157acdc8730033dcdc62ae
|
||||
GH_COMMIT = 984936abdd04b40140c98ba5e273a3c006780612
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} c m z
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (flang-driver-7.0.1.20190530-9657654b.tar.gz) = AUo57f9HIU1TUdpIrGN0utyjfKxQ+JrG4BGmGRpMTgg=
|
||||
SIZE (flang-driver-7.0.1.20190530-9657654b.tar.gz) = 17650153
|
||||
SHA256 (flang-driver-7.0.1.20190621-984936ab.tar.gz) = wzhTRGnKjMg7RQ6w4E2p1RZ5NCwwF7pWOcZ6AYWaCR0=
|
||||
SIZE (flang-driver-7.0.1.20190621-984936ab.tar.gz) = 17651315
|
||||
|
15
lang/flang/driver/patches/patch-lib_Analysis_CallGraph_cpp
Normal file
15
lang/flang/driver/patches/patch-lib_Analysis_CallGraph_cpp
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-lib_Analysis_CallGraph_cpp,v 1.1 2019/06/24 15:53:37 bcallah Exp $
|
||||
|
||||
Needs endian.h
|
||||
|
||||
Index: lib/Analysis/CallGraph.cpp
|
||||
--- lib/Analysis/CallGraph.cpp.orig
|
||||
+++ lib/Analysis/CallGraph.cpp
|
||||
@@ -11,6 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
+#include <endian.h>
|
||||
#include "clang/Analysis/CallGraph.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/DeclBase.h"
|
@ -1,14 +1,14 @@
|
||||
# $OpenBSD: Makefile,v 1.43 2019/06/14 20:11:07 bcallah Exp $
|
||||
# $OpenBSD: Makefile,v 1.44 2019/06/24 15:53:37 bcallah Exp $
|
||||
|
||||
COMMENT = LLVM Fortran compiler passes and runtime library
|
||||
DISTNAME = flang-7.0.1.20190613
|
||||
DISTNAME = flang-7.0.1.20190622
|
||||
|
||||
SHARED_LIBS += flang 1.5 # 6.0
|
||||
SHARED_LIBS += flangrti 3.0 # 6.0
|
||||
SHARED_LIBS += flangrti 4.0 # 6.0
|
||||
SHARED_LIBS += ompstub 0.0 # 6.0
|
||||
|
||||
GH_PROJECT = flang
|
||||
GH_COMMIT = 5c2ddf0ad6a0ca22e60978259455c22d6a680d09
|
||||
GH_COMMIT = d01767099530eb2e3fe2314cf1d7c826877c88fc
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} aio_compat c execinfo m pgmath z
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (flang-7.0.1.20190613-5c2ddf0a.tar.gz) = 59omNxZIn20+yAX2w983jHSWy8k1QZ8zdqPMnBP8ZY0=
|
||||
SIZE (flang-7.0.1.20190613-5c2ddf0a.tar.gz) = 133188690
|
||||
SHA256 (flang-7.0.1.20190622-d0176709.tar.gz) = LIOLBaJP9xAjO4wAwA05d8GWunG74R3pPp4r+xiDEdU=
|
||||
SIZE (flang-7.0.1.20190622-d0176709.tar.gz) = 133197557
|
||||
|
@ -1,11 +1,11 @@
|
||||
$OpenBSD: patch-lib_scutil_pgnewfil_c,v 1.1.1.1 2017/12/31 18:06:38 bcallah Exp $
|
||||
$OpenBSD: patch-lib_scutil_pgnewfil_c,v 1.2 2019/06/24 15:53:37 bcallah Exp $
|
||||
|
||||
Don't need an extern to time()
|
||||
|
||||
Index: lib/scutil/pgnewfil.c
|
||||
--- lib/scutil/pgnewfil.c.orig
|
||||
+++ lib/scutil/pgnewfil.c
|
||||
@@ -161,7 +161,6 @@ gentmp(char *pfx, char *sfx)
|
||||
@@ -166,7 +166,6 @@ gentmp(char *pfx, char *sfx)
|
||||
|
||||
#else /* }else{ */
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
$OpenBSD: patch-runtime_flangrti_CMakeLists_txt,v 1.5 2018/09/26 18:31:46 bcallah Exp $
|
||||
$OpenBSD: patch-runtime_flangrti_CMakeLists_txt,v 1.6 2019/06/24 15:53:37 bcallah Exp $
|
||||
|
||||
We need -lexecinfo. Use the static version for ease.
|
||||
|
||||
Index: runtime/flangrti/CMakeLists.txt
|
||||
--- runtime/flangrti/CMakeLists.txt.orig
|
||||
+++ runtime/flangrti/CMakeLists.txt
|
||||
@@ -108,6 +108,9 @@ find_library(
|
||||
@@ -107,6 +107,9 @@ find_library(
|
||||
HINTS ${CMAKE_BINARY_DIR}/lib)
|
||||
target_link_libraries(flangrti_shared ${LIBPGMATH})
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
# $OpenBSD: Makefile,v 1.29 2019/06/14 20:11:07 bcallah Exp $
|
||||
# $OpenBSD: Makefile,v 1.30 2019/06/24 15:53:37 bcallah Exp $
|
||||
|
||||
# Sync version with lang/flang/flang always!
|
||||
COMMENT = LLVM Fortran math library
|
||||
DISTNAME = flang-7.0.1.20190613
|
||||
DISTNAME = flang-7.0.1.20190622
|
||||
PKGNAME = ${DISTNAME:S/flang/libpgmath/}
|
||||
|
||||
SHARED_LIBS += pgmath 4.2 # 7.0
|
||||
|
||||
GH_PROJECT = flang
|
||||
GH_COMMIT = 5c2ddf0ad6a0ca22e60978259455c22d6a680d09
|
||||
GH_COMMIT = d01767099530eb2e3fe2314cf1d7c826877c88fc
|
||||
|
||||
WANTLIB += ${COMPILER_LIBCXX} m
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (flang-7.0.1.20190613-5c2ddf0a.tar.gz) = 59omNxZIn20+yAX2w983jHSWy8k1QZ8zdqPMnBP8ZY0=
|
||||
SIZE (flang-7.0.1.20190613-5c2ddf0a.tar.gz) = 133188690
|
||||
SHA256 (flang-7.0.1.20190622-d0176709.tar.gz) = LIOLBaJP9xAjO4wAwA05d8GWunG74R3pPp4r+xiDEdU=
|
||||
SIZE (flang-7.0.1.20190622-d0176709.tar.gz) = 133197557
|
||||
|
Loading…
Reference in New Issue
Block a user