Tuesday, December 03, 2019

turn off OpenMP for audio/libsoxr

This turns off the OpenMP code in libsoxr. Tested on AMD64.


John


Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/libsoxr/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile 12 Jul 2019 20:43:35 -0000 1.7
+++ Makefile 23 Nov 2019 23:30:28 -0000
@@ -6,6 +6,8 @@ DISTNAME= soxr-0.1.3-Source
PKGNAME= lib${DISTNAME:S/-Source//}
EXTRACT_SUFX= .tar.xz

+REVISION= 0
+
SHARED_LIBS= soxr 1.2 \
soxr-lsr 3.4

@@ -21,5 +23,7 @@ WANTLIB += m
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=soxr/}

MODULES= devel/cmake
+
+CONFIGURE_ARGS= -DWITH_OPENMP:Bool=OFF

.include <bsd.port.mk>

No comments:

Post a Comment