From: "Kacper Kowalik" <xarthisius@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-lang/path64/
Date: Wed, 20 Jul 2011 08:56:41 +0000 (UTC) [thread overview]
Message-ID: <99955d6606411904bc2ce7bee9a4169bf5c61451.xarthisius@gentoo> (raw)
commit: 99955d6606411904bc2ce7bee9a4169bf5c61451
Author: Kacper Kowalik (Xarthisius) <xarthisius.kk <AT> gmail <DOT> com>
AuthorDate: Wed Jul 20 08:56:34 2011 +0000
Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 08:56:34 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=99955d66
[dev-lang/path64] Initial import, only debug version (compiled with gcc) is working now
---
dev-lang/path64/ChangeLog | 10 ++++
dev-lang/path64/metadata.xml | 15 ++++++
dev-lang/path64/path64-9999.ebuild | 88 ++++++++++++++++++++++++++++++++++++
3 files changed, 113 insertions(+), 0 deletions(-)
diff --git a/dev-lang/path64/ChangeLog b/dev-lang/path64/ChangeLog
new file mode 100644
index 0000000..1f3b08c
--- /dev/null
+++ b/dev-lang/path64/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lang/path64
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*path64-9999 (20 Jul 2011)
+
+ 20 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> +path64-9999.ebuild,
+ +metadata.xml:
+ Initial import, only debug version (compiled with gcc) is working now
+
diff --git a/dev-lang/path64/metadata.xml b/dev-lang/path64/metadata.xml
new file mode 100644
index 0000000..2b845df
--- /dev/null
+++ b/dev-lang/path64/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>xarthisius@gentoo.org</email>
+ <name>Kacper Kowalik</name>
+ </maintainer>
+ <longdescription>
+ The PathScale EKOPath Compiler Suite offers programmers a rich set of tools and
+ one of the world's most sophisticated optimization infrastructures to maximize
+ program performance on any Intel 64 or AMD64 platform supporting Intel MMX,
+ SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AMD SSE4A and AVX.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-lang/path64/path64-9999.ebuild b/dev-lang/path64/path64-9999.ebuild
new file mode 100644
index 0000000..5c4f54a
--- /dev/null
+++ b/dev-lang/path64/path64-9999.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+CMAKE_BUILD_TYPE=Debug
+CMAKE_VERBOSE=1
+if [ "${PV%9999}" != "${PV}" ] ; then
+ SCM=git-2
+ EGIT_REPO_URI="git://github.com/pathscale/${PN}-suite.git"
+ EGIT_HAS_SUBMODULES=yes
+ PATH64_URI="compiler assembler"
+ PATHSCALE_URI="compiler-rt libcxxrt libdwarf-bsd libunwind stdcxx"
+ DBG_URI="git://github.com/path64/debugger.git"
+
+fi
+
+inherit cmake-utils ${SCM} multilib toolchain-funcs
+
+DESCRIPTION="PathScale EKOPath Compiler Suite"
+HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
+if [ "${PV%9999}" != "${PV}" ] ; then
+ SRC_URI=""
+else
+ SRC_URI="" # for tarballs
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="custom-cflags"
+#TODO: openmp, fortran flags
+
+DEPEND="sys-devel/gcc:4.2[vanilla]"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ [[ $(gcc-version) != 4.2 ]] && \
+ die "To bootstrap Path64 you'll need to use gcc:4.2[vanilla]"
+ export GCC42_PATH=$($(tc-getCC) -print-search-dirs | head -n 1 | cut -f2- -d' ')
+}
+
+src_unpack() {
+ git-2_src_unpack
+ cd "${S}"
+ mkdir compiler
+ for f in ${PATH64_URI}; do
+ EGIT_REPO_URI="git://github.com/${PN}/${f}.git" \
+ EGIT_DIR="${EGIT_STORE_DIR}/compiler/${f}" \
+ EGIT_SOURCEDIR="${WORKDIR}/${P}/compiler/${f}" git-2_src_unpack
+ done
+ for f in ${PATHSCALE_URI}; do
+ EGIT_REPO_URI="git://github.com/pathscale/${f}.git" \
+ EGIT_DIR="${EGIT_STORE_DIR}/compiler/${f}" \
+ EGIT_SOURCEDIR="${WORKDIR}/${P}/compiler/${f}" git-2_src_unpack
+ done
+ EGIT_REPO_URI=${DBG_URI} EGIT_DIR="${EGIT_STORE_DIR}/compiler/pathdb" \
+ EGIT_SOURCEDIR="${WORKDIR}/${P}/compiler/pathdb" git-2_src_unpack
+}
+
+src_configure() {
+ local MY_CFLAGS=""
+ local MY_CXXFLAGS=""
+ if use custom-cflags; then
+ MY_CFLAGS=${CFLAGS}
+ MY_CXXFLAGS=${CXXFLAGS}
+ fi
+ local linker=$($(tc-getCC) --help -v 2>&1 >/dev/null | grep '\-dynamic\-linker' | cut -f7 -d' ')
+ local libgcc=$($(tc-getCC) -print-libgcc-file-name)
+ local crt=$($(tc-getCC) -print-file-name=crt1.o)
+ mycmakeargs=(
+ -DPATH64_ENABLE_TARGETS="x86_64"
+ -DPATH64_ENABLE_PROFILING=ON
+ -DPATH64_ENABLE_FORTRAN=ON
+ -DPATH64_ENABLE_MATHLIBS=ON
+ -DPATH64_ENABLE_OPENMP=ON
+ -DPATH64_ENABLE_PATHOPT2=OFF
+ -DPSC_CRT_PATH_x86_64=$(dirname ${crt})
+ -DPSC_CRTBEGIN_PATH=$(dirname ${libgcc})
+ -DPSC_DYNAMIC_LINKER_x86_64=${linker}
+ -DCMAKE_Fortran_COMPILER=$(tc-getFC)
+ -DCMAKE_C_COMPILER=$(tc-getCC)
+ -DCMAKE_C_FLAGS=${MY_CFLAGS}
+ -DCMAKE_CXX_COMPILER=$(tc-getCXX)
+ -DCMAKE_CXX_FLAGS=${MY_CXXFLAGS}
+ )
+ cmake-utils_src_configure
+}
next reply other threads:[~2011-07-20 8:56 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-20 8:56 Kacper Kowalik [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-07-20 11:15 [gentoo-commits] proj/sci:master commit in: dev-lang/path64/ Kacper Kowalik
2011-07-20 11:41 Kacper Kowalik
2011-07-23 7:32 Kacper Kowalik
2011-07-23 10:07 Kacper Kowalik
2011-07-23 11:27 Kacper Kowalik
2011-07-23 11:55 Kacper Kowalik
2011-07-23 11:57 Kacper Kowalik
2011-07-23 12:31 Kacper Kowalik
2011-07-25 8:34 Kacper Kowalik
2011-07-25 19:40 Kacper Kowalik
2011-07-25 19:48 Kacper Kowalik
2011-07-27 9:48 Kacper Kowalik
2011-07-29 7:46 Kacper Kowalik
2011-07-29 7:51 Kacper Kowalik
2011-07-29 17:48 Kacper Kowalik
2011-08-15 13:39 Kacper Kowalik
2011-10-24 19:12 Justin Lecher
2012-02-25 19:44 Kacper Kowalik
2012-02-27 11:36 Kacper Kowalik
2012-05-23 19:56 Kacper Kowalik
2012-05-23 20:18 Kacper Kowalik
2013-06-14 11:21 [gentoo-commits] proj/sci:fixing " Justin Lecher
2013-06-14 11:21 ` [gentoo-commits] proj/sci:master " Justin Lecher
2014-01-06 19:27 Justin Lecher
2017-01-29 14:20 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=99955d6606411904bc2ce7bee9a4169bf5c61451.xarthisius@gentoo \
--to=xarthisius@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox