On Thu, 11 Jun 2015 12:03:27 +0100, Stuart Henderson wrote:
> On 2015/06/11 11:37, Pascal Stumpf wrote:
> > Though as your patch demonstrates, this needs more testing because some
> > ports will start to pick up libgomp once it's supported. I can do an
> > audit of everything that uses ports gcc, but that may take some time.
>
> Here are a few to look at for starters..(I haven't checked which compiler
> they use)
>
Will use -fopenmp in one component (3rdparty/libprojectm), but does not
link to libgomp. REVISION bump is enough.
> audio/clementine
Will start to use -fopenmp and -lgomp, diff below.
> games/supertuxkart
> graphics/blender
> math/R
Fluke because of old CONFIGURE_ARGS that's irrelevant now (included in
diff).
> graphics/digikam-kde4
I also took a closer look at ImageMagick. It's a bit weird that it
needs patching since it uses the base compiler. I believe it's due to a
broken configure: It checks for -lgomp even if the check for -fopenmp
failed. We probably need to watch out for stuff like this.
Index: games/supertuxkart/Makefile
===================================================================
RCS file: /cvs/ports/games/supertuxkart/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- games/supertuxkart/Makefile 30 Apr 2015 22:29:49 -0000 1.14
+++ games/supertuxkart/Makefile 19 Jun 2015 09:17:30 -0000
@@ -3,6 +3,7 @@
COMMENT = kart racing game with OSS mascots
V = 0.9
+REVISION = 0
BASENAME = supertuxkart-${V}
DISTNAME = ${BASENAME}-src
PKGNAME = ${BASENAME}
@@ -16,7 +17,7 @@ MAINTAINER = Pascal Stumpf <Pascal.Stum
# GPLv3+
PERMIT_PACKAGE_CDROM = Yes
-WANTLIB += GL GLU ICE SM X11 Xext Xrandr c curl jpeg
+WANTLIB += GL GLU ICE SM X11 Xext Xrandr c curl gomp jpeg
WANTLIB += m ogg openal png pthread vorbis vorbisfile z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=supertuxkart/SuperTuxKart/}
Index: graphics/blender/Makefile
===================================================================
RCS file: /cvs/ports/graphics/blender/Makefile,v
retrieving revision 1.68
diff -u -p -r1.68 Makefile
--- graphics/blender/Makefile 28 May 2015 10:17:23 -0000 1.68
+++ graphics/blender/Makefile 19 Jun 2015 09:17:30 -0000
@@ -5,7 +5,7 @@ ONLY_FOR_ARCHS = amd64 i386
COMMENT = 3D creation software
DISTNAME = blender-2.74
-REVISION = 0
+REVISION = 1
CATEGORIES = graphics
@@ -53,7 +53,7 @@ RUN_DEPENDS = devel/desktop-file-utils \
WANTLIB += GL GLEW GLU Half Iex IlmImf IlmThread Imath OpenColorIO
WANTLIB += OpenImageIO X11 Xi Xxf86vm avcodec avdevice avformat
WANTLIB += avutil boost_date_time-mt boost_filesystem-mt boost_regex-mt
-WANTLIB += boost_system-mt boost_thread-mt c freetype jpeg m openal
+WANTLIB += boost_system-mt boost_thread-mt c freetype gomp jpeg m openal
WANTLIB += openjpeg png pthread ${MODPY_WANTLIB} swscale tiff tinyxml
WANTLIB += util yaml-cpp z
Index: math/R/Makefile
===================================================================
RCS file: /cvs/ports/math/R/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- math/R/Makefile 28 May 2015 08:09:46 -0000 1.71
+++ math/R/Makefile 19 Jun 2015 09:17:30 -0000
@@ -4,7 +4,7 @@ SHARED_ONLY= Yes
COMMENT= powerful math/statistics/graphics language
DISTNAME= R-3.2.0
-REVISION= 1
+REVISION= 2
SHARED_LIBS= R 3.1
SHARED_LIBS+= Rlapack 31.2 # 31.2
@@ -20,7 +20,7 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB= ICE SM X11 Xext Xmu Xss Xt bz2 c crypto curl \
cairo ereadline fontconfig freetype glib-2.0 \
- gobject-2.0 icui18n icuuc idn jpeg lzma m \
+ gobject-2.0 gomp icui18n icuuc idn jpeg lzma m \
ncurses pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre png pthread ssl tiff z \
${MODTK_WANTLIB}
Index: graphics/digikam-kde4/Makefile
===================================================================
RCS file: /cvs/ports/graphics/digikam-kde4/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- graphics/digikam-kde4/Makefile 27 Mar 2015 08:11:28 -0000 1.10
+++ graphics/digikam-kde4/Makefile 19 Jun 2015 09:19:54 -0000
@@ -209,8 +209,7 @@ CONFIGURE_ARGS = -DCMAKE_DISABLE_FIND_PA
-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS:Bool=No \
-DENABLE_INTERNALMYSQL:Bool=No \
-DENABLE_KDEPIMLIBSSUPPORT:Bool=Yes \
- -DENABLE_LCMS2:Bool=Yes \
- -DWITH_OpenMP:Bool=No
+ -DENABLE_LCMS2:Bool=Yes
FLAVOR ?=