Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2024 21:48:30 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c8f7adea6257 - main - devel/llvm-devel: fix build on non-amd64 / non-14.0
Message-ID:  <202404162148.43GLmUNQ096045@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit c8f7adea62571d6e3d9ae5a0c55fac16bda58169
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-04-16 21:45:33 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-04-16 21:48:17 +0000

    devel/llvm-devel: fix build on non-amd64 / non-14.0
---
 devel/llvm-devel/Makefile  |  4 +++-
 devel/llvm-devel/pkg-plist | 16 ++++++++--------
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index c5ab4ea63af3..17e4a026db8f 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -179,7 +179,8 @@ STATIC_LIBS_DESC= Install static libraries (does not effect sanitizers)
 
 CONFLICTS_INSTALL=	${PORTNAME}${LLVM_SUFFIX} ${PORTNAME}${LLVM_SUFFIX}-lite
 
-PLIST_SUB+=	LLVM_MAJOR_MINOR=${LLVM_MAJOR_MINOR} \
+PLIST_SUB+=	CONFIGURE_TARGET=${CONFIGURE_TARGET} \
+		LLVM_MAJOR_MINOR=${LLVM_MAJOR_MINOR} \
 		LLVM_MAJOR=${LLVM_MAJOR} \
 		LLVM_RELEASE=${LLVM_RELEASE}
 
@@ -502,6 +503,7 @@ build-plist:
 	    -e 's|${LLVM_MAJOR}git|%%LLVM_MAJOR%%git|' \
 	    -e 's|/${LLVM_MAJOR}/|/%%LLVM_MAJOR%%/|' \
 	    -e 's|\([-./]\)${LLVM_MAJOR:C/\./\\./}$$|\1%%LLVM_MAJOR%%|' \
+	    -e 's|${CONFIGURE_TARGET}|%%CONFIGURE_TARGET%%|' \
 	    | ${SORT} >> ${PLIST}.tmp
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/${LIT_MOD_NAME} -type f | \
 	    ${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \
diff --git a/devel/llvm-devel/pkg-plist b/devel/llvm-devel/pkg-plist
index acd7e07fb758..aee28c5d7bbf 100644
--- a/devel/llvm-devel/pkg-plist
+++ b/devel/llvm-devel/pkg-plist
@@ -6027,6 +6027,14 @@ llvm-devel/include/llvm/XRay/YAMLXRayRecord.h
 %%POLLY%%llvm-devel/include/polly/isl/vec.h
 %%POLLY%%llvm-devel/include/polly/isl/version.h
 %%POLLY%%llvm-devel/include/polly/isl/vertices.h
+%%OPENMP%%llvm-devel/lib/%%CONFIGURE_TARGET%%/cmake/openmp/FindOpenMPTarget.cmake
+%%OPENMP%%llvm-devel/lib/%%CONFIGURE_TARGET%%/libarcher.so
+%%OPENMP%%llvm-devel/lib/%%CONFIGURE_TARGET%%/libarcher_static.a
+%%OPENMP%%llvm-devel/lib/%%CONFIGURE_TARGET%%/libgomp.so
+%%OPENMP%%llvm-devel/lib/%%CONFIGURE_TARGET%%/libiomp5.so
+%%OPENMP%%llvm-devel/lib/%%CONFIGURE_TARGET%%/libomp.so
+%%OPENMP%%llvm-devel/lib/%%CONFIGURE_TARGET%%/libomptarget.so
+%%OPENMP%%llvm-devel/lib/%%CONFIGURE_TARGET%%/libomptarget.so.%%LLVM_MAJOR_MINOR%%git
 %%POLLY%%llvm-devel/lib/LLVMPolly.so
 %%CLANG%%%%FLANG%%llvm-devel/lib/clang/%%LLVM_MAJOR%%/include/ISO_Fortran_binding.h
 %%CLANG%%llvm-devel/lib/clang/%%LLVM_MAJOR%%/include/__clang_cuda_builtin_vars.h
@@ -7078,14 +7086,6 @@ llvm-devel/lib/libRemarks.so.%%LLVM_MAJOR_MINOR%%git
 %%MLIR%%llvm-devel/lib/objects-Release/obj.MLIRCAPITransformDialectTransforms/TransformInterpreter.cpp.o
 %%MLIR%%llvm-devel/lib/objects-Release/obj.MLIRCAPITransforms/Passes.cpp.o
 %%MLIR%%llvm-devel/lib/objects-Release/obj.MLIRCAPIVector/Vector.cpp.o
-%%OPENMP%%llvm-devel/lib/x86_64-portbld-freebsd14.0/cmake/openmp/FindOpenMPTarget.cmake
-%%OPENMP%%llvm-devel/lib/x86_64-portbld-freebsd14.0/libarcher.so
-%%OPENMP%%llvm-devel/lib/x86_64-portbld-freebsd14.0/libarcher_static.a
-%%OPENMP%%llvm-devel/lib/x86_64-portbld-freebsd14.0/libgomp.so
-%%OPENMP%%llvm-devel/lib/x86_64-portbld-freebsd14.0/libiomp5.so
-%%OPENMP%%llvm-devel/lib/x86_64-portbld-freebsd14.0/libomp.so
-%%OPENMP%%llvm-devel/lib/x86_64-portbld-freebsd14.0/libomptarget.so
-%%OPENMP%%llvm-devel/lib/x86_64-portbld-freebsd14.0/libomptarget.so.%%LLVM_MAJOR_MINOR%%git
 %%CLANG%%llvm-devel/libexec/analyze-c++
 %%CLANG%%llvm-devel/libexec/analyze-cc
 %%CLANG%%llvm-devel/libexec/c++-analyzer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404162148.43GLmUNQ096045>