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 57B5113888F for ; Tue, 20 Oct 2015 23:27:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2DBF21C00B; Tue, 20 Oct 2015 23:27:26 +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 84E5F21C00B for ; Tue, 20 Oct 2015 23:27:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6BF95340656 for ; Tue, 20 Oct 2015 23:27:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 532DE1484 for ; Tue, 20 Oct 2015 23:27:22 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1445383631.67092cd25e67b140a556f8be4389523805bc4bba.ottxor@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/ispc/Manifest dev-lang/ispc/ispc-1.8.2-r3.ebuild X-VCS-Directories: dev-lang/ispc/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 67092cd25e67b140a556f8be4389523805bc4bba X-VCS-Branch: master Date: Tue, 20 Oct 2015 23:27:22 +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: 4a2d1bf5-02ed-4305-b555-7b794179b02a X-Archives-Hash: 4b8e1dfaefc582f049ba98a28f3bb991 commit: 67092cd25e67b140a556f8be4389523805bc4bba Author: Christoph Junghans gentoo org> AuthorDate: Tue Oct 20 23:26:51 2015 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Tue Oct 20 23:27:11 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67092cd2 dev-lang/ispc: add upstream patch to support llvm-3.7 Details on github ispc/ispc#1106 Gentoo-Bug: #562630 Package-Manager: portage-2.2.20.1 dev-lang/ispc/Manifest | 1 + dev-lang/ispc/ispc-1.8.2-r3.ebuild | 57 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest index dc652ab..8665512 100644 --- a/dev-lang/ispc/Manifest +++ b/dev-lang/ispc/Manifest @@ -1 +1,2 @@ +DIST ispc-1.8.2-llvm-3.7.patch.gz 15723 SHA256 8fc724b7076b0d288cf1ffeb1d71cfdbba8bf54e5923c1b862572646f6f29931 SHA512 7ad3997e8c0168d83bdc9cd0444e48467c31f9f497105ea6a98c358f8dd1db5c9acba636e5d86e6aed77c16f2a9d776142a3f2f9d2e3780ffddbb116e6679054 WHIRLPOOL 9f92edb0dbec381f43dea9b929683186254a8824cbf8b213d460166b03bf952555b0386f9346732e1ad5bd8ba90dac3c7ef531be94b30dd3288918026ae60064 DIST ispc-1.8.2.tar.gz 19259133 SHA256 d17ea68b7192d261a2830d6e00df656a73fbccd08a249433fcaf24a886902a9d SHA512 bb1f64afe41af138c386fb12a2a7f477f7bc8df2543191bbe7e5d7624e6b00dfec11ba422f6f396cd91af1c7b4cb5d2b3febf7902740d85c6d068de8ab94765a WHIRLPOOL 45ba7c52b3ada111f518b2a94d71d8c259040114ae84881c693f6e3491bd4b6897563eba4bccb6ae83a7cb90901bf1723bcbfeb9a124267ed235b1b8fdf61d69 diff --git a/dev-lang/ispc/ispc-1.8.2-r3.ebuild b/dev-lang/ispc/ispc-1.8.2-r3.ebuild new file mode 100644 index 0000000..97bb7a5 --- /dev/null +++ b/dev-lang/ispc/ispc-1.8.2-r3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils toolchain-funcs python-any-r1 + +DESCRIPTION="Intel SPMD Program Compiler" +HOMEPAGE="https://ispc.github.com/" + +if [[ ${PV} = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://github.com/ispc/ispc.git" + KEYWORDS="" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + http://dev.gentoo.org/~ottxor/dist/${P}-llvm-3.7.patch.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="BSD BSD-2 UoI-NCSA" +SLOT="0" +IUSE="examples" + +RDEPEND=" + >=sys-devel/clang-3.7 + >=sys-devel/llvm-3.7 + " +DEPEND=" + ${RDEPEND} + ${PYTHON_DEPS} + sys-devel/bison + sys-devel/flex + " + +src_prepare(){ + epatch "${WORKDIR}/${P}-llvm-3.7.patch" +} + +src_compile() { + sed -i '/^\t@/s/@//' Makefile || die #make all slient commands ("@") verbose + emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" CPP="$(tc-getCPP)" +} + +src_install() { + dobin ispc + dodoc README.rst + + if use examples; then + insinto "/usr/share/doc/${PF}/examples" + docompress -x "/usr/share/doc/${PF}/examples" + doins -r examples/* + fi +}