From nobody Sat Jul 06 23:00:22 2024 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 4WGm7W0SZ1z5Pg8G; Sat, 06 Jul 2024 23:00:23 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WGm7V71mHz4STw; Sat, 6 Jul 2024 23:00:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720306823; 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=Dols8PS2vPbYJ1und7sqXMzfAHxHXgL5PG+GlyimAhU=; b=UdjrUnIh99ecvHVtMAVbeJFtMXpZPZax7u44HHZN1z2Wz3b/+Uu8TRaZMF5noFbf86YTSS bTTB2/I0o/EiVVwBWgf5eA9rN8tU6/U1NcFiqFiVb2YbWHoQ6+e6j7zpLKl2cBaQucQIQ3 DVuLN63VCmy+bDQ9G6PFDhoD0sDWmqHXjZ9viODYiMT91dFFRm0j95jHhBrX0L3cBDLJ4f NG/bwR7jI+FJ9Ko7+nf9n3Un5cGXHK3XgFXl8sjPYq7uVWRh2DUStpXUEDNJZaJcAB6scc gI6+X9eAXDqUb67Ys2S44kDXzGnBbVab5bYMhHfjv9fomcns0XxB7bgc1ZrlVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720306823; a=rsa-sha256; cv=none; b=e1gRVPTSc1iCLIDNg6Appp7QgyGQme7bgSXY/UBHEw+1Bnt5mAFejNtnITqRuj9yIfHoNb jsGElKT8wPOvrb5+G32IqPrDd0HEpYDxLgkFSQNCs5hZZ3azelODxTcq/9mebArx3otvmy Mae5xktIMZ7/D8YSIGW5akl9EZXC77A1IoeKqQoz3bJKQh/F4qKZ5tMLZeW+iNXa8gClnc SY1e0zFK974ISqohmunLHitq1H4//eMfZ2DXhHANfO93t+YulDYbn2OMBJ6zOLkNTEOC4D 3Xf2WKcYifudNbAb0taVnKoGSn6V+MmgC8IvqWe+pL41ln42wDqXPnmvsRSpwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720306823; 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=Dols8PS2vPbYJ1und7sqXMzfAHxHXgL5PG+GlyimAhU=; b=kuvc/5wOFkUi3GR2CFl/hCSRZrcUoNw2UAT4g8AyuuAsldJp1iJfisjw2GKjSE3ewlRy2F QGumrHRFvg0zrjLvgl/k8nCWSiCa/VwMG8YnwhtqI1KrgUX7FJHqhZ4D8bqZLxH7jEr+c4 AyuGwPPy1cIYgvk9+HcizcVnLzBylflVf+s5DfFAO4VwHXap7QiIs55+dIBP9snesWn4nr bbgdkZZ0PY7EGLFxv+5eXpEPOGEbk6ALaAnk9ZvgyY9ag0M+KtHxHbbqnUxasBUMf8+5i/ CGbzy/mLs5BZcaKU1sF7WpVKbWJd/AN2e+4WLyN96+Q9zaDmxQDHtUaqq7PDUA== 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 4WGm7V6cwcz1091; Sat, 6 Jul 2024 23:00:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 466N0Mu9058254; Sat, 6 Jul 2024 23:00:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 466N0MM9058251; Sat, 6 Jul 2024 23:00:22 GMT (envelope-from git) Date: Sat, 6 Jul 2024 23:00:22 GMT Message-Id: <202407062300.466N0MM9058251@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Torsten Zuehlsdorff Subject: git: fa8e9699083d - main - lang/nim: Upgrade from 2.0.6 to 2.0.8 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fa8e9699083daf7ad57e14366ddc3039258d07e6 Auto-Submitted: auto-generated The branch main has been updated by tz: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa8e9699083daf7ad57e14366ddc3039258d07e6 commit fa8e9699083daf7ad57e14366ddc3039258d07e6 Author: Torsten Zuehlsdorff AuthorDate: 2024-07-06 22:43:09 +0000 Commit: Torsten Zuehlsdorff CommitDate: 2024-07-06 23:00:10 +0000 lang/nim: Upgrade from 2.0.6 to 2.0.8 Major improvements in this release: Nim’s allocator is now much more stable with --threads:on. Better support for gcc14. Optimized setLen(0) for uninitialized strings and seqs. Optimized move when used with --mm:refc. These reported issues were fixed: Fixed “[Semi-regression] C code contains backtick`gensym” (#23711) Fixed “setLen(0) allocates memory causing performance regression” (#23742) Fixed “Sigsegv on std/tasks destructor” (#23725) Fixed “genericAssign does not take care of the importC variables” (#9940) Fixed “move(table) does not move the table” (#23759) Fixed “Local variables can be prematurely moved to closure, causing use-after-move” (#23748) Fixed “tvatiteropenarray test fails with c++” (#19977) Taken from: https://nim-lang.org/blog/2024/07/03/version-208-released.html Full Changelog: https://github.com/nim-lang/Nim/compare/v2.0.6...v2.0.8 PR: 280142 Approved by: Neal Nelson (maintainer) --- lang/nim/Makefile | 2 +- lang/nim/distinfo | 6 +++--- lang/nim/files/patch-koch.nim | 37 +++++++++++++++++++++++++++---------- 3 files changed, 31 insertions(+), 14 deletions(-) diff --git a/lang/nim/Makefile b/lang/nim/Makefile index 1fe4a63d97ee..0828cd466973 100644 --- a/lang/nim/Makefile +++ b/lang/nim/Makefile @@ -1,5 +1,5 @@ PORTNAME= nim -DISTVERSION= 2.0.6 +DISTVERSION= 2.0.8 CATEGORIES= lang MASTER_SITES= https://nim-lang.org/download/ diff --git a/lang/nim/distinfo b/lang/nim/distinfo index 3db7bb31f01d..12f932e3244d 100644 --- a/lang/nim/distinfo +++ b/lang/nim/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1718761713 -SHA256 (nim-2.0.6.tar.xz) = fbcd5d731743adec2b3bb9bcf6f5fd993ed11b250f957166bebf328f307cba6a -SIZE (nim-2.0.6.tar.xz) = 7668088 +TIMESTAMP = 1720184077 +SHA256 (nim-2.0.8.tar.xz) = 5702da844700d3129db73170b5c606adbdfb87e82b816c0d91107ea20a65df16 +SIZE (nim-2.0.8.tar.xz) = 7617556 diff --git a/lang/nim/files/patch-koch.nim b/lang/nim/files/patch-koch.nim index bf06daa94b6d..ed81b385ee4a 100644 --- a/lang/nim/files/patch-koch.nim +++ b/lang/nim/files/patch-koch.nim @@ -1,6 +1,19 @@ ---- koch.nim.orig 2024-06-18 13:26:19 UTC +--- koch.nim.orig 2024-07-05 12:55:45 UTC +++ koch.nim -@@ -146,30 +146,30 @@ proc csource(args: string) = +@@ -11,9 +11,9 @@ const + + const + # examples of possible values for repos: Head, ea82b54 +- NimbleStableCommit = "be2f1309b35a6189ff5eb34a007793e6d3f94157" # master +- AtlasStableCommit = "5faec3e9a33afe99a7d22377dd1b45a5391f5504" +- ChecksumsStableCommit = "025bcca3915a1b9f19878cea12ad68f9884648fc" ++ NimbleStableCommit = "f8bd7b5fa6ea7a583b411b5959b06e6b5eb23667" # master ++ AtlasStableCommit = "7b780811a168f3f32bff4822369dda46a7f87f9a" ++ ChecksumsStableCommit = "b4c73320253f78e3a265aec6d9e8feb83f97c77b" + SatStableCommit = "faf1617f44d7632ee9601ebc13887644925dcc01" + + # examples of possible values for fusion: #head, #ea82b54, 1.2.3 +@@ -146,32 +146,32 @@ proc csource(args: string) = "--main:compiler/nim.nim compiler/installer.ini $1") % [args, VersionAsString, compileNimInst]) @@ -40,20 +53,24 @@ - let commit = if latest: "HEAD" else: AtlasStableCommit - cloneDependency(distDir, "https://github.com/nim-lang/atlas.git", - commit = commit, allowBundled = true) +- cloneDependency(distDir / "atlas" / distDir, "https://github.com/nim-lang/sat.git", +- commit = SatStableCommit, allowBundled = true) - # installer.ini expects it under $nim/bin - nimCompile("dist/atlas/src/atlas.nim", -- options = "-d:release --noNimblePath " & args) +- options = "-d:release --noNimblePath -d:nimAtlasBootstrap " & args) +#proc bundleAtlasExe(latest: bool, args: string) = +# let commit = if latest: "HEAD" else: AtlasStableCommit +# cloneDependency(distDir, "https://github.com/nim-lang/atlas.git", +# commit = commit, allowBundled = true) ++# cloneDependency(distDir / "atlas" / distDir, "https://github.com/nim-lang/sat.git", ++# commit = SatStableCommit, allowBundled = true) +# # installer.ini expects it under $nim/bin +# nimCompile("dist/atlas/src/atlas.nim", -+# options = "-d:release --noNimblePath " & args) ++# options = "-d:release --noNimblePath -d:nimAtlasBootstrap " & args) proc bundleNimsuggest(args: string) = nimCompileFold("Compile nimsuggest", "nimsuggest/nimsuggest.nim", -@@ -206,8 +206,8 @@ proc zip(latest: bool; args: string) = +@@ -208,8 +208,8 @@ proc zip(latest: bool; args: string) = proc zip(latest: bool; args: string) = bundleChecksums(latest) @@ -64,7 +81,7 @@ bundleNimsuggest(args) bundleNimpretty(args) bundleWinTools(args) -@@ -216,15 +216,15 @@ proc zip(latest: bool; args: string) = +@@ -218,15 +218,15 @@ proc zip(latest: bool; args: string) = exec("$# --var:version=$# --var:mingw=none --main:compiler/nim.nim zip compiler/installer.ini" % ["tools/niminst/niminst".exe, VersionAsString]) @@ -87,7 +104,7 @@ nimexec("cc -r $2 --var:version=$1 --var:mingw=none --main:compiler/nim.nim scripts compiler/installer.ini" % [VersionAsString, compileNimInst]) exec("$# --var:version=$# --var:mingw=none --main:compiler/nim.nim xz compiler/installer.ini" % -@@ -260,8 +260,8 @@ proc nsis(latest: bool; args: string) = +@@ -262,8 +262,8 @@ proc nsis(latest: bool; args: string) = proc nsis(latest: bool; args: string) = bundleChecksums(latest) @@ -98,7 +115,7 @@ bundleNimsuggest(args) bundleWinTools(args) # make sure we have generated the niminst executables: -@@ -524,43 +524,43 @@ proc icTest(args: string) = +@@ -526,43 +526,43 @@ proc icTest(args: string) = exec(cmd) inc i @@ -173,7 +190,7 @@ proc runCI(cmd: string) = doAssert cmd.len == 0, cmd # avoid silently ignoring -@@ -682,18 +682,18 @@ proc showHelp(success: bool) = +@@ -684,18 +684,18 @@ proc showHelp(success: bool) = quit(HelpText % [VersionAsString & spaces(44-len(VersionAsString)), CompileDate, CompileTime], if success: QuitSuccess else: QuitFailure) @@ -199,7 +216,7 @@ localDocsOut = "" skipIntegrityCheck = false while true: -@@ -729,34 +729,34 @@ when isMainModule: +@@ -731,34 +731,34 @@ when isMainModule: of "distrohelper": geninstall() of "install": install(op.cmdLineRest) of "testinstall": testUnixInstall(op.cmdLineRest)