From nobody Sun Sep 11 18:48:54 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MQdzp2b4Hz4cRKc; Sun, 11 Sep 2022 18:48:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MQdzp25yNz3MPn; Sun, 11 Sep 2022 18:48:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662922134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+zPl47qXae3LOGtgewU+aX6bo1dQbDvSr0m0dvLRLzc=; b=XFEeePbPosN8xYpQnE4mJEm9rE3IleatMpQJkHTxMikTIop2LVKnBxUSsj7q4nfNeUkPq3 CJH0xUJo4vimfFYwiaadsKT8SYg/lJclC2oHynAQMU3YHE/z884j+fuTyYIK1c518dPy3/ VubDDfIg4Jn+AC2ER4tS3I3P12hJGLu1OIm0TfQqCI6oDB+Lk9KUa7xfrvipQ2sR/1aeAl oebgCoZeN/RvaJimB4u2iKiq3jauYOkKh9PqRiQvy9tj5Hqv/dCVgVWdtoMMBAcYrtHOKD mZxOwfS5ywR5jC8DWP3q99BoT+h8h2ctDKDAGgzJ/ek5PPo65ZY/Lwx7otVStA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MQdzp17DNzkPZ; Sun, 11 Sep 2022 18:48:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28BImsQL051668; Sun, 11 Sep 2022 18:48:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28BImsJZ051667; Sun, 11 Sep 2022 18:48:54 GMT (envelope-from git) Date: Sun, 11 Sep 2022 18:48:54 GMT Message-Id: <202209111848.28BImsJZ051667@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 6f2b881f6fcf - main - lang/julia: Fix runtime issue List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6f2b881f6fcf3d35f33368511f85dc07662c6b2c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662922134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+zPl47qXae3LOGtgewU+aX6bo1dQbDvSr0m0dvLRLzc=; b=qhPsm+WlTYRFPWXMmmoRkee0hSqyg6D1qCTwgJNExSKaceK1kJ/+asu+dICfkxt4c4Gp8O +/zX/zN+7x5kv/KWjCB6rjh9YUuL1Zod1tJzmF40gS1sJsLHoBy6CkMwHVBgQMw5aGMIsc 77lfHHjdzhgyOLBNk3rU66pqLKtgogMIKc2/1RVY7w9Ot7OOsBxLJhXjj0yLGM2pYwUb88 SYWJVnauvswN8JnYanoWHLXgkeyjLiR38VjdtyMKA2AYolNqgjVMcOJJCSSzKFWteYi4kc 0N3DxrepjrUqDi3SkWrOl+bVojbHepgD5WqJUdJPSsFLGeSDnXYIEvupmaLtsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662922134; a=rsa-sha256; cv=none; b=jPQm0LqNDG8L2en6TbdMQ2uu65lO7i55s2xKEhKBjK3B/7I5YaOGz7DQ2KGV9GDnHjAfdw fY4D+H3ONWBW0Wh01Nb2l6a6eD79pKt/aBwSEjG+cAvYTQsdML8sf7E4HPIoy5QcJme5Oy sNpE5PjFr9DlWTNQF56kCkA4frwBJNM7fMorrFlE+GkkTNxTsvhNM3bgkgcj5R1mxkA5qK TF4WWxD22z8SoX2Ag3UxKDj0DUV0IMxCRH1W7fE2IkJ2dM3RXTb1CFKcN7Q7/hsNoYNQ+m A8LkuujZE2DZdCwoq6I280e0WGMersFonViC1HW89ZeKcYXtCMoCuQZVoiyXig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f2b881f6fcf3d35f33368511f85dc07662c6b2c commit 6f2b881f6fcf3d35f33368511f85dc07662c6b2c Author: Eric Reardon AuthorDate: 2022-09-11 18:15:33 +0000 Commit: Daniel Engberg 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 --- 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