git: e3293b55564d - main - lang/pocl: fix build on powerpc64*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Aug 2025 21:39:11 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e3293b55564deb2682efc2922b7e168ef94a8c68
commit e3293b55564deb2682efc2922b7e168ef94a8c68
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-08-03 12:08:29 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-08-03 21:39:03 +0000
lang/pocl: fix build on powerpc64*
CMake Error at CMakeLists.txt:1822 (message):
Cannot build with CPU autodetection distro variants build, and enforce
LLC_HOST_CPU at the same time. Please pick one
---
lang/pocl/Makefile | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/lang/pocl/Makefile b/lang/pocl/Makefile
index 42a411b8e653..31f00e9f6792 100644
--- a/lang/pocl/Makefile
+++ b/lang/pocl/Makefile
@@ -37,17 +37,14 @@ CMAKE_ARGS= ${CMAKE_ARGS_${ARCH}} \
-DENABLE_SPIRV=ON \
-DHAVE_OCL_ICD_30_COMPATIBLE=ON \
-DHOST_COMPILER_SUPPORTS_FLOAT16:BOOL=OFF \
- -DKERNELLIB_HOST_CPU_VARIANTS=distro \
-DLLVM_CONFIG_LOCATION=${LOCALBASE}/bin/llvm-config${LLVM_VER}/ \
-DPOCL_ICD_ABSOLUTE_PATH=ON \
-DPOCL_INSTALL_PKGCONFIG_DIR="${PREFIX}/libdata/pkgconfig" \
-DWITH_LLVM_CONFIG="${LOCALBASE}/llvm${LLVM_VER}/bin/llvm-config"
CMAKE_ARGS_aarch64= -DLLC_HOST_CPU=cortex-a53
-CMAKE_ARGS_powerpc64= -DLLC_HOST_CPU=ppc64 \
- -DKERNELLIB_HOST_CPU_VARIANTS=distro
-CMAKE_ARGS_powerpc64le= -DLLC_HOST_CPU=ppc64le \
- -DKERNELLIB_HOST_CPU_VARIANTS=distro
+CMAKE_ARGS_powerpc64= -DLLC_HOST_CPU=ppc64
+CMAKE_ARGS_powerpc64le= -DLLC_HOST_CPU=ppc64le
CMAKE_ARGS_amd64= -DKERNELLIB_HOST_CPU_VARIANTS=distro
PLIST_SUB= CONFIGURE_TARGET=${CONFIGURE_TARGET:S/amd64/x86_64/}