FreeBSD Bugzilla – Attachment 197087 Details for
Bug 231163
math/fftw3: Make options OPENMP and OPENMPI default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
science/cp2k openmp safeguard
cp2k.diff (text/plain), 1.13 KB, created by
Jason E. Hale
on 2018-09-14 07:46:13 UTC
(
hide
)
Description:
science/cp2k openmp safeguard
Filename:
MIME Type:
Creator:
Jason E. Hale
Created:
2018-09-14 07:46:13 UTC
Size:
1.13 KB
patch
obsolete
>Index: science/cp2k/Makefile >=================================================================== >--- science/cp2k/Makefile (revision 479760) >+++ science/cp2k/Makefile (working copy) >@@ -43,7 +43,6 @@ > SERIAL_VARS= VERSION=sopt > > OPENMP_VARS= VERSION=ssmp >-OPENMP_BROKEN= undefined reference to `dfftw_plan_with_nthreads_': https://github.com/cp2k/cp2k/issues/12 (need OPENMP=on in math/fftw3 ?) > > MPI_VARS= VERSION=popt > MPI_LIB_DEPENDS= libmpich.so:net/mpich2 \ >@@ -52,10 +51,20 @@ > OPENMP_MPI_DESC= Enable both OpenMP and MPI > OPENMP_MPI_VARS= VERSION=psmp > OPENMP_MPI_LIB_DEPENDS= ${MPI_LIB_DEPENDS} >-OPENMP_MPI_BROKEN= ${OPENMP_BROKEN} > > PLIST_FILES= bin/${PORTNAME} > >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MOPENMP} || ${PORT_OPTIONS:MOPENMP_MPI} >+pre-configure: >+ @(if [ ! -e ${LOCALBASE}/lib/libfftw3_omp.so ] ; then \ >+ ${ECHO_MSG} "The OPENMP and OPENMP_MPI options require math/fftw3" ; \ >+ ${ECHO_MSG} "to be built and installed with the OPENMP option ON" ; \ >+ exit 1; \ >+ fi) >+.endif >+ > post-patch: > @${REINPLACE_CMD} 's|LIBS.*=.*|& ${LDFLAGS}|; s|^FCFLAGS.*=.*|& -I${LOCALBASE}/include|' ${WRKSRC}/arch/FreeBSD-* >
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:
yuri
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 231163
:
196873
| 197087