pkgsrc-Changes archive

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

CVS commit: pkgsrc/parallel/openmp



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jul 24 07:48:10 UTC 2022

Modified Files:
        pkgsrc/parallel/openmp: Makefile

Log Message:
openmp: Ensure proper alloca definition is found on NetBSD.

Reported by Mayuresh.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/parallel/openmp/Makefile

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

Modified files:

Index: pkgsrc/parallel/openmp/Makefile
diff -u pkgsrc/parallel/openmp/Makefile:1.12 pkgsrc/parallel/openmp/Makefile:1.13
--- pkgsrc/parallel/openmp/Makefile:1.12        Tue Jun 28 11:35:24 2022
+++ pkgsrc/parallel/openmp/Makefile     Sun Jul 24 07:48:09 2022
@@ -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 @@ LICENSE=      apache-2.0
 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+=  -DCMAKE_CXX_COMPILER=${CXX:
 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