On 06/05/15 08:49, Guenther Niess wrote:
>
> So far on my amd64 I haven't noticed any regression (on port building
> or OpenMP itself) and my small program needs now with multiple
> threads only half of the time.
I've encountered one issue. ImageMagick is build with gcc from base and
wants to link against libgomp which fails. So I disabled OpenMP in
ImageMagick.
Regards
Index: graphics/ImageMagick/Makefile
===================================================================
RCS file: /cvs/ports/graphics/ImageMagick/Makefile,v
retrieving revision 1.137
diff -u -p -r1.137 Makefile
--- graphics/ImageMagick/Makefile 1 Jun 2015 06:54:02 -0000
1.137
+++ graphics/ImageMagick/Makefile 7 Jun 2015 07:58:48 -0000
@@ -72,7 +72,8 @@ CONFIGURE_ARGS+= --with-quantum-depth=16
--with-gs-font-dir=${LOCALBASE}/share/fonts/ghostscript \
--with-ltdl-include=${LOCALBASE}/include \
--with-ltdl-lib=${LOCALBASE}/lib \
- --disable-ltdl-install
+ --disable-ltdl-install \
+ --disable-openmp
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include/libxml2
-I${LOCALBASE}/include" \
LDFLAGS="-L${WRKBUILD}/magick/.libs
-L${WRKBUILD}/wand/.libs -L${LOCALBASE}/lib" \