* Re: [PR PATCH] [Updated] nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
@ 2020-10-17 13:02 ` rc-05
2020-10-17 13:46 ` rc-05
` (5 subsequent siblings)
6 siblings, 0 replies; 19+ messages in thread
From: rc-05 @ 2020-10-17 13:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
There is an updated pull request by rc-05 against master on the void-packages repository
https://github.com/rc-05/void-packages nim
https://github.com/void-linux/void-packages/pull/25676
nim: update to 1.4.0.
A patch file from https://github.com/void-linux/void-packages/pull/25676.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nim-25676.patch --]
[-- Type: text/x-diff, Size: 1687 bytes --]
From 21aa5310186f6db7e59a7a703ae2d766d7b5f059 Mon Sep 17 00:00:00 2001
From: rc-05 <rc23@email.it>
Date: Sat, 17 Oct 2020 11:40:56 +0200
Subject: [PATCH] nim: update to 1.4.0.
---
srcpkgs/nim/template | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template
index 56ac1dba6eb..fcfc340a39d 100644
--- a/srcpkgs/nim/template
+++ b/srcpkgs/nim/template
@@ -1,9 +1,9 @@
# Template file for 'nim'
pkgname=nim
-version=1.2.6
-revision=2
+version=1.4.0
+revision=1
_cversion=0.20.0
-_nimbleversion=0.11.4
+_nimbleversion=0.12.0
create_wrksrc=yes
build_wrksrc="Nim-$version"
hostmakedepends="ed"
@@ -15,9 +15,18 @@ homepage="https://nim-lang.org/"
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
https://github.com/nim-lang/csources/archive/v${_cversion}.tar.gz>csources-${_cversion}.tar.gz
https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz"
-checksum="dbd5f1784ab121071aa7c58bb6b361cca79d12ac7524c761e27200e0c946e359
+checksum="3918ff1834888cd3feec5002931d4052a354994a0355bf1ae950f2f17ba81417
5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c
- 63e0dbfa5c33f80d6f8f8156a609e11497ac5390b64dc8d68f5126c3bb8d5429"
+ 0b88d91a450f31641f85379f2d76afb0a013cf783e62144a6534525b9cb1cbac"
+
+# Git is needed to build on x86_64* and i686* for some reason,
+# while on other architectures Nim builds normally...
+# https://api.travis-ci.org/v3/job/736593571/log.txt
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|i686*)
+ hostmakedepends+=" git"
+ ;;
+esac
post_extract() {
mv csources-$_cversion $build_wrksrc/csources
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PR PATCH] [Updated] nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
2020-10-17 13:02 ` [PR PATCH] [Updated] " rc-05
@ 2020-10-17 13:46 ` rc-05
2020-12-02 17:57 ` [PR REVIEW] " ericonr
` (4 subsequent siblings)
6 siblings, 0 replies; 19+ messages in thread
From: rc-05 @ 2020-10-17 13:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
There is an updated pull request by rc-05 against master on the void-packages repository
https://github.com/rc-05/void-packages nim
https://github.com/void-linux/void-packages/pull/25676
nim: update to 1.4.0.
A patch file from https://github.com/void-linux/void-packages/pull/25676.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nim-25676.patch --]
[-- Type: text/x-diff, Size: 1680 bytes --]
From 96775f22da1435797e62884550c02fe3ae6f9309 Mon Sep 17 00:00:00 2001
From: rc-05 <rc23@email.it>
Date: Sat, 17 Oct 2020 11:40:56 +0200
Subject: [PATCH] nim: update to 1.4.0.
---
srcpkgs/nim/template | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/nim/template b/srcpkgs/nim/template
index 56ac1dba6eb..ea80940e824 100644
--- a/srcpkgs/nim/template
+++ b/srcpkgs/nim/template
@@ -1,9 +1,9 @@
# Template file for 'nim'
pkgname=nim
-version=1.2.6
-revision=2
+version=1.4.0
+revision=1
_cversion=0.20.0
-_nimbleversion=0.11.4
+_nimbleversion=0.12.0
create_wrksrc=yes
build_wrksrc="Nim-$version"
hostmakedepends="ed"
@@ -15,9 +15,18 @@ homepage="https://nim-lang.org/"
distfiles="https://github.com/nim-lang/Nim/archive/v${version}.tar.gz
https://github.com/nim-lang/csources/archive/v${_cversion}.tar.gz>csources-${_cversion}.tar.gz
https://github.com/nim-lang/nimble/archive/v${_nimbleversion}.tar.gz>nimble-${_nimbleversion}.tar.gz"
-checksum="dbd5f1784ab121071aa7c58bb6b361cca79d12ac7524c761e27200e0c946e359
+checksum="3918ff1834888cd3feec5002931d4052a354994a0355bf1ae950f2f17ba81417
5e6fd15d90df1a8cb7614c4ffc70aa8c4198cd854d7742016202b96dd0228d3c
- 63e0dbfa5c33f80d6f8f8156a609e11497ac5390b64dc8d68f5126c3bb8d5429"
+ 0b88d91a450f31641f85379f2d76afb0a013cf783e62144a6534525b9cb1cbac"
+
+# Git is needed to build on x86_64* and i686* for some reason,
+# while on other architectures Nim builds normally...
+# https://api.travis-ci.org/v3/job/736593571/log.txt
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|i686*)
+ hostmakedepends+=" git"
+ ;;
+esac
post_extract() {
mv csources-$_cversion $build_wrksrc/csources
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PR REVIEW] nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
2020-10-17 13:02 ` [PR PATCH] [Updated] " rc-05
2020-10-17 13:46 ` rc-05
@ 2020-12-02 17:57 ` ericonr
2020-12-06 14:56 ` rc-05
` (3 subsequent siblings)
6 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-12-02 17:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 258 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/25676#discussion_r534369131
Comment:
This is probably a case of cross compiling vs native build...
Would be interesting to find out what changes.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PR REVIEW] nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
` (2 preceding siblings ...)
2020-12-02 17:57 ` [PR REVIEW] " ericonr
@ 2020-12-06 14:56 ` rc-05
2020-12-06 15:25 ` rc-05
` (2 subsequent siblings)
6 siblings, 0 replies; 19+ messages in thread
From: rc-05 @ 2020-12-06 14:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 514 bytes --]
New review comment by rc-05 on void-packages repository
https://github.com/void-linux/void-packages/pull/25676#discussion_r537054765
Comment:
If you remove the `hostmakedepends+=git` line when natively compiling the compilation doesn't succeed for some reason but by looking at the build log it uses git to download some extra modules (maybe the Fusion libraries contained in Nim).
Strangely enough cross-compilation doesn't require git as a host dependency when building the compiler from source :thinking:
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PR REVIEW] nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
` (3 preceding siblings ...)
2020-12-06 14:56 ` rc-05
@ 2020-12-06 15:25 ` rc-05
2020-12-20 4:37 ` ahesford
2020-12-20 4:37 ` [PR PATCH] [Closed]: " ahesford
6 siblings, 0 replies; 19+ messages in thread
From: rc-05 @ 2020-12-06 15:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 516 bytes --]
New review comment by rc-05 on void-packages repository
https://github.com/void-linux/void-packages/pull/25676#discussion_r537054765
Comment:
If you remove the `hostmakedepends+=git` line when natively compiling the compilation doesn't succeed for some reason and by looking at the build log it uses git to download some extra modules (maybe the Fusion libraries for Nim :question:).
Strangely enough cross-compilation doesn't require git as a host dependency when building the compiler from source :thinking:
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
` (4 preceding siblings ...)
2020-12-06 15:25 ` rc-05
@ 2020-12-20 4:37 ` ahesford
2020-12-20 4:37 ` [PR PATCH] [Closed]: " ahesford
6 siblings, 0 replies; 19+ messages in thread
From: ahesford @ 2020-12-20 4:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/25676#issuecomment-748561872
Comment:
You don't need `git` if you fetch a specific `fusion` commit, as is done with `nimble`. This will be superseded by #26868, which should be merged shortly.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PR PATCH] [Closed]: nim: update to 1.4.0.
2020-10-17 9:48 [PR PATCH] nim: update to 1.4.0 rc-05
` (5 preceding siblings ...)
2020-12-20 4:37 ` ahesford
@ 2020-12-20 4:37 ` ahesford
6 siblings, 0 replies; 19+ messages in thread
From: ahesford @ 2020-12-20 4:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 155 bytes --]
There's a closed pull request on the void-packages repository
nim: update to 1.4.0.
https://github.com/void-linux/void-packages/pull/25676
Description:
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
@ 2020-11-30 5:30 ` rc-05
2020-11-30 5:32 ` rc-05
` (9 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: rc-05 @ 2020-11-30 5:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 248 bytes --]
New comment by rc-05 on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-735555409
Comment:
There's already a PR that I've done about the nim package (#25676) so there's no need to duplicate stuff 🙂
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
2020-11-30 5:30 ` rc-05
@ 2020-11-30 5:32 ` rc-05
2020-12-02 17:52 ` IcedQuinn
` (8 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: rc-05 @ 2020-11-30 5:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 388 bytes --]
New comment by rc-05 on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-735555409
Comment:
There's already a PR that I've done about the nim package (#25676) so there's no need to duplicate stuff 🙂
Maybe I can get it to also make use of clang as an alternative (via build option) since GCC seems outdated (it's latest version is 10.2)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
2020-11-30 5:30 ` rc-05
2020-11-30 5:32 ` rc-05
@ 2020-12-02 17:52 ` IcedQuinn
2020-12-02 17:57 ` ericonr
` (7 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: IcedQuinn @ 2020-12-02 17:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 496 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-737393016
Comment:
> There's already a PR that I've done about the nim package (#25676) so there's no need to duplicate stuff
Doesn't seem to have any movement on it for some months either :cold_sweat:
> Maybe I can get it to also make use of clang as an alternative (via build option) since GCC seems outdated (it's latest version is 10.2)
Void does't use GCC?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
` (2 preceding siblings ...)
2020-12-02 17:52 ` IcedQuinn
@ 2020-12-02 17:57 ` ericonr
2020-12-02 17:58 ` IcedQuinn
` (6 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-12-02 17:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-737396260
Comment:
Does Nim require something from GCC 10.2? 9.3 isn't that old.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
` (3 preceding siblings ...)
2020-12-02 17:57 ` ericonr
@ 2020-12-02 17:58 ` IcedQuinn
2020-12-02 21:58 ` fosslinux
` (5 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: IcedQuinn @ 2020-12-02 17:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-737396481
Comment:
> Does Nim require something from GCC 10.2? 9.3 isn't that old.
not that i know of.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
` (4 preceding siblings ...)
2020-12-02 17:58 ` IcedQuinn
@ 2020-12-02 21:58 ` fosslinux
2020-12-05 22:25 ` IcedQuinn
` (4 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: fosslinux @ 2020-12-02 21:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
New comment by fosslinux on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-737520978
Comment:
Don't use clang unless it is explicitly needed to build..
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
` (5 preceding siblings ...)
2020-12-02 21:58 ` fosslinux
@ 2020-12-05 22:25 ` IcedQuinn
2020-12-06 14:57 ` rc-05
` (3 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: IcedQuinn @ 2020-12-05 22:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 194 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-739424525
Comment:
is there a particular blocker that should be fixed?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
` (6 preceding siblings ...)
2020-12-05 22:25 ` IcedQuinn
@ 2020-12-06 14:57 ` rc-05
2020-12-06 14:58 ` rc-05
` (2 subsequent siblings)
10 siblings, 0 replies; 19+ messages in thread
From: rc-05 @ 2020-12-06 14:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 311 bytes --]
New comment by rc-05 on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-739514218
Comment:
> Does Nim require something from GCC 10.2? 9.3 isn't that old.
Nim uses GCC primarly but in reality you can use any fairly modern C compiler as the backend fortunately.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
` (7 preceding siblings ...)
2020-12-06 14:57 ` rc-05
@ 2020-12-06 14:58 ` rc-05
2020-12-09 4:47 ` IcedQuinn
2020-12-20 4:37 ` ahesford
10 siblings, 0 replies; 19+ messages in thread
From: rc-05 @ 2020-12-06 14:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 239 bytes --]
New comment by rc-05 on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-739514314
Comment:
> Don't use clang unless it is explicitly needed to build..
No problem, will leave as it is :+1:
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
` (8 preceding siblings ...)
2020-12-06 14:58 ` rc-05
@ 2020-12-09 4:47 ` IcedQuinn
2020-12-20 4:37 ` ahesford
10 siblings, 0 replies; 19+ messages in thread
From: IcedQuinn @ 2020-12-09 4:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 154 bytes --]
New comment by IcedQuinn on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-741523999
Comment:
:question:
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: nim: update to 1.4.0
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26737@inbox.vuxu.org>
` (9 preceding siblings ...)
2020-12-09 4:47 ` IcedQuinn
@ 2020-12-20 4:37 ` ahesford
10 siblings, 0 replies; 19+ messages in thread
From: ahesford @ 2020-12-20 4:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/pull/26737#issuecomment-748561884
Comment:
You don't need `git` if you fetch a specific `fusion` commit, as is done with `nimble`. This will be superseded by #26868, which should be merged shortly.
^ permalink raw reply [flat|nested] 19+ messages in thread