Skip to content

Commit

Permalink
dolfin: Remove parallel dependencies for now
Browse files Browse the repository at this point in the history
  • Loading branch information
outpaddling committed Feb 16, 2018
1 parent e62d6bd commit de163b9
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions dolfin/Makefile
Expand Up @@ -22,9 +22,6 @@ LIB_DEPENDS= libboost_math_c99.so:devel/boost-libs \
libamd.so:math/suitesparse \
libumfpack.so:math/suitesparse \
libcholmod.so:math/suitesparse \
libpetsc.so:science/PETSc \
libparmetis.so:math/parmetis \
libscotch.so:cad/scotch \
libsz.so:science/szip
RUN_DEPENDS= ${COMMON_DEPENDS}

Expand Down Expand Up @@ -58,9 +55,9 @@ CMAKE_ARGS+= -DDOLFIN_ENABLE_MPI:BOOL=OFF \
-DDOLFIN_ENABLE_SLEPC:BOOL=OFF \
-DDOLFIN_ENABLE_SLEPC4PY:BOOL=OFF \
-DDOLFIN_ENABLE_TRILINOS:BOOL=OFF \
-DDOLFIN_ENABLE_PARMETIS:BOOL=ON \
-DDOLFIN_ENABLE_SCOTCH:BOOL=ON \
-DDOLFIN_ENABLE_PETSC:BOOL=ON \
-DDOLFIN_ENABLE_PARMETIS:BOOL=OFF \
-DDOLFIN_ENABLE_SCOTCH:BOOL=OFF \
-DDOLFIN_ENABLE_PETSC:BOOL=OFF \
-DDOLFIN_ENABLE_PETSC4PY:BOOL=OFF \
-DDOLFIN_ENABLE_UMFPACK:BOOL=ON \
-DDOLFIN_ENABLE_CHOLMOD:BOOL=ON \
Expand All @@ -70,10 +67,6 @@ CMAKE_ARGS+= -DDOLFIN_ENABLE_MPI:BOOL=OFF \
-DUMFPACK_DIR:PATH=${LOCALBASE} \
-DBLAS_Accelerate_LIBRARY:PATH=${LOCALBASE}/lib/libopenblas.a

# Optional \
-DPETSC_DIR:PATH=${LOCALBASE} \
-DDOLFIN_PKGCONFIG_DIR:PATH=${LOCALBASE}/libdata/pkgconfig \
DV= ${DISTVERSION}
COMMON_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ffc==${DV}:wip/py-ffc@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} \
Expand All @@ -86,13 +79,4 @@ post-patch:
${REINPLACE_CMD} -e "s|'doxygen'|'hide-doxygen'|g" \
${WRKSRC}/cmake/scripts/generate-swig-docstrings.py

# If building with ninja back-end
#post-configure:
# ${REINPLACE_CMD} -e 's| dolfin/swig/[a-z]*/pre\.i| ${WRKSRC}/&|g' \
# ${WRKDIR}/.build/build.ninja
# ${REINPLACE_CMD} -e 's| dolfin/swig/[a-z]*/post\.i| ${WRKSRC}/&|g' \
# ${WRKDIR}/.build/build.ninja
# ${REINPLACE_CMD} -e 's|${WRKSRC}/ |${WRKSRC}/|g' \
# ${WRKDIR}/.build/build.ninja

.include <bsd.port.mk>

0 comments on commit de163b9

Please sign in to comment.