Bug 246564

Summary: graphics/ImageMagick7 enable openmp by default
Product: Ports & Packages Reporter: Arno de Vries <devries.arno>
Component: Individual Port(s)Assignee: Koop Mast <kwm>
Status: New ---    
Severity: Affects Many People CC: mikael, rhurlin
Priority: --- Flags: bugzilla: maintainer-feedback? (kwm)
Version: Latest   
Hardware: Any   
OS: Any   

Description Arno de Vries 2020-05-19 07:07:43 UTC
Now that OpenMP is part of BASE, it could be enabled by default so packages will use it automatically. If gives a huge performance boost.
Comment 1 Mikael Urankar freebsd_committer 2020-05-19 07:13:56 UTC
(In reply to devries.arno from comment #0)
Is it available on all arches?
Comment 2 Arno de Vries 2020-05-19 09:30:58 UTC
(In reply to Mikael Urankar from comment #1)
I didn't think of that. I am not sure if aarch64 is supported in OpenMP. It was not supported in the deprecated OpenMP port, but it IS supported in LLVM. Can't find anything about the current state in FreeBSD.

But either way, isn't it possible to make the Configuration Options architecture aware? I am not that familiar with the ports build system.

If this is a problem I will have to continue using the port.But that would be a pity because it really makes a lot of difference, not only for ImageMagick.
Comment 3 Mikael Urankar freebsd_committer 2020-05-20 07:17:03 UTC
(In reply to devries.arno from comment #2)
Yes:

bsd.options.mk:# OPTIONS_DEFINE_${ARCH}       - List of options this ports accept and are
bsd.options.mk:# OPTIONS_DEFAULT_${ARCH}      - List of options activated by default for a
bsd.options.mk:# OPTIONS_EXCLUDE_${ARCH}      - List of options unsupported on a given ${ARCH}