Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] crystal: update to 0.31.0.
@ 2019-09-24 15:24 voidlinux-github
  2019-09-25  9:59 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-09-24 15:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

There is a new pull request by gcat432 against master on the void-packages repository

https://github.com/gcat432/void-packages crystal-0.31.0
https://github.com/void-linux/void-packages/pull/14688

crystal: update to 0.31.0.
- Compilation was locally tested with both i686 and x86_64
- Package was locally installed on x86_64, `crystal` and `shards` work good
- Issue with multi-threading: it is not possible to compile with the `-Dpreview_mt` flag. Investigating the [issue](https://github.com/crystal-lang/crystal/issues/8213) someone else had on Arch.

A patch file from https://github.com/void-linux/void-packages/pull/14688.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-crystal-0.31.0-14688.patch --]
[-- Type: text/x-diff, Size: 2194 bytes --]

From 976a219498d236e7b833220f738cee678b0af11b Mon Sep 17 00:00:00 2001
From: Gangsta Cat <grumpy@keemail.me>
Date: Tue, 24 Sep 2019 17:16:42 +0200
Subject: [PATCH] crystal: update to 0.31.0.

---
 srcpkgs/crystal/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/crystal/template b/srcpkgs/crystal/template
index f4bd3e060b7..ef02626bc3c 100644
--- a/srcpkgs/crystal/template
+++ b/srcpkgs/crystal/template
@@ -1,10 +1,10 @@
 # Template file for 'crystal'
 pkgname=crystal
-version=0.30.1
+version=0.31.0
 revision=1
 archs="x86_64* i686* aarch64* arm*"
 _shardsversion=0.9.0
-_bootstrapversion=0.30.1
+_bootstrapversion=0.31.0
 _bootstraprevision=1
 hostmakedepends="git llvm8"
 makedepends="gc-devel libatomic_ops pcre-devel libevent-devel libyaml-devel
@@ -19,7 +19,7 @@ homepage="https://crystal-lang.org/"
 distfiles="
  https://github.com/crystal-lang/crystal/archive/${version}.tar.gz
  https://github.com/crystal-lang/shards/archive/v${_shardsversion}.tar.gz"
-checksum="0ffc00fa54929c2533bc0bcb89e0b001dd3abc470ccc87e3576047a5cdafc062
+checksum="483ffcdce30b98f89b8c6cf6e48c62652cd0450205f609e04721a37997c32486
  90f230c87cc7b94ca845e6fe34f2523edcadb562d715daaf98603edfa2a94d65"
 nocross="FIXME: someone needs to sort out the llvm --cxxflags for cross building"
 _crystalflags="--release --no-debug --progress"
@@ -32,11 +32,11 @@ if [ "$build_option_binary_bootstrap" ]; then
 	case "$XBPS_MACHINE" in
 	x86_64)
 		distfiles+=" https://github.com/crystal-lang/crystal/releases/download/${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-x86_64.tar.gz"
-		checksum+=" aae60f90c809b480f069c6ae3f8ef54a8753dce5448ee34f1dda0e28c95955cc"
+		checksum+=" e0edff85da9375178f2e5c72845b6d3eb6abc1d9e32c9033451ae4c1fc0bf09a"
 		;;
 	i686)
 		distfiles+=" https://github.com/crystal-lang/crystal/releases/download/${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-i686.tar.gz"
-		checksum+=" 62faf63ccf94b17b1d94d4166a4fadf2a4c36aac553c719bbf5a88e4bc0a586f"
+		checksum+=" a451e997378bc1230241b0e40023b8f0d754fd68943c5a8e77840d4fac0c5647"
 		;;
 	*)
 		broken="cannot be built on $XBPS_MACHINE"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: crystal: update to 0.31.0.
  2019-09-24 15:24 [PR PATCH] crystal: update to 0.31.0 voidlinux-github
@ 2019-09-25  9:59 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-09-25  9:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

There's a merged pull request on the void-packages repository

crystal: update to 0.31.0.
https://github.com/void-linux/void-packages/pull/14688

Description:
- Compilation was locally tested with both i686 and x86_64
- Package was locally installed on x86_64, `crystal` and `shards` work good
- Issue with multi-threading: it is not possible to compile with the `-Dpreview_mt` flag. Investigating the [issue](https://github.com/crystal-lang/crystal/issues/8213) someone else had on Arch.

**Edit for Crystal developers:** Regarding multi-threading, a patch will be applied to Crystal in order to support new upstream functions from `gc`, instead of Crystal gc's custom ones. Eventually we will not patch boehm in our repositories, therefore it will be necessary to wait for a next `gc` release to be able to use multi-threading with Crystal.

**Edit 2:** In summary, `crystal` can be merged and multi-threading will be enabled in new releases of `crystal` and `gc`. For now, Crystal works well in single-threaded mode, as before.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-25  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-24 15:24 [PR PATCH] crystal: update to 0.31.0 voidlinux-github
2019-09-25  9:59 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).