aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2022-02-14 19:48:17 +0000
committerBrooks Davis <brooks@FreeBSD.org>2022-02-14 19:48:17 +0000
commitab8ff741d75ac417683e687e70e694725fd94038 (patch)
tree7bff2ebe4fa05fbe33a5577535afa81653e58de2
parent0ecdbd4617e30459ecc5e395e991c3dddb066c24 (diff)
downloadports-ab8ff741d75ac417683e687e70e694725fd94038.tar.gz
ports-ab8ff741d75ac417683e687e70e694725fd94038.zip
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
-rw-r--r--devel/llvm14/Makefile3
1 files changed, 2 insertions, 1 deletions
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