Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

3
parallel/openpa/DESCR Normal file
View File

@@ -0,0 +1,3 @@
OpenPA is open source, highly-portable library that provides
atomic primitives (and related constructs) for high performance,
concurrent software.

16
parallel/openpa/Makefile Normal file
View File

@@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.4 2013/03/17 14:43:48 asau Exp $
DISTNAME= openpa-1.0.4
CATEGORIES= parallel
MASTER_SITES= http://trac.mcs.anl.gov/projects/openpa/raw-attachment/wiki/Downloads/
MAINTAINER= asau@inbox.ru
HOMEPAGE= http://trac.mcs.anl.gov/projects/openpa/
COMMENT= Atomic primitives for high performance software
USE_TOOLS= pkg-config
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
TEST_TARGET= check
.include "../../mk/bsd.pkg.mk"

21
parallel/openpa/PLIST Normal file
View File

@@ -0,0 +1,21 @@
@comment $NetBSD: PLIST,v 1.3 2013/03/17 14:43:48 asau Exp $
include/opa_config.h
include/opa_primitives.h
include/opa_queue.h
include/opa_util.h
include/primitives/opa_by_lock.h
include/primitives/opa_emulated.h
include/primitives/opa_gcc_ia64.h
include/primitives/opa_gcc_intel_32_64.h
include/primitives/opa_gcc_intel_32_64_barrier.h
include/primitives/opa_gcc_intel_32_64_ops.h
include/primitives/opa_gcc_intel_32_64_p3.h
include/primitives/opa_gcc_intel_32_64_p3barrier.h
include/primitives/opa_gcc_intrinsics.h
include/primitives/opa_gcc_ppc.h
include/primitives/opa_gcc_sicortex.h
include/primitives/opa_nt_intrinsics.h
include/primitives/opa_sun_atomic_ops.h
include/primitives/opa_unsafe.h
lib/libopa.la
lib/pkgconfig/openpa.pc

View File

@@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.2 2013/03/17 14:43:48 asau Exp $
BUILDLINK_TREE+= openpa
.if !defined(OPENPA_BUILDLINK3_MK)
OPENPA_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.openpa+= openpa>=1.0.1
BUILDLINK_PKGSRCDIR.openpa?= ../../parallel/openpa
.endif # OPENPA_BUILDLINK3_MK
BUILDLINK_TREE+= -openpa

6
parallel/openpa/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.3 2013/03/17 14:43:48 asau Exp $
SHA1 (openpa-1.0.4.tar.gz) = 0c714376245a7bf0d5c885d129fb301e5431a3af
RMD160 (openpa-1.0.4.tar.gz) = f0a34b769be9d91db3ebb18ebbb828757748f142
Size (openpa-1.0.4.tar.gz) = 378763 bytes
SHA1 (patch-src_opa__primitives.c) = 7a33197519270ef4ba2a922376b50ccc1a5eedfd

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-src_opa__primitives.c,v 1.1 2013/03/17 14:43:48 asau Exp $
--- src/opa_primitives.c.orig 2012-12-05 01:25:36.000000000 +0000
+++ src/opa_primitives.c
@@ -14,6 +14,8 @@
#include <pthread.h>
#include <opa_primitives.h>
+#include <unistd.h> /* for _POSIX_THREAD_PROCESS_SHARED */
+
pthread_mutex_t *OPA_emulation_lock = NULL;
int OPA_Interprocess_lock_init(OPA_emulation_ipl_t *shm_lock, int isLeader)
@@ -27,7 +29,9 @@ int OPA_Interprocess_lock_init(OPA_emula
* shared memory as well. This is required for some compilers
* (such as SUN Studio) that don't enable it by default. */
if (pthread_mutexattr_init(&attr) ||
+#ifdef _POSIX_THREAD_PROCESS_SHARED
pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_SHARED) ||
+#endif
pthread_mutex_init(OPA_emulation_lock, &attr))
mpi_errno = 16; /* MPI_ERR_INTERN */
}