From nobody Sun Apr 30 09:26:24 2023 X-Original-To: dev-commits-ports-all@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 4Q8LZ86Ry1z46Ywv; Sun, 30 Apr 2023 09:26:24 +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 4Q8LZ859Pqz42BX; Sun, 30 Apr 2023 09:26:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682846784; 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=HDyd3l3+2ICxjfHQxPF21KmiD+876sGwStfU4Zo4AAI=; b=HcENCrvYi9uD/qnbvxP6yQejN2jR8ack0kqn4306vHyISPghWQsBln34Zwv1vh5ml6gfqv Tgglch4imql3z69LQwj3w6POXXxvSFBLiy5BpwR2qysXz05L/bjMALL4VuwZdTmcgMBezh 6IA1V8rgg375RMeM+f1jOXsizXpv//12deGKJh+bXoabWzXVD5llOfLyl/xCYGZKmJacnc BUJNfx6FghOhu6tevXycwddYK3U7hng71i2xofcGMfg0iDB7fVOf3lKUCjkXeeaSNQvoUg bVCodL2e/625NGpyYhX7bkENkxtLHs9FprFjpSfLe2k1gCCnaBG1bzCdwhNndg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682846784; 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=HDyd3l3+2ICxjfHQxPF21KmiD+876sGwStfU4Zo4AAI=; b=n03Q8Jz7JltQ9IiZKpRjRjTrX0Y99S73ZYh6yae1wkxn714J07GURbmyhrXpuOWleNsnsp 0VgmE52zrwibzZqGo1n816J/lnSwZgtIo+uPt9Y2h8NYXKtLv6NNUEWK1wsaeFKKy0pEq3 UXmSCRwP/E9152U+KLzIGXOMKiES5s9UxYroiLMv368GVRo453ijIYMu6TQGtrWzuYEMOv ZVVNpW4G6MKsThortEll/ONGxle8NlDnEXqlz8ggviLanE6jaT/vktEH/pLEYmrMaZGgKt gMA5d21ER0v+iamsHKjQfOkscM6Uw7iX/IPgV2Gje8m23S64nlcRQonm89vDVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682846784; a=rsa-sha256; cv=none; b=K1dKSCYazruR+yjNdP37MmL+mQYY6pTLLhs+JtJI2y7gmqMRozgelSYlMFa++RAqv/prtf Q6Y5vxPMgfZwqL3oIfze+fmW9yp7abYlWyVkmY8pvuY+ljbym0ZKsEQDgfSMDi6yLb1trl fnPhsf3qSbDSIaaYZXRotJImRV3fB6KgUMCTUFTl2K9BBmjkftspDLmrqzW0tXTSdXYK+X UqNxQfCAxVYQqQh/YVhJZ5zPjj49Go8/9qhDV9MDdmrix8GGdSWqhyc4lg8EhNqpP5WWeW sL3Y1vjvfsgVgFT5ezWyg+xsuE4lwwtyF87Hv3/OC3NjOvbI4c03F0ou+eT6LQ== 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 4Q8LZ83zd5zJ3n; Sun, 30 Apr 2023 09:26:24 +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 33U9QOwB020318; Sun, 30 Apr 2023 09:26:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33U9QO2I020317; Sun, 30 Apr 2023 09:26:24 GMT (envelope-from git) Date: Sun, 30 Apr 2023 09:26:24 GMT Message-Id: <202304300926.33U9QO2I020317@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: d5e0a03567fa - main - lang/lfortran: upgrade to v0.19.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d5e0a03567fa852ae6120af572781c31cb52bd71 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5e0a03567fa852ae6120af572781c31cb52bd71 commit d5e0a03567fa852ae6120af572781c31cb52bd71 Author: Thierry Thomas AuthorDate: 2023-04-30 09:24:50 +0000 Commit: Thierry Thomas CommitDate: 2023-04-30 09:26:20 +0000 lang/lfortran: upgrade to v0.19.0 Release notes at . --- lang/lfortran/Makefile | 34 ++++++++++++++-------- lang/lfortran/distinfo | 6 ++-- lang/lfortran/files/patch-src_bin_CMakeLists.txt | 24 --------------- .../files/patch-src_lfortran_tests_CMakeLists.txt | 13 --------- lang/lfortran/pkg-plist | 1 + 5 files changed, 26 insertions(+), 52 deletions(-) diff --git a/lang/lfortran/Makefile b/lang/lfortran/Makefile index 2e40337ba8e5..90eb5c60592e 100644 --- a/lang/lfortran/Makefile +++ b/lang/lfortran/Makefile @@ -1,7 +1,6 @@ PORTNAME= lfortran DISTVERSIONPREFIX= v -DISTVERSION= 0.18.0 -PORTREVISION= 2 +DISTVERSION= 0.19.0 CATEGORIES= lang MAINTAINER= fortran@FreeBSD.org @@ -18,28 +17,39 @@ BUILD_DEPENDS= bash:shells/bash \ dwarfdump:devel/dwarfdump \ rapidjson>0:devel/rapidjson LIB_DEPENDS= libfmt.so:devel/libfmt \ + libzstd.so:archivers/zstd \ libunwind.so:devel/libunwind \ libLLVM-${LLVM_VERSION}.so:devel/llvm${LLVM_VERSION} RUN_DEPENDS= dwarfdump:devel/dwarfdump USE_GITHUB= yes -USES= bison cmake:testing compiler:c++17-lang python:build shebangfix +USES= bison cmake:testing compiler:c++17-lang pkgconfig \ + python:build ssl shebangfix SHEBANG_FILES= *.sh BINARY_ALIAS= python=${PYTHON_CMD} -CMAKE_ON= LFORTRAN_BUILD_ALL WITH_DWARFDUMP WITH_FMT WITH_JSON WITH_LINKH WITH_LLVM WITH_UNWIND +CMAKE_ON= LFORTRAN_BUILD_ALL WITH_DWARFDUMP WITH_FMT WITH_JSON \ + WITH_LINKH WITH_LLVM WITH_STACKTRACE WITH_UNWIND -LLVM_VERSION= 11 +LLVM_VERSION= 15 OPTIONS_DEFINE= DOCS -# Xeus: version 2.4.1 is required -#LIB_DEPENDS+= libxeus.so:devel/xeus -#CMAKE_ON+= WITH_XEUS - -# BFD: /usr/local/include/bfd.h:2108:3: error: unknown type name 'ENUM_BITFIELD' -#USE_BINUTILS= yes -#CMAKE_ON+= WITH_BFD +# Xeus: version 3.0.5 is required and xeus-zmq 1.0.2 +# + xtl-quant-stack + cppzmq + nlohmann_json + LibUUID + libzmq4 +BUILD_DEPENDS+= xtl-quant-stack>=0.7:devel/xtl-quant-stack \ + nlohmann-json>0:devel/nlohmann-json \ + cppzmq>=4.8.1:net/cppzmq +LIB_DEPENDS+= libxeus.so:devel/xeus \ + libzmq.so:net/libzmq4 \ + libxeus-zmq.so:devel/xeus-zmq \ + libuuid.so:misc/e2fsprogs-libuuid +CMAKE_ON+= WITH_XEUS + +# BFD: +USE_BINUTILS= yes +CMAKE_ON+= WITH_BFD +LIB_DEPENDS+= libbfd-2.40.so:devel/binutils pre-configure: ${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/version diff --git a/lang/lfortran/distinfo b/lang/lfortran/distinfo index d8da96995604..835bd6e3a4b3 100644 --- a/lang/lfortran/distinfo +++ b/lang/lfortran/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1667243059 -SHA256 (lfortran-lfortran-v0.18.0_GH0.tar.gz) = 6ec636580cb7e49e1cd68003850bba77dc4372d2eda3e3591d4bff6dffa31e7c -SIZE (lfortran-lfortran-v0.18.0_GH0.tar.gz) = 1713018 +TIMESTAMP = 1682782779 +SHA256 (lfortran-lfortran-v0.19.0_GH0.tar.gz) = d4aa69bfaecaee4523887a1747d565fb577c6c9f3663d15c86a29de3e7e87685 +SIZE (lfortran-lfortran-v0.19.0_GH0.tar.gz) = 2092717 diff --git a/lang/lfortran/files/patch-src_bin_CMakeLists.txt b/lang/lfortran/files/patch-src_bin_CMakeLists.txt deleted file mode 100644 index 10b23734303d..000000000000 --- a/lang/lfortran/files/patch-src_bin_CMakeLists.txt +++ /dev/null @@ -1,24 +0,0 @@ ---- src/bin/CMakeLists.txt.orig 2022-10-18 21:48:01 UTC -+++ src/bin/CMakeLists.txt -@@ -2,7 +2,9 @@ add_executable(lfortran lfortran.cpp) - target_include_directories(lfortran PRIVATE "tpl") - target_link_libraries(lfortran lfortran_lib) - if (LFORTRAN_STATIC_BIN) -- if (CMAKE_SYSTEM_NAME STREQUAL "Linux") -+ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" -+ OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" -+ OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") - # Link statically on Linux with gcc or clang - if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR - CMAKE_CXX_COMPILER_ID MATCHES Clang) -@@ -11,7 +13,9 @@ if (LFORTRAN_STATIC_BIN) - endif() - endif() - --if (CMAKE_SYSTEM_NAME STREQUAL "Linux") -+if (CMAKE_SYSTEM_NAME STREQUAL "Linux" -+ OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" -+ OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") - target_link_options(lfortran PRIVATE "LINKER:--export-dynamic") - endif() - diff --git a/lang/lfortran/files/patch-src_lfortran_tests_CMakeLists.txt b/lang/lfortran/files/patch-src_lfortran_tests_CMakeLists.txt deleted file mode 100644 index 6e02b1e24c67..000000000000 --- a/lang/lfortran/files/patch-src_lfortran_tests_CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ ---- src/lfortran/tests/CMakeLists.txt.orig 2022-10-18 21:48:01 UTC -+++ src/lfortran/tests/CMakeLists.txt -@@ -43,7 +43,9 @@ target_link_libraries(test_lfortran lfortran_lib p::do - add_test(test_lfortran ${PROJECT_BINARY_DIR}/test_lfortran) - - if (WITH_LLVM) -- if (CMAKE_SYSTEM_NAME STREQUAL "Linux") -+ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" -+ OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" -+ OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") - target_link_options(test_lfortran PRIVATE "LINKER:--export-dynamic") - endif() - endif() diff --git a/lang/lfortran/pkg-plist b/lang/lfortran/pkg-plist index d5f4b83e65de..353bf2050a68 100644 --- a/lang/lfortran/pkg-plist +++ b/lang/lfortran/pkg-plist @@ -15,3 +15,4 @@ bin/lfortran %%DATADIR%%/lib/lfortran_intrinsic_trig.mod %%DATADIR%%/lib/liblfortran_runtime.so %%DATADIR%%/lib/liblfortran_runtime_static.a +share/jupyter/kernels/fortran/kernel.json