-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added ebuilds for HPX, Likwid, and LibGeoDecomp #49
Changes from all commits
c06b3f0
67f0899
7333966
d71bd13
d3e3aa1
cceb215
2060edb
a94778a
1197c0e
dd50b48
4fe332f
034fd44
98eb3db
f7b5008
d1cf8c6
f07de52
37503e2
5d40c4e
6ce22ac
3ed5eed
08b0c78
b8d33cc
f0c0be7
6e0f343
9d9f920
e459ae1
708667b
a44f8a3
9a3e4ad
a06a599
98071cf
14f4b14
f7dee1f
cb83fed
2536f8e
c70c4ce
c015486
28b6f34
5897985
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST libgeodecomp-0.1.0.tar.bz2 581136 SHA256 71442a60e7cc5c3f38e462d5d52010a948bd089759487687f217e4dec4dffae5 SHA512 56de4e6bfc92f8dda4d4931559a553a7a2c847205637394ea87f73dfb5a34776cb043beba2857bbe07c52a61ed457f22b7d76e4e23c183c8bd25868d36df4704 WHIRLPOOL df2b5c6830dbc92befd873bdced1712687046a43e814f7676271a2041a58c9e2562a86c6b4034343499f813136f38e298b33fa9a67911b726f42f323f666b03e |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff -ru libgeodecomp-0.1.0/src/util.cmake libgeodecomp-0.1.0-nju/src/util.cmake | ||
--- libgeodecomp-0.1.0/src/util.cmake 2012-06-27 12:26:46.000000000 +0200 | ||
+++ libgeodecomp-0.1.0-nju/src/util.cmake 2013-01-29 20:52:43.306376967 +0100 | ||
@@ -54,11 +54,11 @@ | ||
endforeach(i) | ||
|
||
if(STRIPPED_SOURCES) | ||
- list(SORT STRIPPED_SOURCES ${STRIPPED_SOURCES}) | ||
+ list(SORT STRIPPED_SOURCES) | ||
endif(STRIPPED_SOURCES) | ||
|
||
if(STRIPPED_HEADERS) | ||
- list(SORT STRIPPED_HEADERS ${STRIPPED_HEADERS}) | ||
+ list(SORT STRIPPED_HEADERS) | ||
endif(STRIPPED_HEADERS) | ||
|
||
set(MY_AUTO "set(SOURCES \${SOURCES}\n") |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright 2013-2013 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=5 | ||
|
||
inherit cmake-utils | ||
|
||
DESCRIPTION="An auto-parallelizing library to speed up computer simulations" | ||
HOMEPAGE="http://www.libgeodecomp.org" | ||
SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2" | ||
|
||
SLOT="0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please add an empty IUSE here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed. |
||
LICENSE="LGPL-3" | ||
KEYWORDS="~amd64 ~ppc ~x86" | ||
IUSE="" | ||
|
||
RDEPEND=">=dev-libs/boost-1.48" | ||
DEPEND="${RDEPEND}" | ||
|
||
S="${WORKDIR}/${P}/src" | ||
PATCHES=( "${FILESDIR}/cmake.patch" ) | ||
|
||
src_test() { | ||
cmake-utils_src_make test | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 2013-2013 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=5 | ||
|
||
if [ ${PV} == "9999" ] ; then | ||
_SCM=mercurial | ||
EHG_REPO_URI="http://bitbucket.org/gentryx/libgeodecomp" | ||
SRC_URI="" | ||
KEYWORDS="" | ||
CMAKE_USE_DIR="${S}/src" | ||
else | ||
SRC_URI="http://www.libgeodecomp.org/archive/${P}.tar.bz2" | ||
KEYWORDS="~amd64 ~ppc ~x86" | ||
S="${WORKDIR}/${P}/src" | ||
fi | ||
|
||
inherit cmake-utils ${_SCM} | ||
|
||
DESCRIPTION="An auto-parallelizing library to speed up computer simulations" | ||
HOMEPAGE="http://www.libgeodecomp.org" | ||
|
||
SLOT="0" | ||
LICENSE="LGPL-3" | ||
IUSE="doc" | ||
|
||
RDEPEND=">=dev-libs/boost-1.48" | ||
DEPEND="${RDEPEND} | ||
doc? ( app-doc/doxygen )" | ||
|
||
src_compile() { | ||
cmake-utils_src_compile | ||
use doc && cmake-utils_src_make doc | ||
} | ||
|
||
src_install() { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. More elegant would me this: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is so much automagic built in into portage... Good stuff! |
||
DOCS=( README ) | ||
use doc && HTML_DOCS=( doc/html/* ) | ||
cmake-utils_src_install | ||
} | ||
|
||
src_test() { | ||
cmake-utils_src_make test | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<herd>cluster</herd> | ||
<longdescription> | ||
LibGeoDecomp is an auto-parallelizing library to speed up stencil | ||
code based computer simulations. It runs on virtually all current | ||
architectures, be it multi-cores, GPUs, or large scale MPI | ||
clusters. | ||
</longdescription> | ||
</pkgmetadata> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST likwid-3.0.0.tar.gz 458629 SHA256 968ea55497af9971b20295b5290f355e9b4054bcbcfac91bfeaca8c1f5f1b72e SHA512 4227a91822f7e452b5172b2a203d4e9c04327d7d6139ccdf1e7f2f0dcb372dd7e98c9ac2f9b55c768fc1c9e59973d5afbfd038757247b462b9a02038c78b5ab2 WHIRLPOOL 4e270a931b923e44ff2dad94891f4668ee89d95aed3635e81a3a644c40821bf41fec2c6d1d9199eff7a319b9b7d9fb4f88d2f559b797f808bc830a1ffc67bac1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff -ur likwid-3.0/config.mk likwid-3.0-nju/config.mk | ||
--- likwid-3.0/config.mk 2012-11-29 18:16:13.000000000 +0100 | ||
+++ likwid-3.0-nju/config.mk 2013-01-30 15:32:47.896140004 +0100 | ||
@@ -10,12 +10,12 @@ | ||
|
||
# Path were to install likwid | ||
PREFIX = /usr/local#NO SPACE | ||
-MANPREFIX = $(PREFIX)/man#NO SPACE | ||
+MANPREFIX = $(PREFIX)/share/man#NO SPACE | ||
|
||
# For the daemon based secure msr/pci access configure | ||
# the absolute path to the msr daemon executable. | ||
# $(PREFIX)/bin/likwid-accessD | ||
-ACCESSDAEMON = $(PREFIX)/bin/likwid-accessD#NO SPACE | ||
+ACCESSDAEMON = /usr/bin/likwid-accessD#NO SPACE | ||
# Path to the msrd-socket in system daemon mode. | ||
SYSDAEMONSOCKETPATH = /var/run/likwid-msrd.sock#NO SPACE | ||
|
||
@@ -31,7 +31,7 @@ | ||
ENABLE_SNB_UNCORE = false#NO SPACE | ||
|
||
# Change to YES to a build shared library instead of a static one | ||
-SHARED_LIBRARY = false#NO SPACE | ||
+SHARED_LIBRARY = true#NO SPACE | ||
|
||
# Instrument likwid-bench for use with likwid-perfctr | ||
INSTRUMENT_BENCH = false#NO SPACE |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff -ur likwid-3.0/config.mk likwid-3.0-new/config.mk | ||
--- likwid-3.0/config.mk 2012-11-29 18:16:13.000000000 +0100 | ||
+++ likwid-3.0-new/config.mk 2013-01-29 09:05:08.406319092 +0100 | ||
@@ -20,12 +20,12 @@ | ||
SYSDAEMONSOCKETPATH = /var/run/likwid-msrd.sock#NO SPACE | ||
|
||
# Build the accessDaemon. Have a look in the WIKI for details. | ||
-BUILDDAEMON = false#NO SPACE | ||
+BUILDDAEMON = true#NO SPACE | ||
|
||
# Set the default mode for MSR access. | ||
# This can usually be overriden on the commandline. | ||
# Valid values are: direct, accessdaemon, sysdaemon | ||
-ACCESSMODE = direct#NO SPACE | ||
+ACCESSMODE = accessdaemon#NO SPACE | ||
|
||
# Set to true to enable SandyBridge Uncore support | ||
ENABLE_SNB_UNCORE = false#NO SPACE | ||
Nur in likwid-3.0-new: liblikwid.a. | ||
Nur in likwid-3.0-new: liblikwidpin.so. | ||
Nur in likwid-3.0-new: likwid-accessD. | ||
Nur in likwid-3.0-new: likwid-features. | ||
Nur in likwid-3.0-new: likwid-memsweeper. | ||
Nur in likwid-3.0-new: likwid-perfctr. | ||
Nur in likwid-3.0-new: likwid-pin. | ||
Nur in likwid-3.0-new: likwid-powermeter. | ||
Nur in likwid-3.0-new: likwid-topology. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Copyright 2013-2013 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=5 | ||
|
||
inherit eutils | ||
|
||
DESCRIPTION="Command line tools for developing high performance multi threaded programs" | ||
HOMEPAGE="http://code.google.com/p/likwid/" | ||
SRC_URI="http://likwid.googlecode.com/files/${P}.0.tar.gz" | ||
|
||
SLOT="0" | ||
LICENSE="GPL-3" | ||
KEYWORDS="~amd64" | ||
IUSE="+access-daemon" | ||
|
||
src_prepare() { | ||
use access-daemon && epatch "${FILESDIR}/use_access_daemon.patch" | ||
epatch "${FILESDIR}/likwid.patch" | ||
sed -i -e "s:/usr/local:${D}/usr:" config.mk || die "Couldn't set prefix!" | ||
} | ||
|
||
src_compile() { | ||
default | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here it is correct, because you don't use any phase functions from eclasses. |
||
emake likwid-bench | ||
} | ||
|
||
src_install() { | ||
default | ||
use access-daemon && fperms 4755 /usr/bin/likwid-accessD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Move this to src_install instead. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That doesn't work as fperms would give me a error about not being able to access /var/tmp/portage/sys-apps/likwid-3.0/image//usr/bin/likwid-accessD There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what if you do There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, that works! |
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<herd>cluster</herd> | ||
<longdescription> | ||
Likwid stands for Like I knew what I am doing. This project | ||
contributes easy to use command line tools for Linux to support | ||
programmers in developing high performance multi threaded | ||
programs. | ||
</longdescription> | ||
<use> | ||
<flag name="access-daemon"> | ||
Build access-daemon for secure access to /dev/cpu/*/msr. | ||
</flag> | ||
</use> | ||
</pkgmetadata> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST hpx_0.9.5.tar.gz 3801863 SHA256 4e9f71b70d005104142157969f5ab3a980e2594279a2fb5f79a48bf77a8bc6aa SHA512 b156935061130bd87ababc4693b936687a4098eae305b55fce3c1fa7e0aef13b24f396045b8b392131c9eb973e67a1c1e665ae192a4b6350b5d3802dae9231a7 WHIRLPOOL 41a3e28be66578f0f665470847b38e2c6e5c573cb2ada7fbb49fe07c51b9bb15b761e811299560b2f4ed2e386bff5d42c6748c1c58fe430f4d8bed1376588c2a |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright 2013-2013 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=5 | ||
|
||
inherit cmake-utils | ||
|
||
MY_P="${PN}_${PV}" | ||
|
||
DESCRIPTION="A general C++ runtime system for parallel and distributed applications of any scale" | ||
HOMEPAGE="http://stellar.cct.lsu.edu/tag/hpx/" | ||
SRC_URI="http://stellar.cct.lsu.edu/files/${MY_P}.tar.gz" | ||
|
||
SLOT="0" | ||
LICENSE="Boost-1.0" | ||
KEYWORDS="~amd64" | ||
IUSE="" | ||
|
||
DEPEND=">=dev-libs/boost-1.48" | ||
RDEPEND="${DEPEND}" | ||
|
||
S="${WORKDIR}/${MY_P}" | ||
|
||
src_configure() { | ||
CMAKE_BUILD_TYPE=Release | ||
cmake-utils_src_configure | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<herd>cluster</herd> | ||
<longdescription> | ||
HPX (High Performance ParalleX) is a general C++ runtime system | ||
for parallel and distributed applications of any scale. It is the | ||
first freely available, open source, feature-complete, modular, | ||
and performance oriented implementation of the ParalleX execution | ||
model. HPX is targeted at conventional architectures and, | ||
currently, Linux based systems, such as SMP nodes and conventional | ||
clusters. | ||
</longdescription> | ||
</pkgmetadata> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please move this up and follow following sorting:
EAPI
inherit
DESCRIPTION
HOMPAGE
SRC_URI
SLOT
LICENSE
KEYWORDS
IUSE