1 |
commit: 2a34c2f32827c6765fadfdeac3ddce94e97a5350 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 14 14:54:39 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 23 07:29:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a34c2f3 |
7 |
|
8 |
sys-libs/libomp: Add a live ebuild |
9 |
|
10 |
sys-libs/libomp/libomp-9999.ebuild | 32 ++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 32 insertions(+) |
12 |
|
13 |
diff --git a/sys-libs/libomp/libomp-9999.ebuild b/sys-libs/libomp/libomp-9999.ebuild |
14 |
new file mode 100644 |
15 |
index 00000000..fe4be82 |
16 |
--- /dev/null |
17 |
+++ b/sys-libs/libomp/libomp-9999.ebuild |
18 |
@@ -0,0 +1,32 @@ |
19 |
+# Copyright 1999-2016 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Id$ |
22 |
+ |
23 |
+EAPI=6 |
24 |
+ |
25 |
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja} |
26 |
+ |
27 |
+inherit cmake-multilib git-r3 |
28 |
+ |
29 |
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" |
30 |
+HOMEPAGE="http://openmp.llvm.org" |
31 |
+SRC_URI="" |
32 |
+EGIT_REPO_URI="http://llvm.org/git/openmp.git |
33 |
+ https://github.com/llvm-mirror/openmp.git" |
34 |
+ |
35 |
+LICENSE="UoI-NCSA" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="" |
38 |
+IUSE="" |
39 |
+ |
40 |
+DEPEND="dev-lang/perl" |
41 |
+ |
42 |
+multilib_src_configure() { |
43 |
+ local libdir="$(get_libdir)" |
44 |
+ local mycmakeargs=( |
45 |
+ -DLIBOMP_LIBDIR_SUFFIX="${libdir#lib}" |
46 |
+ # do not install libgomp.so & libiomp5.so aliases |
47 |
+ -DLIBOMP_INSTALL_ALIASES=OFF |
48 |
+ ) |
49 |
+ cmake-utils_src_configure |
50 |
+} |