pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/parallel/openmp openmp: Ensure proper alloca definitio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/45a22518dc53
branches: trunk
changeset: 382251:45a22518dc53
user: nia <nia%pkgsrc.org@localhost>
date: Sun Jul 24 07:48:09 2022 +0000
description:
openmp: Ensure proper alloca definition is found on NetBSD.
Reported by Mayuresh.
diffstat:
parallel/openmp/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r af341efd15aa -r 45a22518dc53 parallel/openmp/Makefile
--- a/parallel/openmp/Makefile Sun Jul 24 07:46:37 2022 +0000
+++ b/parallel/openmp/Makefile Sun Jul 24 07:48:09 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2022/06/28 11:35:24 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/07/24 07:48:09 nia Exp $
-PKGREVISION= 1
+PKGREVISION= 2
.include "../../lang/llvm/version.mk"
DISTNAME= openmp-${LLVM_VERSION}.src
@@ -15,7 +15,7 @@
CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
-USE_LANGUAGES= c c++14
+USE_LANGUAGES= c gnu++14
USE_CMAKE= yes
USE_TOOLS+= perl pkg-config
GCC_REQD+= 4.8
@@ -26,6 +26,8 @@
CMAKE_ARGS+= -DOPENMP_ENABLE_LIBOMPTARGET=OFF
CMAKE_ARGS+= -DOPENMP_ENABLE_OMPT_TOOLS=OFF
+BUILDLINK_TRANSFORM.NetBSD+= opt:-std=c++14:-std=gnu++14 # alloca
+
post-extract:
${MKDIR} ${WRKDIR}/build
Home |
Main Index |
Thread Index |
Old Index