git: df612b799ef5 - main - devel/ittapi: restrict to amd64 and i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Nov 2023 12:25:24 UTC
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=df612b799ef528fc9d196464bd67be521aed428f commit df612b799ef528fc9d196464bd67be521aed428f Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2023-11-19 12:23:36 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2023-11-19 12:25:21 +0000 devel/ittapi: restrict to amd64 and i386 --- devel/ittapi/Makefile | 3 +++ lang/julia/Makefile | 13 ++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/devel/ittapi/Makefile b/devel/ittapi/Makefile index 6741a6070571..c6c0f628c655 100644 --- a/devel/ittapi/Makefile +++ b/devel/ittapi/Makefile @@ -12,6 +12,9 @@ LICENSE_COMB= dual LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSES/BSD-3-Clause.txt LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSES/GPL-2.0-only.txt +ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS_REASON= invokes x86 assembly + USE_GITHUB= yes GH_ACCOUNT= intel diff --git a/lang/julia/Makefile b/lang/julia/Makefile index ab4b36654b5e..283035d94b70 100644 --- a/lang/julia/Makefile +++ b/lang/julia/Makefile @@ -18,7 +18,6 @@ ONLY_FOR_ARCHS_REASON= Has not been ported to this platform for freebsd MY_DEPENDS= 7zz:archivers/7-zip BUILD_DEPENDS= patchelf:sysutils/patchelf \ cmake:devel/cmake-core \ - ittapi>0:devel/ittapi \ gfortran${_GCC_VER}:lang/gcc${_GCC_VER} \ ${MY_DEPENDS} LIB_DEPENDS= libcurl.so:ftp/curl \ @@ -36,6 +35,9 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ RUN_DEPENDS= ${MY_DEPENDS} \ gfortran${_GCC_VER}:lang/gcc${_GCC_VER} +BUILD_DEPENDS_amd64= ittapi>0:devel/ittapi +BUILD_DEPENDS_i386= ittapi>0:devel/ittapi + # Do not set USES=fortran to avoid extra-linkage USES= gmake cpe python perl5 blaslapack:openblas _GCC_VER= ${GCC_DEFAULT:S/.//} @@ -55,7 +57,6 @@ MAKE_ARGS+= NO_GIT=1 \ USE_SYSTEM_CURL=1 \ USE_SYSTEM_DSFMT=1 \ USE_SYSTEM_GMP=1 \ - USE_SYSTEM_ITTAPI=1 \ USE_SYSTEM_OPENLIBM=1 \ USE_SYSTEM_LAPACK=1 \ USE_SYSTEM_LIBGIT2=1 \ @@ -97,6 +98,12 @@ DEBUG_MAKE_ARGS= FORCE_ASSERTIONS=1 \ DOCS_VARS= INSTALL_TARGET+=install-docs +.include <bsd.port.pre.mk> + +.if ${ARCH} == amd64 || ${ARCH} == i386 +MAKE_ARGS+= USE_SYSTEM_ITTAPI=1 +.endif + pre-configure: echo "override TAGGED_RELEASE_BANNER=\"FreeBSD port lang/${PORTNAME} build\"" >> ${WRKSRC}/Make.user # unset ARCH for auto-detection @@ -140,4 +147,4 @@ post-install-DEBUG-off: post-install-DOCS-off: ${RM} -r ${STAGEDIR}${PREFIX}/${INSTALLDIR}/share/doc -.include <bsd.port.mk> +.include <bsd.port.post.mk>