Date: Sun, 11 Sep 2022 18:48:54 GMT From: Daniel Engberg <diizzy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6f2b881f6fcf - main - lang/julia: Fix runtime issue Message-ID: <202209111848.28BImsJZ051667@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f2b881f6fcf3d35f33368511f85dc07662c6b2c commit 6f2b881f6fcf3d35f33368511f85dc07662c6b2c Author: Eric Reardon <rizor.reardon@yahoo.com> AuthorDate: 2022-09-11 18:15:33 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-09-11 18:48:31 +0000 lang/julia: Fix runtime issue * Disable automatic optimization as this causes runtime issues if CPU instructions are not available. * Install certificate PR: 265109 Reported by: Alexey Vyskubov <alexey@ocaml.nl> --- lang/julia/Makefile | 11 ++++++++--- lang/julia/pkg-plist | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lang/julia/Makefile b/lang/julia/Makefile index 23260385466f..7f96fddd4408 100644 --- a/lang/julia/Makefile +++ b/lang/julia/Makefile @@ -1,8 +1,9 @@ PORTNAME= julia DISTVERSION= 1.7.3 DISTVERSIONSUFFIX= -full +PORTREVISION= 1 CATEGORIES= lang math -MASTER_SITES= https://github.com/JuliaLang/julia/releases/download/v${DISTVERSION}/ +MASTER_SITES= https://github.com/JuliaLang/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= rizor.reardon@yahoo.com COMMENT= Implementation of Julia, a language for technical computing @@ -37,6 +38,7 @@ 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 @@ -51,13 +53,13 @@ TEST_TARGET= test PORTDOCS= html PLIST_SUB= VERSION="${PORTVERSION:R}" -CXXFLAGS+= -std=c++14 MAKE_ARGS+= NO_GIT=1 \ USE_BINARYBUILDER=0 \ prefix=${PREFIX} \ JCXXFLAGS="${CXXFLAGS}" \ USE_GPL_LIBS=0 \ ARCH=x86_64 \ + JULIA_CPU_TARGET=generic \ USE_SYSTEM_CURL=1 \ USE_SYSTEM_GMP=1 \ USE_SYSTEM_OPENLIBM=1 \ @@ -93,7 +95,7 @@ GPL_LIBS_MAKE_ARGS= USE_SYSTEM_LIBSUITESPARSE=1 \ USE_GPL_LIBS=1 NATIVE_DESC= Build with native CPU JIT tuning -NATIVE_MAKE_ARGS= MARCH=native +NATIVE_MAKE_ARGS= JULIA_CPU_TARGET=native post-patch: echo "override TAGGED_RELEASE_BANNER=\"FreeBSD port lang/${PORTNAME} build\"" >> ${WRKSRC}/Make.user @@ -114,6 +116,9 @@ post-configure: echo "USE_BLAS64=0" >> ${WRKSRC}/Make.user \ ) +pre-install: + ${CP} ${WRKSRC}/deps/srccache/cacert-2020-10-14.pem ${WRKSRC}/usr/share/julia/cert.pem + post-install: # clean up for Pkg3.jl .for file in .codecov.yml .travis.yml appveyor.yml bors.toml .gitignore source-extracted diff --git a/lang/julia/pkg-plist b/lang/julia/pkg-plist index 8f5609de8d3b..73552edb59d0 100644 --- a/lang/julia/pkg-plist +++ b/lang/julia/pkg-plist @@ -291,6 +291,7 @@ libexec/7z %%DATADIR%%/base/version_git.jl %%DATADIR%%/base/views.jl %%DATADIR%%/base/weakkeydict.jl +%%DATADIR%%/cert.pem %%DATADIR%%/julia-config.jl %%DATADIR%%/stdlib/v%%VERSION%%/ArgTools/LICENSE %%DATADIR%%/stdlib/v%%VERSION%%/ArgTools/Project.toml
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209111848.28BImsJZ051667>