From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 752DF139401 for ; Sat, 25 Jul 2015 23:38:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06265E07D4; Sat, 25 Jul 2015 23:38:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9572CE07D4 for ; Sat, 25 Jul 2015 23:38:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7DB603408EC for ; Sat, 25 Jul 2015 23:38:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B230BB3 for ; Sat, 25 Jul 2015 23:38:09 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1437867429.863e92cd5587dd30bf322a1a36be885f1a8da8f5.bircoph@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/asl/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/asl/ChangeLog sci-libs/asl/asl-0.1.4.ebuild sci-libs/asl/metadata.xml X-VCS-Directories: sci-libs/asl/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: 863e92cd5587dd30bf322a1a36be885f1a8da8f5 X-VCS-Branch: master Date: Sat, 25 Jul 2015 23:38:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 43d62444-ac99-43d7-b445-1b1729c22fa4 X-Archives-Hash: b1901fc02f3438b9b38830ec77627adf commit: 863e92cd5587dd30bf322a1a36be885f1a8da8f5 Author: Andrew Savchenko gmail com> AuthorDate: Sat Jul 25 23:37:09 2015 +0000 Commit: Andrew Savchenko gentoo org> CommitDate: Sat Jul 25 23:37:09 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=863e92cd Fix issue #452 Add sci-libs/asl package. sci-libs/asl/ChangeLog | 9 ++++++ sci-libs/asl/asl-0.1.4.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++++ sci-libs/asl/metadata.xml | 31 +++++++++++++++++++++ 3 files changed, 105 insertions(+) diff --git a/sci-libs/asl/ChangeLog b/sci-libs/asl/ChangeLog new file mode 100644 index 0000000..84477a0 --- /dev/null +++ b/sci-libs/asl/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-libs/asl +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*asl-0.1.4 (25 Jul 2015) + + 25 Jul 2015; Andrew Savchenko +asl-0.1.4.ebuild, + +metadata.xml: + Initial commit. diff --git a/sci-libs/asl/asl-0.1.4.ebuild b/sci-libs/asl/asl-0.1.4.ebuild new file mode 100644 index 0000000..15be510 --- /dev/null +++ b/sci-libs/asl/asl-0.1.4.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +CMAKE_MIN_VERSION=3.0.2 +CMAKE_MAKEFILE_GENERATOR="${CMAKE_MAKEFILE_GENERATOR:-ninja}" + +inherit cmake-utils + +MY_PN=ASL + +DESCRIPTION="Advanced Simulation Library - multiphysics simulation software package" +HOMEPAGE="http://asl.org.il/" +SRC_URI="https://github.com/AvtechScientific/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples matio" + +RDEPEND=" + >=dev-libs/boost-1.55:= + >=sci-libs/vtk-6.1 + >=virtual/opencl-0-r2 +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] ) + matio? ( >=sci-libs/matio-1.5.2 ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} + -DCMAKE_SKIP_RPATH=yes + $(cmake-utils_use_with doc API_DOC) + $(cmake-utils_use_with examples) + $(cmake-utils_use_with matio) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + # examples are not installed by cmake :/ + if use examples; then + local f + cd "${CMAKE_USE_DIR}/examples" || die + for f in $(find -O3 -type f -name "*.cc" -printf "%P\n" || die); do + cp "${f}" "${BUILD_DIR}/examples/${f%%.cc}" || die + done + cp -a input_data "${BUILD_DIR}/examples" || die + + cd "${BUILD_DIR}/examples" || die + chmod a-x input_data/multicomponent_flow.pvsm || die + find -O3 -type f -name cmake_install.cmake -delete || die + find -O3 -type d -name CMakeFiles -exec rm -rf '{}' \+ || die + + mkdir -p "${ED}/usr/share/${PN}/examples" || die + cp -a . "${ED}/usr/share/${PN}/examples" || die + fi +} diff --git a/sci-libs/asl/metadata.xml b/sci-libs/asl/metadata.xml new file mode 100644 index 0000000..ab3f78d --- /dev/null +++ b/sci-libs/asl/metadata.xml @@ -0,0 +1,31 @@ + + + +sci-physics + + bircoph@gentoo.org + Andrew Savchenko + + + Advanced Simulation Library (ASL) is a free and open source + multiphysics simulation software package. Its computational + engine is based, among others, on the Lattice Boltzmann Methods + and is written in OpenCL which enable extraordinarily efficient + deployment on a variety of massively parallel architectures, + ranging from inexpensive FPGAs, DSPs and GPUs up to heterogeneous + clusters and supercomputers. The engine is hidden entirely behind + C++ classes, so that no OpenCL knowledge is required from + application programmers. ASL can be utilized to model various + coupled physical and chemical phenomena and employed in a + multitude of fields: computational fluid dynamics, virtual + sensing, industrial process data validation and reconciliation, + image-guided surgery, computer-aided engineering, + high-performance scientific computing, etc. + + + Matlab support with sci-libs/matio + + + AvtechScientific/ASL + +