graphics/darktable: LLVM 3.7 does not provide OpenMP on i386

This fixes the build on FreeBSD 10.x and 11-CURRENT on i386.

While here, completely remove the OPENMP option. The implementation was
incomplete anyway because disabling it would not turn off OpenMP in
darktable if it was built with GCC.

Reviewed by:	kwm
Approved by:	kwm
Differential Revision:	https://reviews.freebsd.org/D4130
This commit is contained in:
Jean-Sébastien Pédron 2015-11-18 09:09:15 +00:00
parent f386470833
commit 7344937efc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401850

View file

@ -29,8 +29,8 @@ INSTALLS_ICONS= yes
LDFLAGS+= -L${LOCALBASE}/lib -lintl
OPTIONS_DEFINE= COLORD DOCS FB_PICASA FLICKR GEO GNOMEKEYRING GPHOTO \
GRAPHMAGICK LIBSECRET LUA NLS OPENEXR OPENJPEG OPENMP \
RAWSPEED SLIDESHOW SQUISH WEBP
GRAPHMAGICK LIBSECRET LUA NLS OPENEXR OPENJPEG RAWSPEED \
SLIDESHOW SQUISH WEBP
GEO_DESC= Support geotagging
FB_PICASA_DESC= Support export to Facebook and Picasa
@ -40,7 +40,7 @@ RAWSPEED_DESC= Compile with rawspeed backend
SLIDESHOW_DESC= Build OpenGL/SDL slideshow viewer
OPTIONS_DEFAULT=COLORD FB_PICASA FLICKR GEO GPHOTO LUA NLS OPENEXR \
OPENJPEG OPENMP RAWSPEED SLIDESHOW SQUISH WEBP
OPENJPEG RAWSPEED SLIDESHOW SQUISH WEBP
OPTIONS_SUB= yes
CMAKE_ARGS+= -DBINARY_PACKAGE_BUILD=1
@ -98,7 +98,7 @@ WEBP_CMAKE_OFF= -DUSE_WEBP:BOOL=OFF
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MOPENMP} && ${COMPILER_TYPE} == clang
.if ${ARCH} == amd64 && ${COMPILER_TYPE} == clang
# Enable OpenMP support with Clang 3.7.
BUILD_DEPENDS+= clang37:${PORTSDIR}/devel/llvm37
RUN_DEPENDS+= clang37:${PORTSDIR}/devel/llvm37