git: ab8ff741d75a - main - devel/llvm14: disable OpenMP DeviceRtl
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Feb 2022 19:48:47 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ab8ff741d75ac417683e687e70e694725fd94038
commit ab8ff741d75ac417683e687e70e694725fd94038
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2022-02-14 19:48:17 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2022-02-14 19:48:17 +0000
devel/llvm14: disable OpenMP DeviceRtl
For reasons that are not fully explored builds on aarch64 (and maybe
powerpc64le), but not amd64. The generated bitcode targets Linux ABIs
and seems unlikely to work in practice so just turn it off rather than
handlng plist differences on aarch64.
PR: 261921
Reported by: jbeich
---
devel/llvm14/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devel/llvm14/Makefile b/devel/llvm14/Makefile
index ec9be801a4d3..5c24300706a3 100644
--- a/devel/llvm14/Makefile
+++ b/devel/llvm14/Makefile
@@ -177,7 +177,8 @@ 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_ON= -DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=OFF
+OPENMP_CMAKE_ON= -DLIBOMPTARGET_BUILD_AMDGCN_BCLIB=OFF \
+ -DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB=OFF
OPENMP_PORTDOCS= openmp
PYCLANG_DESC= Install python bindings to libclang
PYCLANG_IMPLIES= CLANG