FreeBSD Bugzilla – Attachment 182573 Details for
Bug 219261
math/CoinMP: add a FORTRAN option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
coinmp - add fortran option
math-coinmp.diff (text/plain), 1.37 KB, created by
Pedro F. Giffuni
on 2017-05-13 19:37:04 UTC
(
hide
)
Description:
coinmp - add fortran option
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2017-05-13 19:37:04 UTC
Size:
1.37 KB
patch
obsolete
>Index: math/coinmp/Makefile >=================================================================== >--- math/coinmp/Makefile (revision 440853) >+++ math/coinmp/Makefile (working copy) >@@ -22,8 +22,9 @@ > USE_LDCONFIG= yes > CXXFLAGS+= -ffast-math > >-OPTIONS_DEFINE= DEBUG DOCS GLPK >+OPTIONS_DEFINE= DEBUG DOCS FORTRAN GLPK > >+FORTRAN_DESCR= Use BLAS/LAPACK which involves a fortran interface > GLPK_DESC= GNU Linear Programming Kit support > > PORTDOCS= * >@@ -30,6 +31,10 @@ > > DEBUG_CXXFLAGS= -fomit-frame-pointer > >+FORTRAN_USES= fortran blaslapack >+FORTRAN_CONFIGURE_ON= --with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib" \ >+ --with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib" >+ > GLPK_LIB_DEPENDS= libglpk.so:math/glpk > GLPK_CONFIGURE_ON= --with-gmpl-incdir=${LOCALBASE}/include \ > --with-gmpl-lib="-L${LOCALBASE}/lib -lglpk" >@@ -38,6 +43,9 @@ > STRIP_FILES= libCoinUtils libOsi libOsiClp libOsiCommonTests libClp libClpSolver \ > libCgl libCbc libCbcSolver libOsiCbc libCoinMP > >+TEST_TARGET= unitTest >+TEST_WRKSRC= ${WRKSRC}/${PORTNAME} >+ > post-patch:: > @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ > -e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g' \ >@@ -53,8 +61,4 @@ > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${filename}.so.* > .endfor > >-check regression-test test: build >- ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ >- ${MAKE_ARGS} test -C ${WRKSRC} >- > .include <bsd.port.mk>
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
Flags:
cpm
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 219261
: 182573