From owner-svn-ports-all@freebsd.org Mon May 21 11:10:12 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00266EED204; Mon, 21 May 2018 11:10:11 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C32678D8C; Mon, 21 May 2018 11:10:11 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 70524240F8; Mon, 21 May 2018 11:10:11 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4LBABVQ099258; Mon, 21 May 2018 11:10:11 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4LBAASw099254; Mon, 21 May 2018 11:10:10 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201805211110.w4LBAASw099254@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 21 May 2018 11:10:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470531 - in head/math: . petiga petiga/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . petiga petiga/files X-SVN-Commit-Revision: 470531 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2018 11:10:12 -0000 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@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 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/