FreeBSD Bugzilla – Attachment 183857 Details for
Bug 220313
Uses/fortran.mk: Support fortran:flang argument to use devel/flang instead of gfortran
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
fortran.patch (text/plain), 937 bytes, created by
Yuri Victorovich
on 2017-06-27 18:37:45 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2017-06-27 18:37:45 UTC
Size:
937 bytes
patch
obsolete
>Index: Uses/fortran.mk >=================================================================== >--- Uses/fortran.mk (revision 444511) >+++ Uses/fortran.mk (working copy) >@@ -5,6 +5,7 @@ > # Feature: fortran > # Usage: USES=fortran > # Valid ARGS: gcc (default) >+# flang > # > # MAINTAINER: fortran@FreeBSD.org > >@@ -26,9 +27,20 @@ > FCFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} > LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER} \ > -L${LOCALBASE}/lib/gcc${_GCC_VER} -B${LOCALBASE}/bin >+ > .else >+.if ${fortran_ARGS} == flang >+BUILD_DEPENDS+= flang:devel/flang >+RUN_DEPENDS+= flang:devel/flang >+USE_BINUTILS= yes >+F77= flang >+FC= flang >+LDFLAGS+= -L${LOCALBASE}/flang/lib -lflang -lexecinfo >+ >+.else > IGNORE= USES=fortran: invalid arguments: ${fortran_ARGS} > .endif >+.endif > > CONFIGURE_ENV+= F77="${F77}" FC="${FC}" FFLAGS="${FFLAGS}" FCFLAGS="${FCFLAGS}" > MAKE_ENV+= F77="${F77}" FC="${FC}" FFLAGS="${FFLAGS}" FCFLAGS="${FCFLAGS}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220313
: 183857