[Bug 257167] Mk/Uses/compiler.mk: openmp parameter wrongly sets gcc on some architectures

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Jul 2021 01:22:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257167

            Bug ID: 257167
           Summary: Mk/Uses/compiler.mk: openmp parameter wrongly sets gcc
                    on some architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

LLVM has libomp on most architectures, so it should be possible to set
USES=compiler:openmp and just use base clang on those architectures.

There are some architectures where there's no libomp available due to lack of
support, and for those architectures USES=compiler:openmp should be equal to
USES=compiler:gcc-c++11-lib.

Currently setting USES=compiler:openmp is equal to USE_GCC=yes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.