svn commit: r470531 - in head/math: . petiga petiga/files
Yuri Victorovich
yuri at FreeBSD.org
Mon May 21 11:10:12 UTC 2018
Author: yuri
Date: Mon May 21 11:10:10 2018
New Revision: 470531
URL: https://svnweb.freebsd.org/changeset/ports/470531
Log:
New port: math/petiga: Framework for High Performance Isogeometric Analysis
Added:
head/math/petiga/
head/math/petiga/Makefile (contents, props changed)
head/math/petiga/distinfo (contents, props changed)
head/math/petiga/files/
head/math/petiga/files/patch-CMakeLists.txt (contents, props changed)
head/math/petiga/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Mon May 21 11:00:41 2018 (r470530)
+++ head/math/Makefile Mon May 21 11:10:10 2018 (r470531)
@@ -620,6 +620,7 @@
SUBDIR += pecl-stats
SUBDIR += pecl-stats2
SUBDIR += pecl-trader
+ SUBDIR += petiga
SUBDIR += php56-bcmath
SUBDIR += php56-gmp
SUBDIR += php70-bcmath
Added: head/math/petiga/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/petiga/Makefile Mon May 21 11:10:10 2018 (r470531)
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME= petiga
+DISTVERSION= g20180518
+CATEGORIES= math python
+MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Framework for High Performance Isogeometric Analysis
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.rst
+
+BROKEN_FreeBSD_10= SSE instruction set not enabled
+
+LIB_DEPENDS= libblas.so:math/blas \
+ liblapack.so:math/lapack \
+ libmpich.so:net/mpich2 \
+ libpetsc.so:science/PETSc
+
+BB_ACCOUNT= dalcinl
+BB_PROJECT= ${PORTNAME}
+BB_COMMIT= e2a59b1ba054
+
+WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
+
+USES= cmake:outsource fortran
+USE_XORG= x11
+USE_LDCONFIG= yes
+
+PLIST_FILES= include/petiga.h \
+ lib/libpetiga.so \
+ lib/petiga/conf/rules \
+ lib/petiga/conf/test \
+ lib/petiga/conf/variables
+
+post-install:
+ @cd ${STAGEDIR}${PREFIX}/include && ${RMDIR} petiga/cxx petiga/fad petiga
+
+.include <bsd.port.mk>
Added: head/math/petiga/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/petiga/distinfo Mon May 21 11:10:10 2018 (r470531)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526897728
+SHA256 (petiga-g20180518.tar.gz) = 6be68ce0de611b7811de0097021b3b78a86185d29cdd36d3ce04f22b8ba9c9de
+SIZE (petiga-g20180518.tar.gz) = 189972
Added: head/math/petiga/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/petiga/files/patch-CMakeLists.txt Mon May 21 11:10:10 2018 (r470531)
@@ -0,0 +1,23 @@
+--- CMakeLists.txt.orig 2018-05-17 14:35:00 UTC
++++ CMakeLists.txt
+@@ -15,7 +15,7 @@ else ()
+ find_library (PETSC_LIBRARIES NAMES petsc HINTS "${PETSC_DIR}" PATH_SUFFIXES "${PETSC_ARCH}/lib" "lib" NO_DEFAULT_PATH)
+ find_path (PETSC_CONF_DIR petscrules HINTS "${PETSC_DIR}/${PETSC_ARCH}" PATH_SUFFIXES "lib/petsc/conf" "conf" NO_DEFAULT_PATH)
+ mark_as_advanced (PETSC_CONF_DIR)
+- include (${PETSC_CONF_DIR}/PETScConfig.cmake)
++ include (${PETSC_CONF_DIR}/PETScBuildInternal.cmake)
+ mark_as_advanced (PETSC_CLANGUAGE_Cxx)
+ endif ()
+
+@@ -67,8 +67,8 @@ if (BUILD_STATIC_LIBS)
+ endif ()
+
+ install (DIRECTORY include/ DESTINATION include FILES_MATCHING PATTERN "*.h" )
+-install (DIRECTORY ${PETSC_ARCH}/include/ DESTINATION include FILES_MATCHING PATTERN "*.h" )
+-install (DIRECTORY ${PETSC_ARCH}/include/ DESTINATION include FILES_MATCHING PATTERN "*.mod" )
++#install (DIRECTORY ${PETSC_ARCH}/include/ DESTINATION include FILES_MATCHING PATTERN "*.h" )
++#install (DIRECTORY ${PETSC_ARCH}/include/ DESTINATION include FILES_MATCHING PATTERN "*.mod" )
+ install (DIRECTORY lib/petiga/conf/ DESTINATION lib/petiga/conf)
+-install (CODE "execute_process(COMMAND sed -i.arch -e s/$\(PETSC_ARCH\).//g \"${CMAKE_INSTALL_PREFIX}/lib/petiga/conf/variables\")")
++#install (CODE "execute_process(COMMAND sed -i.arch -e s/$\(PETSC_ARCH\).//g \"${CMAKE_INSTALL_PREFIX}/lib/petiga/conf/variables\")")
+ install (CODE "file(REMOVE \"${CMAKE_INSTALL_PREFIX}/lib/petiga/conf/variables.arch\")")
Added: head/math/petiga/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/petiga/pkg-descr Mon May 21 11:10:10 2018 (r470531)
@@ -0,0 +1,13 @@
+This software framework implements a NURBS-based Galerkin finite element method
+(FEM), popularly known as isogeometric analysis (IGA). It is heavily based on
+PETSc, the Portable, Extensible Toolkit for Scientific Computation. PETSc is a
+collection of algorithms and data structures for the solution of scientific
+problems, particularly those modeled by partial differential equations (PDEs).
+PETSc is written to be applicable to a range of problem sizes, including
+large-scale simulations where high performance parallel is a must. PetIGA can
+be thought of as an extension of PETSc, which adds the NURBS discretization
+capability and the integration of forms. The PetIGA framework is intended for
+researchers in the numeric solution of PDEs who have applications which require
+extensive computational resources.
+
+WWW: https://bitbucket.org/dalcinl/petiga/
More information about the svn-ports-all
mailing list