Bug 246564 - graphics/ImageMagick7 enable openmp by default
Summary: graphics/ImageMagick7 enable openmp by default
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Koop Mast
Depends on:
Reported: 2020-05-19 07:07 UTC by Arno de Vries
Modified: 2020-05-20 07:17 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (kwm)


Note You need to log in before you can comment on or make changes to this bug.
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)

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}