git: 79207f500c9b - main - devel/llvm13: Disable OpenMP amdgcn bit code

Brooks Davis brooks at FreeBSD.org
Mon Sep 27 22:24:13 UTC 2021


The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/ports/commit/?id=79207f500c9bf7daf9c1517d71f71b4a2950300f

commit 79207f500c9bf7daf9c1517d71f71b4a2950300f
Author:     Brooks Davis <brooks at FreeBSD.org>
AuthorDate: 2021-09-27 22:23:57 +0000
Commit:     Brooks Davis <brooks at FreeBSD.org>
CommitDate: 2021-09-27 22:23:57 +0000

    devel/llvm13: Disable OpenMP amdgcn bit code
    
    Due to a bug in the CMakefiles these build for aarch64 and maybe
    ppc64le.  This resulted in plist breakage for aarch64.
    
    It would be straightforward to enable them for amd64, but I have no way
    to test them and the current CMake bits build them for linux targets so
    I suspect they won't work.
    
    PR:             258706
    Reviewed by:    jbeich
    Sponsored by:   DARPA
---
 devel/llvm13/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/llvm13/Makefile b/devel/llvm13/Makefile
index 650da0941660..29284492c4e6 100644
--- a/devel/llvm13/Makefile
+++ b/devel/llvm13/Makefile
@@ -174,6 +174,7 @@ LLDB_USES=		lua:53 libedit
 LLDB_VARS=		_USES_PYTHON=python:3.6+
 MLIR_DESC=		Multi-Level Intermediate Representation
 OPENMP_DESC=		Install libomp, the LLVM OpenMP runtime library
+OPENMP_CMAKE_IN=	-DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=OFF
 OPENMP_PORTDOCS=	openmp
 PYCLANG_DESC=	Install python bindings to libclang
 PYCLANG_IMPLIES=	CLANG


More information about the dev-commits-ports-main mailing list