mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
x11/pixman: Make OpenMP optional
OpenMP is not available when the base system has been built with WITHOUT_OPENMP in src.conf(5). PR: 283949 Reviewed by: manu
This commit is contained in:
parent
2017def45f
commit
01d3683c44
1 changed files with 9 additions and 8 deletions
|
@ -15,7 +15,13 @@ MESON_ARGS= -Dloongson-mmi=disabled \
|
|||
-Dgtk=disabled \
|
||||
-Ddemos=disabled
|
||||
|
||||
OPTIONS_DEFINE= TEST
|
||||
OPTIONS_DEFINE= OPENMP TEST
|
||||
OPTIONS_DEFAULT= OPENMP
|
||||
OPTIONS_EXCLUDE_armv6= OPENMP
|
||||
OPTIONS_EXCLUDE_armv7= OPENMP
|
||||
OPTIONS_EXCLUDE_powerpc=OPENMP
|
||||
|
||||
OPENMP_MESON_ENABLED= openmp
|
||||
|
||||
TEST_LIB_DEPENDS= libpng.so:graphics/png
|
||||
TEST_MESON_ENABLED= libpng tests
|
||||
|
@ -23,14 +29,12 @@ TEST_MESON_ENABLED= libpng tests
|
|||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == armv6
|
||||
MESON_ARGS+= -Darm-simd=enabled \
|
||||
-Dopenmp=disabled
|
||||
MESON_ARGS+= -Darm-simd=enabled
|
||||
.else
|
||||
MESON_ARGS+= -Darm-simd=disabled
|
||||
.endif
|
||||
.if ${ARCH} == armv7
|
||||
MESON_ARGS+= -Dneon=enabled \
|
||||
-Dopenmp=disabled
|
||||
MESON_ARGS+= -Dneon=enabled
|
||||
.else
|
||||
MESON_ARGS+= -Dneon=disabled
|
||||
.endif
|
||||
|
@ -58,9 +62,6 @@ MESON_ARGS+= -Dvmx=enabled
|
|||
.else
|
||||
MESON_ARGS+= -Dvmx=disabled
|
||||
.endif
|
||||
.if ${ARCH} == powerpc
|
||||
MESON_ARGS+= -Dopenmp=disabled
|
||||
.endif
|
||||
.if ${ARCH} == riscv64
|
||||
MESON_ARGS+= -Drvv=enabled
|
||||
.else
|
||||
|
|
Loading…
Add table
Reference in a new issue