Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: tinygo-0.13.1.
@ 2020-07-06 19:35 ericonr
  2020-07-06 20:01 ` ericonr
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ericonr @ 2020-07-06 19:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/ericonr/void-packages tinygo
https://github.com/void-linux/void-packages/pull/23426

New package: tinygo-0.13.1.
Based on #17955 by @renatoaguiar.

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

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

From cf30f6d42809d308ca842f345e3a8c0c3cd4539f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 6 Jul 2020 16:31:51 -0300
Subject: [PATCH] New package: tinygo-0.13.1.

Based on #17955 by @renatoaguiar.
---
 srcpkgs/tinygo/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/tinygo/template

diff --git a/srcpkgs/tinygo/template b/srcpkgs/tinygo/template
new file mode 100644
index 00000000000..7bb9387a64b
--- /dev/null
+++ b/srcpkgs/tinygo/template
@@ -0,0 +1,17 @@
+# Template file for 'tinygo'
+pkgname=tinygo
+version=0.13.1
+revision=1
+build_style=go
+go_import_path=github.com/tinygo-org/tinygo
+makedepends="clang llvm"
+short_desc="Go compiler for small places"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="BSD-3-Clause, Apache-2.0"
+homepage="https://tinygo.org/"
+distfiles="https://github.com/tinygo-org/tinygo/archive/v${version}.tar.gz"
+checksum=27f4caa12e582f11a844636350d48207595a257dca634c62f67562ee33a61340
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: tinygo-0.13.1.
  2020-07-06 19:35 [PR PATCH] New package: tinygo-0.13.1 ericonr
@ 2020-07-06 20:01 ` ericonr
  2020-07-07  0:52 ` [PR PATCH] [Updated] " ericonr
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2020-07-06 20:01 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/23426#issuecomment-654437628

Comment:
No-merge for now, needs some more stuff.

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

* Re: [PR PATCH] [Updated] New package: tinygo-0.13.1.
  2020-07-06 19:35 [PR PATCH] New package: tinygo-0.13.1 ericonr
  2020-07-06 20:01 ` ericonr
@ 2020-07-07  0:52 ` ericonr
  2020-07-07  0:54 ` ericonr
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2020-07-07  0:52 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages tinygo
https://github.com/void-linux/void-packages/pull/23426

New package: tinygo-0.13.1.
Based on #17955 by @renatoaguiar.

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

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

From a3eebce622fc7a8ee6419b7851220a8adf1ce7d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 6 Jul 2020 16:31:51 -0300
Subject: [PATCH] New package: tinygo-0.13.1.

Based on #17955 by @renatoaguiar.
---
 srcpkgs/tinygo/template | 61 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)
 create mode 100644 srcpkgs/tinygo/template

diff --git a/srcpkgs/tinygo/template b/srcpkgs/tinygo/template
new file mode 100644
index 00000000000..541f7a31b36
--- /dev/null
+++ b/srcpkgs/tinygo/template
@@ -0,0 +1,61 @@
+# Template file for 'tinygo'
+pkgname=tinygo
+version=0.13.1
+revision=1
+_cmsis=9fe411cef1cef5de58e5957b89760759de44e393
+_avr=6624554c02b237b23dc17d53e992bf54033fc228
+_svd=15b462f152af86f3d15b952e1a5cf1bb9e2693e8
+_compiler_rt=5bc79797e1f9184f39e1bd30fac75d995b72cea3
+_nrfx=3ab39a9d457bfe627473ed0e03a7f1161d9e4f27
+_picolibc=80528c684b10aaee977397e7eb40c4784e6dc433
+_wasi=a280fead2ae71b9a230d3b48c1f95867431888e4
+create_wrksrc=yes
+build_wrksrc=${pkgname}-${version}
+build_style=go
+go_import_path=github.com/tinygo-org/tinygo
+makedepends="clang llvm"
+short_desc="Go compiler for small places"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="BSD-3-Clause, Apache-2.0"
+homepage="https://tinygo.org/"
+distfiles="https://github.com/tinygo-org/tinygo/archive/v${version}.tar.gz
+ https://github.com/ARM-software/CMSIS/archive/${_cmsis}.tar.gz
+ https://github.com/avr-rust/avr-mcu/archive/${_avr}.tar.gz
+ https://github.com/posborne/cmsis-svd/archive/${_svd}.tar.gz
+ https://github.com/llvm-mirror/compiler-rt/archive/${_compiler_rt}.tar.gz
+ https://github.com/NordicSemiconductor/nrfx/archive/${_nrfx}.tar.gz
+ https://github.com/keith-packard/picolibc/archive/${_picolibc}.tar.gz
+ https://github.com/WebAssembly/wasi-libc/archive/${_wasi}.tar.gz"
+checksum="27f4caa12e582f11a844636350d48207595a257dca634c62f67562ee33a61340
+ a73982d8b7a2b6442fe5e309e46bc0b1c248f7fa126beb61b4cf1c052d171758
+ 0f7a130d82a6b6f3cc171e42dfaf62228e0f987239c87711996d4f54b49ad9e0
+ f03a7db4c6866a5fc7de60c3abb24d7dc61d9a42c4193878f00fbd65dfe2b551
+ 67bf700571dcdbde05fbf870c3c4c153858a730ce90c9c553075e414be492b3e
+ d7df6a3e49b5ddb146bbd7ee866f2ec190edd83488e2fa0c1ddd27f016effa0f
+ 03eeac5a3e138ed5321ca6a433d25bd214de3cc1df94e1836b9689f9d59b063f
+ 3d79b48c63cdaaea441afb366872bf47d82349d3f05a5a4ed1fddc1cc266987b"
+
+_move_submodule() {
+	rmdir ${build_wrksrc}/lib/$2
+	mv $1 ${build_wrksrc}/lib/$2
+}
+
+post_extract () {
+	_move_submodule CMSIS-${_cmsis} CMSIS
+	_move_submodule avr-mcu-${_avr} avr
+	_move_submodule cmsis-svd-${_svd} cmsis-svd
+	_move_submodule compiler-rt-${_compiler_rt} compiler-rt
+	_move_submodule nrfx-${_nrfx} nrfx
+	_move_submodule picolibc-${_picolibc} picolibc
+	_move_submodule wasi-libc-${_wasi} wasi-libc
+}
+
+post_build() {
+	make gen-device
+}
+
+post_install() {
+	vmkdir usr/lib/tinygo
+	vcopy "src/device/*" usr/lib/tinygo
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: tinygo-0.13.1.
  2020-07-06 19:35 [PR PATCH] New package: tinygo-0.13.1 ericonr
  2020-07-06 20:01 ` ericonr
  2020-07-07  0:52 ` [PR PATCH] [Updated] " ericonr
@ 2020-07-07  0:54 ` ericonr
  2020-07-07  0:54 ` ericonr
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2020-07-07  0:54 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages tinygo
https://github.com/void-linux/void-packages/pull/23426

New package: tinygo-0.13.1.
Based on #17955 by @renatoaguiar.

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

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

From 8be3a67f84e44c43e4422ea8399401bce9910a07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 6 Jul 2020 16:31:51 -0300
Subject: [PATCH] New package: tinygo-0.13.1.

Based on #17955 by @renatoaguiar.
---
 srcpkgs/tinygo/template | 61 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)
 create mode 100644 srcpkgs/tinygo/template

diff --git a/srcpkgs/tinygo/template b/srcpkgs/tinygo/template
new file mode 100644
index 00000000000..9417a7f5b12
--- /dev/null
+++ b/srcpkgs/tinygo/template
@@ -0,0 +1,61 @@
+# Template file for 'tinygo'
+pkgname=tinygo
+version=0.13.1
+revision=1
+_cmsis=9fe411cef1cef5de58e5957b89760759de44e393
+_avr=6624554c02b237b23dc17d53e992bf54033fc228
+_svd=15b462f152af86f3d15b952e1a5cf1bb9e2693e8
+_compiler_rt=5bc79797e1f9184f39e1bd30fac75d995b72cea3
+_nrfx=3ab39a9d457bfe627473ed0e03a7f1161d9e4f27
+_picolibc=80528c684b10aaee977397e7eb40c4784e6dc433
+_wasi=a280fead2ae71b9a230d3b48c1f95867431888e4
+create_wrksrc=yes
+build_wrksrc=${pkgname}-${version}
+build_style=go
+go_import_path=github.com/tinygo-org/tinygo
+makedepends="clang llvm"
+short_desc="Go compiler for small places"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="BSD-3-Clause, Apache-2.0"
+homepage="https://tinygo.org/"
+distfiles="https://github.com/tinygo-org/tinygo/archive/v${version}.tar.gz
+ https://github.com/ARM-software/CMSIS/archive/${_cmsis}.tar.gz
+ https://github.com/avr-rust/avr-mcu/archive/${_avr}.tar.gz
+ https://github.com/posborne/cmsis-svd/archive/${_svd}.tar.gz
+ https://github.com/llvm-mirror/compiler-rt/archive/${_compiler_rt}.tar.gz
+ https://github.com/NordicSemiconductor/nrfx/archive/${_nrfx}.tar.gz
+ https://github.com/keith-packard/picolibc/archive/${_picolibc}.tar.gz
+ https://github.com/WebAssembly/wasi-libc/archive/${_wasi}.tar.gz"
+checksum="27f4caa12e582f11a844636350d48207595a257dca634c62f67562ee33a61340
+ a73982d8b7a2b6442fe5e309e46bc0b1c248f7fa126beb61b4cf1c052d171758
+ 0f7a130d82a6b6f3cc171e42dfaf62228e0f987239c87711996d4f54b49ad9e0
+ f03a7db4c6866a5fc7de60c3abb24d7dc61d9a42c4193878f00fbd65dfe2b551
+ 67bf700571dcdbde05fbf870c3c4c153858a730ce90c9c553075e414be492b3e
+ d7df6a3e49b5ddb146bbd7ee866f2ec190edd83488e2fa0c1ddd27f016effa0f
+ 03eeac5a3e138ed5321ca6a433d25bd214de3cc1df94e1836b9689f9d59b063f
+ 3d79b48c63cdaaea441afb366872bf47d82349d3f05a5a4ed1fddc1cc266987b"
+
+_move_submodule() {
+	rmdir ${build_wrksrc}/lib/$2
+	mv $1 ${build_wrksrc}/lib/$2
+}
+
+post_extract() {
+	_move_submodule CMSIS-${_cmsis} CMSIS
+	_move_submodule avr-mcu-${_avr} avr
+	_move_submodule cmsis-svd-${_svd} cmsis-svd
+	_move_submodule compiler-rt-${_compiler_rt} compiler-rt
+	_move_submodule nrfx-${_nrfx} nrfx
+	_move_submodule picolibc-${_picolibc} picolibc
+	_move_submodule wasi-libc-${_wasi} wasi-libc
+}
+
+post_build() {
+	make gen-device
+}
+
+post_install() {
+	vmkdir usr/lib/tinygo
+	vcopy "src/device/*" usr/lib/tinygo
+	vlicense LICENSE
+}

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

* Re: New package: tinygo-0.13.1.
  2020-07-06 19:35 [PR PATCH] New package: tinygo-0.13.1 ericonr
                   ` (2 preceding siblings ...)
  2020-07-07  0:54 ` ericonr
@ 2020-07-07  0:54 ` ericonr
  2020-07-07  1:17 ` [PR PATCH] [Updated] " ericonr
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2020-07-07  0:54 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/23426#issuecomment-654536256

Comment:
Added submdules, now needs testing.

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

* Re: [PR PATCH] [Updated] New package: tinygo-0.13.1.
  2020-07-06 19:35 [PR PATCH] New package: tinygo-0.13.1 ericonr
                   ` (3 preceding siblings ...)
  2020-07-07  0:54 ` ericonr
@ 2020-07-07  1:17 ` ericonr
  2021-01-04  2:08 ` ericonr
  2021-01-04  2:08 ` [PR PATCH] [Closed]: " ericonr
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2020-07-07  1:17 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages tinygo
https://github.com/void-linux/void-packages/pull/23426

New package: tinygo-0.13.1.
Based on #17955 by @renatoaguiar.

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

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

From e23f90ebfd6c78b079b013fd21f6916e8c30d83a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
Date: Mon, 6 Jul 2020 16:31:51 -0300
Subject: [PATCH] New package: tinygo-0.13.1.

Based on #17955 by @renatoaguiar.
---
 srcpkgs/tinygo/template | 62 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
 create mode 100644 srcpkgs/tinygo/template

diff --git a/srcpkgs/tinygo/template b/srcpkgs/tinygo/template
new file mode 100644
index 00000000000..5cef93b192f
--- /dev/null
+++ b/srcpkgs/tinygo/template
@@ -0,0 +1,62 @@
+# Template file for 'tinygo'
+pkgname=tinygo
+version=0.13.1
+revision=1
+_cmsis=9fe411cef1cef5de58e5957b89760759de44e393
+_avr=6624554c02b237b23dc17d53e992bf54033fc228
+_svd=15b462f152af86f3d15b952e1a5cf1bb9e2693e8
+_compiler_rt=5bc79797e1f9184f39e1bd30fac75d995b72cea3
+_nrfx=3ab39a9d457bfe627473ed0e03a7f1161d9e4f27
+_picolibc=80528c684b10aaee977397e7eb40c4784e6dc433
+_wasi=a280fead2ae71b9a230d3b48c1f95867431888e4
+create_wrksrc=yes
+build_wrksrc=${pkgname}-${version}
+build_style=go
+go_import_path=github.com/tinygo-org/tinygo
+makedepends="clang llvm"
+short_desc="Go compiler for small places"
+maintainer="Érico Nogueira <ericonr@disroot.org>"
+license="BSD-3-Clause, Apache-2.0"
+homepage="https://tinygo.org/"
+distfiles="https://github.com/tinygo-org/tinygo/archive/v${version}.tar.gz
+ https://github.com/ARM-software/CMSIS/archive/${_cmsis}.tar.gz
+ https://github.com/avr-rust/avr-mcu/archive/${_avr}.tar.gz
+ https://github.com/posborne/cmsis-svd/archive/${_svd}.tar.gz
+ https://github.com/llvm-mirror/compiler-rt/archive/${_compiler_rt}.tar.gz
+ https://github.com/NordicSemiconductor/nrfx/archive/${_nrfx}.tar.gz
+ https://github.com/keith-packard/picolibc/archive/${_picolibc}.tar.gz
+ https://github.com/WebAssembly/wasi-libc/archive/${_wasi}.tar.gz"
+checksum="27f4caa12e582f11a844636350d48207595a257dca634c62f67562ee33a61340
+ a73982d8b7a2b6442fe5e309e46bc0b1c248f7fa126beb61b4cf1c052d171758
+ 0f7a130d82a6b6f3cc171e42dfaf62228e0f987239c87711996d4f54b49ad9e0
+ f03a7db4c6866a5fc7de60c3abb24d7dc61d9a42c4193878f00fbd65dfe2b551
+ 67bf700571dcdbde05fbf870c3c4c153858a730ce90c9c553075e414be492b3e
+ d7df6a3e49b5ddb146bbd7ee866f2ec190edd83488e2fa0c1ddd27f016effa0f
+ 03eeac5a3e138ed5321ca6a433d25bd214de3cc1df94e1836b9689f9d59b063f
+ 3d79b48c63cdaaea441afb366872bf47d82349d3f05a5a4ed1fddc1cc266987b"
+
+_move_submodule() {
+	rmdir ${build_wrksrc}/lib/$2
+	mv $1 ${build_wrksrc}/lib/$2
+}
+
+post_extract() {
+	_move_submodule CMSIS-${_cmsis} CMSIS
+	_move_submodule avr-mcu-${_avr} avr
+	_move_submodule cmsis-svd-${_svd} cmsis-svd
+	_move_submodule compiler-rt-${_compiler_rt} compiler-rt
+	_move_submodule nrfx-${_nrfx} nrfx
+	_move_submodule picolibc-${_picolibc} picolibc
+	_move_submodule wasi-libc-${_wasi} wasi-libc
+}
+
+post_build() {
+	# generate device information files with native tool
+	GOARCH= make gen-device
+}
+
+post_install() {
+	vmkdir usr/lib/tinygo
+	vcopy "src/device/*" usr/lib/tinygo
+	vlicense LICENSE
+}

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

* Re: New package: tinygo-0.13.1.
  2020-07-06 19:35 [PR PATCH] New package: tinygo-0.13.1 ericonr
                   ` (4 preceding siblings ...)
  2020-07-07  1:17 ` [PR PATCH] [Updated] " ericonr
@ 2021-01-04  2:08 ` ericonr
  2021-01-04  2:08 ` [PR PATCH] [Closed]: " ericonr
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-01-04  2:08 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/23426#issuecomment-753720789

Comment:
Eh, I'm not going to be using this any time soon.

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

* Re: [PR PATCH] [Closed]: New package: tinygo-0.13.1.
  2020-07-06 19:35 [PR PATCH] New package: tinygo-0.13.1 ericonr
                   ` (5 preceding siblings ...)
  2021-01-04  2:08 ` ericonr
@ 2021-01-04  2:08 ` ericonr
  6 siblings, 0 replies; 8+ messages in thread
From: ericonr @ 2021-01-04  2:08 UTC (permalink / raw)
  To: ml

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

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

New package: tinygo-0.13.1.
https://github.com/void-linux/void-packages/pull/23426

Description:
Based on #17955 by @renatoaguiar.

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

end of thread, other threads:[~2021-01-04  2:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 19:35 [PR PATCH] New package: tinygo-0.13.1 ericonr
2020-07-06 20:01 ` ericonr
2020-07-07  0:52 ` [PR PATCH] [Updated] " ericonr
2020-07-07  0:54 ` ericonr
2020-07-07  0:54 ` ericonr
2020-07-07  1:17 ` [PR PATCH] [Updated] " ericonr
2021-01-04  2:08 ` ericonr
2021-01-04  2:08 ` [PR PATCH] [Closed]: " ericonr

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).