From 443e836030631cceb673d40d2e6c0469a1c8e6ad Mon Sep 17 00:00:00 2001 From: Johannes M Dieterich Date: Thu, 6 Sep 2018 20:11:06 +0000 Subject: devel/flang[-clang]: update to later snapshots This introduces flang-driver, a clang6-derived driver / companion compiler, and uses math/libpgmath as the math library backend. Notably, the latter currently limits us to 12-CURRENT. Patches are a combination of carry-over and adapted OpenBSD ones. While there, pet portlint. Reviewed by: zeising (mentor), mat Approved by: zeising (mentor) Obtained from: Brian Callahan (bcallah@openbsd.org) with adaptations Differential Revision: https://reviews.freebsd.org/D17036 --- devel/flang/files/patch-runtime_include_mthdecls.h | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 devel/flang/files/patch-runtime_include_mthdecls.h (limited to 'devel/flang/files/patch-runtime_include_mthdecls.h') diff --git a/devel/flang/files/patch-runtime_include_mthdecls.h b/devel/flang/files/patch-runtime_include_mthdecls.h deleted file mode 100644 index 298a460da21a..000000000000 --- a/devel/flang/files/patch-runtime_include_mthdecls.h +++ /dev/null @@ -1,29 +0,0 @@ ---- runtime/include/mthdecls.h.orig 2017-10-19 11:03:03 UTC -+++ runtime/include/mthdecls.h -@@ -536,19 +536,6 @@ double __mth_i_dbessel_y1(double arg); - double __mth_i_dbessel_yn(int n, double arg); - double __f90_dbessel_yn(int n1, int n, double d); - --#if ! defined (TARGET_X8664) && ! defined(LINUX8664) --/* -- * See explanation below for rationale behind the two flavors of __mth_sincos. -- */ --static inline void __mth_sincos(float angle, float *s, float *c) -- __attribute__((always_inline)); --static inline void __mth_dsincos(double angle, double *s, double *c) -- __attribute__((always_inline)); --#else /* ! defined (TARGET_X8664) && ! defined(LINUX8664) */ --void __mth_sincos(float, float *, float *); --void __mth_dsincos(double, double *, double *); --#endif /* ! defined (TARGET_X8664) && ! defined(LINUX8664) */ -- - FLTDECL_C(__mth_i_cabs); - CMPLXDECL_C(__mth_i_cacos); - CMPLXDECL_C(__mth_i_casin); -@@ -657,6 +644,3 @@ extern complex double ctan(complex double); - * have a version of __mth_sincos, even if it is not external available - * during the build process. - */ -- --#define __mth_sincos(_a,_s,_c) sincosf(_a,_s,_c) --#define __mth_dsincos(_a,_s,_c) sincos(_a,_s,_c) -- cgit v1.2.3