pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 17 16:35:44 UTC 2019

Modified Files:
        pkgsrc/lang/llvm: Makefile
        pkgsrc/parallel: Makefile
Added Files:
        pkgsrc/parallel/openmp: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/llvm/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/parallel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/parallel/openmp/DESCR \
    pkgsrc/parallel/openmp/Makefile pkgsrc/parallel/openmp/PLIST \
    pkgsrc/parallel/openmp/buildlink3.mk pkgsrc/parallel/openmp/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/llvm/Makefile
diff -u pkgsrc/lang/llvm/Makefile:1.40 pkgsrc/lang/llvm/Makefile:1.41
--- pkgsrc/lang/llvm/Makefile:1.40      Tue Jun  4 10:22:17 2019
+++ pkgsrc/lang/llvm/Makefile   Mon Jun 17 16:35:44 2019
@@ -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

Index: pkgsrc/parallel/Makefile
diff -u pkgsrc/parallel/Makefile:1.25 pkgsrc/parallel/Makefile:1.26
--- pkgsrc/parallel/Makefile:1.25       Sun Apr 22 17:25:52 2018
+++ pkgsrc/parallel/Makefile    Mon Jun 17 16:35:44 2019
@@ -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+=      gridscheduler
 SUBDIR+=       hwloc
 SUBDIR+=       linda
 SUBDIR+=       mpi-ch
+SUBDIR+=       openmp
 SUBDIR+=       openmpi
 SUBDIR+=       openpa
 SUBDIR+=       p5-Parallel-Pvm

Added files:

Index: pkgsrc/parallel/openmp/DESCR
diff -u /dev/null pkgsrc/parallel/openmp/DESCR:1.1
--- /dev/null   Mon Jun 17 16:35:44 2019
+++ pkgsrc/parallel/openmp/DESCR        Mon Jun 17 16:35:44 2019
@@ -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.
Index: pkgsrc/parallel/openmp/Makefile
diff -u /dev/null pkgsrc/parallel/openmp/Makefile:1.1
--- /dev/null   Mon Jun 17 16:35:44 2019
+++ pkgsrc/parallel/openmp/Makefile     Mon Jun 17 16:35:44 2019
@@ -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"
Index: pkgsrc/parallel/openmp/PLIST
diff -u /dev/null pkgsrc/parallel/openmp/PLIST:1.1
--- /dev/null   Mon Jun 17 16:35:44 2019
+++ pkgsrc/parallel/openmp/PLIST        Mon Jun 17 16:35:44 2019
@@ -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
Index: pkgsrc/parallel/openmp/buildlink3.mk
diff -u /dev/null pkgsrc/parallel/openmp/buildlink3.mk:1.1
--- /dev/null   Mon Jun 17 16:35:44 2019
+++ pkgsrc/parallel/openmp/buildlink3.mk        Mon Jun 17 16:35:44 2019
@@ -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
Index: pkgsrc/parallel/openmp/distinfo
diff -u /dev/null pkgsrc/parallel/openmp/distinfo:1.1
--- /dev/null   Mon Jun 17 16:35:44 2019
+++ pkgsrc/parallel/openmp/distinfo     Mon Jun 17 16:35:44 2019
@@ -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