From owner-svn-ports-all@freebsd.org Sat Nov 18 21:57:56 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE7C3DDD8A1; Sat, 18 Nov 2017 21:57:56 +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 mx1.freebsd.org (Postfix) with ESMTPS id A85A27F28D; Sat, 18 Nov 2017 21:57:56 +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 vAILvtPu052656; Sat, 18 Nov 2017 21:57:55 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vAILvtv6052650; Sat, 18 Nov 2017 21:57:55 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201711182157.vAILvtv6052650@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 18 Nov 2017 21:57:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r454464 - in head/math: . ambit ambit/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . ambit ambit/files X-SVN-Commit-Revision: 454464 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.25 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: Sat, 18 Nov 2017 21:57:56 -0000 Author: yuri Date: Sat Nov 18 21:57:55 2017 New Revision: 454464 URL: https://svnweb.freebsd.org/changeset/ports/454464 Log: New port: math/ambit: C++ library for tensor product calculations Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13067 Added: head/math/ambit/ head/math/ambit/Makefile (contents, props changed) head/math/ambit/distinfo (contents, props changed) head/math/ambit/files/ head/math/ambit/files/patch-CMakeLists.txt (contents, props changed) head/math/ambit/pkg-descr (contents, props changed) head/math/ambit/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Sat Nov 18 21:48:11 2017 (r454463) +++ head/math/Makefile Sat Nov 18 21:57:55 2017 (r454464) @@ -102,6 +102,7 @@ SUBDIR += algotutor SUBDIR += alt-ergo SUBDIR += amath + SUBDIR += ambit SUBDIR += analitza SUBDIR += ann SUBDIR += apc Added: head/math/ambit/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/ambit/Makefile Sat Nov 18 21:57:55 2017 (r454464) @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= ambit +DISTVERSIONPREFIX= v +DISTVERSION= 0.2-37 +DISTVERSIONSUFFIX= -g9c7049a +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ library for tensor product calculations + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libhdf5.so:science/hdf5 \ + libsz.so:science/szip + +USES= cmake:outsource +USE_GITHUB= yes +GH_ACCOUNT= jturney + +# some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch +CMAKE_ARGS+= -DSHARED_ONLY:BOOL=ON +CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON # bug#223678: find_package(OpenMP) doesn't find the openmp package +CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24 + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +# It requires clang version >3.6 +BUILD_DEPENDS+= clang38:lang/clang38 +RUN_DEPENDS+= clang38:lang/clang38 +CC= clang38 +CXX= clang++38 +.endif + +.include Added: head/math/ambit/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/ambit/distinfo Sat Nov 18 21:57:55 2017 (r454464) @@ -0,0 +1,3 @@ +TIMESTAMP = 1510519038 +SHA256 (jturney-ambit-v0.2-37-g9c7049a_GH0.tar.gz) = a7c56697f538c4c6ea7ceebfbd50f6f372eff04e38f171ccb63457c7f31fa23b +SIZE (jturney-ambit-v0.2-37-g9c7049a_GH0.tar.gz) = 328416 Added: head/math/ambit/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/ambit/files/patch-CMakeLists.txt Sat Nov 18 21:57:55 2017 (r454464) @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2017-11-12 20:15:25 UTC ++++ CMakeLists.txt +@@ -155,7 +155,7 @@ add_subdirectory(include) + # recursively add source directories + add_subdirectory(src) + +-#if (NOT ENABLE_PSI4) ++if (ENABLE_TESTS) + # test suite + enable_testing() + include(CTest) +@@ -163,7 +163,7 @@ add_subdirectory(src) + + # sample suite + add_subdirectory(samples) +-#endif() ++endif() + + # Add all targets to the build-tree export set + Added: head/math/ambit/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/ambit/pkg-descr Sat Nov 18 21:57:55 2017 (r454464) @@ -0,0 +1,4 @@ +C++ library for the implementation of tensor product calculations through +a clean, concise user interface. + +WWW: https://github.com/jturney/ambit Added: head/math/ambit/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/ambit/pkg-plist Sat Nov 18 21:57:55 2017 (r454464) @@ -0,0 +1,29 @@ +include/ambit/blocked_tensor.h +include/ambit/common_types.h +include/ambit/composite_tensor.h +include/ambit/helpers/psi4/convert.h +include/ambit/helpers/psi4/integrals.h +include/ambit/helpers/psi4/io.h +include/ambit/io/hdf5.h +include/ambit/io/hdf5/attribute.h +include/ambit/io/hdf5/dataset.h +include/ambit/io/hdf5/dataspace.h +include/ambit/io/hdf5/file.h +include/ambit/io/hdf5/group.h +include/ambit/io/hdf5/location.h +include/ambit/io/hdf5/type.h +include/ambit/io/psi4/file.h +include/ambit/io/psi4/io.h +include/ambit/io/psi4/iwl.h +include/ambit/io/psi4/manager.h +include/ambit/print.h +include/ambit/settings.h +include/ambit/sym_blocked_tensor.h +include/ambit/tensor.h +include/ambit/timer.h +lib/libambit.so +share/cmake/ambit/FindTargetHDF5.cmake +share/cmake/ambit/ambitConfig.cmake +share/cmake/ambit/ambitConfigVersion.cmake +share/cmake/ambit/ambitTargets-shared-%%CMAKE_BUILD_TYPE%%.cmake +share/cmake/ambit/ambitTargets-shared.cmake