commit:     2a34c2f32827c6765fadfdeac3ddce94e97a5350
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 14:54:39 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 23 07:29:03 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a34c2f3

sys-libs/libomp: Add a live ebuild

 sys-libs/libomp/libomp-9999.ebuild | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/sys-libs/libomp/libomp-9999.ebuild 
b/sys-libs/libomp/libomp-9999.ebuild
new file mode 100644
index 00000000..fe4be82
--- /dev/null
+++ b/sys-libs/libomp/libomp-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+
+inherit cmake-multilib git-r3
+
+DESCRIPTION="OpenMP runtime library for LLVM/clang compiler"
+HOMEPAGE="http://openmp.llvm.org";
+SRC_URI=""
+EGIT_REPO_URI="http://llvm.org/git/openmp.git
+       https://github.com/llvm-mirror/openmp.git";
+
+LICENSE="UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="dev-lang/perl"
+
+multilib_src_configure() {
+       local libdir="$(get_libdir)"
+       local mycmakeargs=(
+               -DLIBOMP_LIBDIR_SUFFIX="${libdir#lib}"
+               # do not install libgomp.so & libiomp5.so aliases
+               -DLIBOMP_INSTALL_ALIASES=OFF
+       )
+       cmake-utils_src_configure
+}

Reply via email to