pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc openmp: added version 8.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a0725ddf2b9
branches:  trunk
changeset: 335314:9a0725ddf2b9
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 17 16:35:44 2019 +0000

description:
openmp: added version 8.0.0

The OpenMP subproject of LLVM contains the components required to build an
executable OpenMP program that are outside the compiler itself.

Here you can find the code for the runtime library against which code compiled
by clang -fopenmp must be linked before it can run.

diffstat:

 lang/llvm/Makefile            |   3 ++-
 parallel/Makefile             |   3 ++-
 parallel/openmp/DESCR         |   5 +++++
 parallel/openmp/Makefile      |  33 +++++++++++++++++++++++++++++++++
 parallel/openmp/PLIST         |   7 +++++++
 parallel/openmp/buildlink3.mk |  12 ++++++++++++
 parallel/openmp/distinfo      |   6 ++++++
 7 files changed, 67 insertions(+), 2 deletions(-)

diffs (117 lines):

diff -r 5d0effe849ba -r 9a0725ddf2b9 lang/llvm/Makefile
--- a/lang/llvm/Makefile        Mon Jun 17 15:31:35 2019 +0000
+++ b/lang/llvm/Makefile        Mon Jun 17 16:35:44 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2019/06/04 10:22:17 jperkin Exp $
+# $NetBSD: Makefile,v 1.41 2019/06/17 16:35:44 adam Exp $
 #
 # when updating this, please also update:
 # devel/include-what-you-use
@@ -12,6 +12,7 @@
 # lang/libcxx
 # lang/libcxxabi
 # lang/libunwind
+# parallel/openmp
 #
 # Do not update:
 #   lang/libLLVM
diff -r 5d0effe849ba -r 9a0725ddf2b9 parallel/Makefile
--- a/parallel/Makefile Mon Jun 17 15:31:35 2019 +0000
+++ b/parallel/Makefile Mon Jun 17 16:35:44 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2018/04/22 17:25:52 bacon Exp $
+# $NetBSD: Makefile,v 1.26 2019/06/17 16:35:44 adam Exp $
 #
 
 COMMENT=       Applications dealing with parallelism in computing
@@ -11,6 +11,7 @@
 SUBDIR+=       hwloc
 SUBDIR+=       linda
 SUBDIR+=       mpi-ch
+SUBDIR+=       openmp
 SUBDIR+=       openmpi
 SUBDIR+=       openpa
 SUBDIR+=       p5-Parallel-Pvm
diff -r 5d0effe849ba -r 9a0725ddf2b9 parallel/openmp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/openmp/DESCR     Mon Jun 17 16:35:44 2019 +0000
@@ -0,0 +1,5 @@
+The OpenMP subproject of LLVM contains the components required to build an
+executable OpenMP program that are outside the compiler itself.
+
+Here you can find the code for the runtime library against which code compiled
+by clang -fopenmp must be linked before it can run.
diff -r 5d0effe849ba -r 9a0725ddf2b9 parallel/openmp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/openmp/Makefile  Mon Jun 17 16:35:44 2019 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2019/06/17 16:35:44 adam Exp $
+
+DISTNAME=      openmp-8.0.0.src
+PKGNAME=       ${DISTNAME:S/.src//}
+CATEGORIES=    devel
+MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://openmp.llvm.org/
+COMMENT=       Support for the OpenMP language
+LICENSE=       modified-bsd
+
+DEPENDS+=      llvm-${PKGVERSION_NOREV}{,nb*}:../../lang/llvm
+
+CONFIGURE_DIRS=                ${WRKDIR}/build
+CMAKE_ARG_PATH=                ${WRKSRC}
+
+USE_LANGUAGES=         c c++11
+USE_CMAKE=             yes
+USE_TOOLS+=            perl pkg-config
+GCC_REQD+=             4.8
+
+CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=   -DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${CXX:Q}
+CMAKE_ARGS+=   -DOPENMP_ENABLE_LIBOMPTARGET=OFF
+
+post-extract:
+       ${MKDIR} ${WRKDIR}/build
+
+.include "../../lang/llvm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5d0effe849ba -r 9a0725ddf2b9 parallel/openmp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/openmp/PLIST     Mon Jun 17 16:35:44 2019 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/17 16:35:44 adam Exp $
+include/omp-tools.h
+include/omp.h
+include/ompt.h
+lib/libgomp.so
+lib/libiomp5.so
+lib/libomp.so
diff -r 5d0effe849ba -r 9a0725ddf2b9 parallel/openmp/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/openmp/buildlink3.mk     Mon Jun 17 16:35:44 2019 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/06/17 16:35:44 adam Exp $
+
+BUILDLINK_TREE+=       openmp
+
+.if !defined(OPENMP_BUILDLINK3_MK)
+OPENMP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.openmp+= openmp>=8.0.0
+BUILDLINK_PKGSRCDIR.openmp?=   ../../parallel/openmp
+.endif # OPENMP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -openmp
diff -r 5d0effe849ba -r 9a0725ddf2b9 parallel/openmp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/parallel/openmp/distinfo  Mon Jun 17 16:35:44 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/06/17 16:35:44 adam Exp $
+
+SHA1 (openmp-8.0.0.src.tar.xz) = 90462a0f720a9a40ecbda9636c24d627b5dc05db
+RMD160 (openmp-8.0.0.src.tar.xz) = 81bdf0098bf04b41008e04d258ab708300f2e082
+SHA512 (openmp-8.0.0.src.tar.xz) = 0fff071c9dbf118bc1908e433d6ce571f47a4f2dbc5bf2d843151889e3414473bb5a9c97dc0b6dc6d1bd9ab0c6e365cae625f97d1b11d5d6ae059fa5a0496cb3
+Size (openmp-8.0.0.src.tar.xz) = 934384 bytes



Home | Main Index | Thread Index | Old Index