Date: Sat, 3 Dec 2022 20:56:09 GMT From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 57fd8dc61847 - 2022Q4 - lang/julia: unbrake after update of math/suitesparse-cholmod Message-ID: <202212032056.2B3Ku9kl020202@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2022Q4 has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=57fd8dc618470cea89caa052364dda8e5694c670 commit 57fd8dc618470cea89caa052364dda8e5694c670 Author: Eric Reardon <rizor.reardon@yahoo.com> AuthorDate: 2022-12-02 06:58:10 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2022-12-03 20:51:57 +0000 lang/julia: unbrake after update of math/suitesparse-cholmod Looks like julia is incompatible with the latest version of suitesparse-cholmod. suitesparse is an optional dependency so remove it for now and will add it back when a version of julia that is compatible with it is released. PR: 268025 Reported by: rizor.reardon@yahoo.com (maintainer) (cherry picked from commit 8a3c1b4542340f4ac480a55ce225b10f10238436) --- lang/julia/Makefile | 50 +++++++++++++++++++++++--------------------------- lang/julia/pkg-plist | 8 -------- 2 files changed, 23 insertions(+), 35 deletions(-) diff --git a/lang/julia/Makefile b/lang/julia/Makefile index 3429e5ba5a28..0419db24ea29 100644 --- a/lang/julia/Makefile +++ b/lang/julia/Makefile @@ -1,7 +1,7 @@ PORTNAME= julia DISTVERSION= 1.8.3 DISTVERSIONSUFFIX= -full -PORTREVISION= 1 +PORTREVISION= 3 CATEGORIES= lang math MASTER_SITES= https://github.com/JuliaLang/${PORTNAME}/releases/download/v${DISTVERSION}/ @@ -37,22 +37,11 @@ USES= gmake compiler:c++14-lang cpe fortran python perl5 \ CPE_VENDOR= julialang -BINARY_ALIAS= python3=${PYTHON_CMD} gfortran=gfortran${_GCC_VER} USE_CXXSTD= c++14 USE_LDCONFIG= yes -CFLAGS+= -fpic SHEBANG_GLOB= *.sh -WRKSRC= ${WRKDIR}/julia-${DISTVERSION} - -ALL_TARGET= default -INSTALL_TARGET= install -TEST_TARGET= test - -PORTDOCS= html -PLIST_SUB= VERSION="${PORTVERSION:R}" - MAKE_ARGS+= NO_GIT=1 \ USE_BINARYBUILDER=0 \ prefix=${PREFIX} \ @@ -77,26 +66,33 @@ MAKE_ARGS+= NO_GIT=1 \ USE_SYSTEM_CSL=1 \ USE_SYSTEM_ZLIB=1 \ USE_SYSTEM_LIBUNWIND=1 +ALL_TARGET= default +INSTALL_TARGET= install +TEST_TARGET= test -OPTIONS_DEFINE= DEBUG DOCS NATIVE GPL_LIBS -OPTIONS_DEFAULT= DOCS GPL_LIBS +CFLAGS+= -fpic + +BINARY_ALIAS= python3=${PYTHON_CMD} gfortran=gfortran${_GCC_VER} + +WRKSRC= ${WRKDIR}/julia-${DISTVERSION} + +PLIST_SUB= VERSION="${PORTVERSION:R}" +PORTDOCS= html + +OPTIONS_DEFINE= DEBUG DOCS NATIVE +OPTIONS_DEFAULT= DOCS OPTIONS_SUB= yes + +NATIVE_DESC= Build with native CPU JIT tuning +NATIVE_MAKE_ARGS= JULIA_CPU_TARGET=native + DEBUG_MAKE_ARGS= FORCE_ASSERTIONS=1 \ ALL_TARGET=all \ BUNDLE_DEBUG_LIBS=1 DOCS_VARS= INSTALL_TARGET+=install-docs -GPL_LIBS_DESC= Build with GPL library suitesparse -GPL_LIBS_LIB_DEPENDS= libspqr.so:math/suitesparse-spqr \ - libumfpack.so:math/suitesparse-umfpack -GPL_LIBS_MAKE_ARGS= USE_SYSTEM_LIBSUITESPARSE=1 \ - USE_GPL_LIBS=1 - -NATIVE_DESC= Build with native CPU JIT tuning -NATIVE_MAKE_ARGS= JULIA_CPU_TARGET=native - post-patch: echo "override TAGGED_RELEASE_BANNER=\"FreeBSD port lang/${PORTNAME} build\"" >> ${WRKSRC}/Make.user # unset ARCH for auto-detection @@ -122,15 +118,12 @@ pre-install: post-install: # clean up for Pkg3.jl .for file in .codecov.yml .travis.yml appveyor.yml bors.toml .gitignore source-extracted *.orig - ${FIND} ${STAGEDIR}${PREFIX}/share/julia/ -name ${file} -delete + ${FIND} ${STAGEDIR}${PREFIX}/share/julia/ -name "${file}" -delete .endfor .for dir in Statistics SuiteSparse ArgTools Pkg Downloads LibCURL NetworkOptions Tar ${RM} -fr ${STAGEDIR}${PREFIX}/share/julia/stdlib/v${PORTVERSION:R}/${dir}/.github/ .endfor -post-install-DOCS-off: - ${RM} -r ${STAGEDIR}${PREFIX}/${INSTALLDIR}/share/doc - post-install-DEBUG-off: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/julia* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libjulia.so* @@ -138,4 +131,7 @@ post-install-DEBUG-off: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/julia/${bin} .endfor +post-install-DOCS-off: + ${RM} -r ${STAGEDIR}${PREFIX}/${INSTALLDIR}/share/doc + .include <bsd.port.mk> diff --git a/lang/julia/pkg-plist b/lang/julia/pkg-plist index d87b5b7f9832..6596f25a9c78 100644 --- a/lang/julia/pkg-plist +++ b/lang/julia/pkg-plist @@ -39,16 +39,11 @@ include/julia/uv/unix.h include/julia/uv/version.h lib/julia/libLLVM-13jl.so lib/julia/libLLVM.so -%%GPL_LIBS%%lib/julia/libamd.so lib/julia/libatomic.so.1 lib/julia/libblastrampoline.so lib/julia/libblastrampoline.so.5 lib/julia/libblastrampoline.so.5.0.2 -%%GPL_LIBS%%lib/julia/libcamd.so lib/julia/libccalltest.so -%%GPL_LIBS%%lib/julia/libccolamd.so -%%GPL_LIBS%%lib/julia/libcholmod.so -%%GPL_LIBS%%lib/julia/libcolamd.so lib/julia/libcurl.so lib/julia/libdSFMT.so lib/julia/libgcc_s.so.1 @@ -78,12 +73,9 @@ lib/julia/libopenblas.so lib/julia/libopenlibm.so lib/julia/libpcre2-8.so lib/julia/libquadmath.so.0 -%%GPL_LIBS%%lib/julia/libspqr.so lib/julia/libssh2.so lib/julia/libssp.so.0 lib/julia/libstdc++.so.6 -%%GPL_LIBS%%lib/julia/libsuitesparseconfig.so -%%GPL_LIBS%%lib/julia/libumfpack.so lib/julia/libuv.so lib/julia/libuv.so.2 lib/julia/libuv.so.2.0.0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212032056.2B3Ku9kl020202>