Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ol: update to 2.4.
@ 2023-03-04 21:20 yuriy-chumak
  2023-03-04 22:26 ` [PR PATCH] [Updated] " yuriy-chumak
                   ` (26 more replies)
  0 siblings, 27 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-04 21:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 443a0732f1df87c8758988e877cb3f9738277f44 Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 16 ++++++++++------
 2 files changed, 10 insertions(+), 19 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..76ccf8184959 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,6 +1,6 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
 hostmakedepends="xxd"
@@ -10,13 +10,17 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=56a4c90e3622662abea0441890790b2ff086dd880aee90e6d99191fb347b7508
 
-case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
-esac
+CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
+CFLAGS+=" -DHAS_SOCKETS=1 -DHAS_DLOPEN=1 -DOLVM_FFI"
+CFLAGS+=" -DCAR_CHECK=0 -DCDR_CHECK=0" # disable debug checks
+CFLAGS+=" -lm"
 
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+do_build() {
+	cd ${wrksrc}
+	make all ffi
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
@ 2023-03-04 22:26 ` yuriy-chumak
  2023-03-04 23:45 ` yuriy-chumak
                   ` (25 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-04 22:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From d7639660b085760dab364d52ba08483279374f2d Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 16 ++++++++++------
 2 files changed, 10 insertions(+), 19 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..4c2dd3db29ce 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,6 +1,6 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
 hostmakedepends="xxd"
@@ -10,13 +10,17 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=7697fedf1f5c37afba7778da6414b1425514c4f80ffdabbca88545c481423caf
 
-case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
-esac
+CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
+CFLAGS+=" -DHAS_SOCKETS=1 -DHAS_DLOPEN=1 -DOLVM_FFI"
+CFLAGS+=" -DCAR_CHECK=0 -DCDR_CHECK=0" # disable debug checks
+CFLAGS+=" -lm"
 
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+do_build() {
+	cd ${wrksrc}
+	make all ffi
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
  2023-03-04 22:26 ` [PR PATCH] [Updated] " yuriy-chumak
@ 2023-03-04 23:45 ` yuriy-chumak
  2023-03-05  1:16 ` yuriy-chumak
                   ` (24 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-04 23:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 2d36ead8e41ed6d9ffa85bfba64c1f6fb4a358eb Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 16 ++++++++++------
 2 files changed, 10 insertions(+), 19 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..b823dbdddd46 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,6 +1,6 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
 hostmakedepends="xxd"
@@ -10,13 +10,17 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=586b86e2eec76adb592982771b4f7c4d36f0c0bfdd8ee54862279a9d3cc1ac29
 
-case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
-esac
+CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
+CFLAGS+=" -DHAS_SOCKETS=1 -DHAS_DLOPEN=1 -DOLVM_FFI"
+CFLAGS+=" -DCAR_CHECK=0 -DCDR_CHECK=0" # disable debug checks
+CFLAGS+=" -lm"
 
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+do_build() {
+	cd ${wrksrc}
+	make all ffi
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
  2023-03-04 22:26 ` [PR PATCH] [Updated] " yuriy-chumak
  2023-03-04 23:45 ` yuriy-chumak
@ 2023-03-05  1:16 ` yuriy-chumak
  2023-03-05  1:31 ` yuriy-chumak
                   ` (23 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-05  1:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built and tested this PR locally for my native architecture, **x86_64**
- I built and tested (using **proot** and **qemu**) this PR locally for these architectures (if supported. mark crossbuilds):
  - :heavy_check_mark: x86_64, :heavy_check_mark: x86_64-musl
  - :heavy_check_mark: aarch64, :heavy_check_mark: aarch64-musl
  - :heavy_check_mark: armv5tel, :heavy_check_mark: armv5tel-musl
  - :heavy_check_mark: armv5te, :heavy_check_mark: armv5te-musl
  - :heavy_check_mark: armv6hf, :heavy_check_mark: armv6hf-musl
  - :heavy_check_mark: armv6l, :heavy_check_mark: armv6l-musl
  - :heavy_check_mark: armv7hf, :heavy_check_mark: armv7hf-musl
  - :heavy_check_mark: armv7l, :heavy_check_mark: armv7l-musl
  - :heavy_check_mark: i686, :heavy_check_mark: i686-musl
  - :heavy_check_mark: mipselhf-musl, :heavy_check_mark: mipsel-musl, :heavy_check_mark: mipshf-musl, :heavy_check_mark: mips-musl
  - :heavy_check_mark: ppc64le, :heavy_check_mark: ppc64le-musl
  - :heavy_check_mark: ppc64, :heavy_check_mark: ppc64-musl
  - :heavy_minus_sign: ppcle, :heavy_minus_sign: ppcle-musl
  - :heavy_check_mark: ppc, :heavy_check_mark: ppc-musl


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

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

From d155eccc804c1f506d2f0ed5b815939809e54d2c Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 16 +++++++++-------
 2 files changed, 9 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..f38f8b031306 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,6 +1,6 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
 hostmakedepends="xxd"
@@ -10,13 +10,15 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=b68604d6293b549bb465f3698109f16ade53a542cbb91416688da3387f6ac1c6
 
-case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
-esac
-
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+do_build() {
+	cd ${wrksrc}
+	# configure:
+	HAS_SOCKETS=1 HAS_DLOPEN=1 \
+	OLVM_FFI=1 OLVM_BUILTIN_FMATH=1 \
+	make # build
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (2 preceding siblings ...)
  2023-03-05  1:16 ` yuriy-chumak
@ 2023-03-05  1:31 ` yuriy-chumak
  2023-03-05  1:36 ` yuriy-chumak
                   ` (22 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-05  1:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built and tested this PR locally for my native architecture, **x86_64**
- I built and tested (using **proot** and **qemu**) this PR locally for these architectures (if supported. mark crossbuilds):
  - :heavy_check_mark: x86_64, :heavy_check_mark: x86_64-musl
  - :heavy_check_mark: aarch64, :heavy_check_mark: aarch64-musl
  - :heavy_check_mark: armv5te, :heavy_check_mark: armv5te-musl
  - :heavy_check_mark: armv5tel, :heavy_check_mark: armv5tel-musl
  - :heavy_check_mark: armv6l, :heavy_check_mark: armv6l-musl
  - :heavy_check_mark: armv6hf, :heavy_check_mark: armv6hf-musl
  - :heavy_check_mark: armv7l, :heavy_check_mark: armv7l-musl
  - :heavy_check_mark: armv7hf, :heavy_check_mark: armv7hf-musl
  - :heavy_check_mark: i686, :heavy_check_mark: i686-musl
  - :heavy_check_mark: mips-musl, :heavy_check_mark: mipsel-musl, :heavy_check_mark: mipshf-musl, :heavy_check_mark: mipselhf-musl
  - :heavy_check_mark: ppc64, :heavy_check_mark: ppc64-musl
  - :heavy_check_mark: ppc64le, :heavy_check_mark: ppc64le-musl
  - :heavy_check_mark: ppc, :heavy_check_mark: ppc-musl
  - :heavy_minus_sign: ppcle, :heavy_minus_sign: ppcle-musl


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

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

From 2c7905dfb9e249cfd294f5e21eb58311f294e207 Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 15 +++++++++++----
 2 files changed, 11 insertions(+), 17 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..696f7c57af40 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,6 +1,6 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
 hostmakedepends="xxd"
@@ -10,13 +10,20 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=b68604d6293b549bb465f3698109f16ade53a542cbb91416688da3387f6ac1c6
 
 case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
+	i686*) HAS_64CDEFS=0;;
+	x86_64*) HAS_32CDEFS=0;;
 esac
 
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+do_build() {
+	cd ${wrksrc}
+	# configure:
+	HAS_SOCKETS=1 HAS_DLOPEN=1 \
+	OLVM_FFI=1 OLVM_BUILTIN_FMATH=1 \
+	make # build
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (3 preceding siblings ...)
  2023-03-05  1:31 ` yuriy-chumak
@ 2023-03-05  1:36 ` yuriy-chumak
  2023-03-05  1:45 ` yuriy-chumak
                   ` (21 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-05  1:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built and tested this PR locally for my native architecture, **x86_64**
- I built and tested (using **proot** and **qemu**) this PR locally for these architectures (if supported. mark crossbuilds):
  - :heavy_check_mark: x86_64, :heavy_check_mark: x86_64-musl
  - :heavy_check_mark: aarch64, :heavy_check_mark: aarch64-musl
  - :heavy_check_mark: armv5te, :heavy_check_mark: armv5te-musl
  - :heavy_check_mark: armv5tel, :heavy_check_mark: armv5tel-musl
  - :heavy_check_mark: armv6l, :heavy_check_mark: armv6l-musl
  - :heavy_check_mark: armv6hf, :heavy_check_mark: armv6hf-musl
  - :heavy_check_mark: armv7l, :heavy_check_mark: armv7l-musl
  - :heavy_check_mark: armv7hf, :heavy_check_mark: armv7hf-musl
  - :heavy_check_mark: i686, :heavy_check_mark: i686-musl
  - :heavy_check_mark: mips-musl, :heavy_check_mark: mipsel-musl, :heavy_check_mark: mipshf-musl, :heavy_check_mark: mipselhf-musl
  - :heavy_check_mark: ppc64, :heavy_check_mark: ppc64-musl
  - :heavy_check_mark: ppc64le, :heavy_check_mark: ppc64le-musl
  - :heavy_check_mark: ppc, :heavy_check_mark: ppc-musl
  - :heavy_minus_sign: ppcle, :heavy_minus_sign: ppcle-musl


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

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

From 97b6c395b2cb56767bd9cf1d14455deeca803d22 Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 22 ++++++++++++++++------
 2 files changed, 16 insertions(+), 19 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..c741f1f9824a 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,6 +1,6 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
 hostmakedepends="xxd"
@@ -10,13 +10,23 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=b68604d6293b549bb465f3698109f16ade53a542cbb91416688da3387f6ac1c6
 
-case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
-esac
+do_build() {
+	cd ${wrksrc}
+	# configure,
+	HAS_SOCKETS=1 HAS_DLOPEN=1 \
+	OLVM_FFI=1 OLVM_BUILTIN_FMATH=1 \
+	make
+}
 
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+do_check() {
+	case "$XBPS_TARGET_MACHINE" in
+		i686*) HAS_64CDEFS=0;;
+		x86_64*) HAS_32CDEFS=0;;
+	esac
+	make check
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (4 preceding siblings ...)
  2023-03-05  1:36 ` yuriy-chumak
@ 2023-03-05  1:45 ` yuriy-chumak
  2023-03-05  2:08 ` yuriy-chumak
                   ` (20 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-05  1:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built and tested this PR locally for my native architecture, **x86_64**
- I built and tested (using **proot** and **qemu**) this PR locally for these architectures (if supported. mark crossbuilds):
  - :heavy_check_mark: x86_64, :heavy_check_mark: x86_64-musl
  - :heavy_check_mark: aarch64, :heavy_check_mark: aarch64-musl
  - :heavy_check_mark: armv5te, :heavy_check_mark: armv5te-musl
  - :heavy_check_mark: armv5tel, :heavy_check_mark: armv5tel-musl
  - :heavy_check_mark: armv6l, :heavy_check_mark: armv6l-musl
  - :heavy_check_mark: armv6hf, :heavy_check_mark: armv6hf-musl
  - :heavy_check_mark: armv7l, :heavy_check_mark: armv7l-musl
  - :heavy_check_mark: armv7hf, :heavy_check_mark: armv7hf-musl
  - :heavy_check_mark: i686, :heavy_check_mark: i686-musl
  - :heavy_check_mark: mips-musl, :heavy_check_mark: mipsel-musl, :heavy_check_mark: mipshf-musl, :heavy_check_mark: mipselhf-musl
  - :heavy_check_mark: ppc64, :heavy_check_mark: ppc64-musl
  - :heavy_check_mark: ppc64le, :heavy_check_mark: ppc64le-musl
  - :heavy_check_mark: ppc, :heavy_check_mark: ppc-musl
  - :heavy_minus_sign: ppcle, :heavy_minus_sign: ppcle-musl


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

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

From 73716f7524aa9cfc93ac2aa1df7ec4eabce9acd3 Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 22 ++++++++++++++++------
 2 files changed, 16 insertions(+), 19 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..06343caca3b6 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,6 +1,6 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
 hostmakedepends="xxd"
@@ -10,13 +10,23 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=997e35bed40b76fc1ffc2b986a55c783fd137369260880e844e3816bbfecaa08
 
-case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
-esac
+do_build() {
+	cd ${wrksrc}
+	# configure,
+	HAS_SOCKETS=1 HAS_DLOPEN=1 \
+	OLVM_FFI=1 OLVM_BUILTIN_FMATH=1 \
+	make
+}
 
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+do_check() {
+	case "$XBPS_TARGET_MACHINE" in
+		i686*) HAS_64CDEFS=0;;
+		x86_64*) HAS_32CDEFS=0;;
+	esac
+	make check
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (5 preceding siblings ...)
  2023-03-05  1:45 ` yuriy-chumak
@ 2023-03-05  2:08 ` yuriy-chumak
  2023-03-05  2:22 ` yuriy-chumak
                   ` (19 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-05  2:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built and tested this PR locally for my native architecture, **x86_64**
- I built and tested (using **proot** and **qemu**) this PR locally for these architectures (if supported. mark crossbuilds):
  - :heavy_check_mark: x86_64, :heavy_check_mark: x86_64-musl
  - :heavy_check_mark: aarch64, :heavy_check_mark: aarch64-musl
  - :heavy_check_mark: armv5te, :heavy_check_mark: armv5te-musl
  - :heavy_check_mark: armv5tel, :heavy_check_mark: armv5tel-musl
  - :heavy_check_mark: armv6l, :heavy_check_mark: armv6l-musl
  - :heavy_check_mark: armv6hf, :heavy_check_mark: armv6hf-musl
  - :heavy_check_mark: armv7l, :heavy_check_mark: armv7l-musl
  - :heavy_check_mark: armv7hf, :heavy_check_mark: armv7hf-musl
  - :heavy_check_mark: i686, :heavy_check_mark: i686-musl
  - :heavy_check_mark: mips-musl, :heavy_check_mark: mipsel-musl, :heavy_check_mark: mipshf-musl, :heavy_check_mark: mipselhf-musl
  - :heavy_check_mark: ppc64, :heavy_check_mark: ppc64-musl
  - :heavy_check_mark: ppc64le, :heavy_check_mark: ppc64le-musl
  - :heavy_check_mark: ppc, :heavy_check_mark: ppc-musl
  - :heavy_minus_sign: ppcle, :heavy_minus_sign: ppcle-musl


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

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

From 6e3fcb4e1e4dd27b889530098b26101c10999df8 Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 19 +++++++++++++++----
 2 files changed, 15 insertions(+), 17 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..2af74935ff4a 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,6 +1,6 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
 hostmakedepends="xxd"
@@ -10,13 +10,24 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=63a6933b4b915aa30ee138695accc7673afdbf1844608c1e80b1e2f456b00d9c
 
 case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
+	i686*) HAS_64CDEFS=0;;
+	x86_64*) HAS_32CDEFS=0;;
 esac
 
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+do_build() {
+	cd ${wrksrc}
+	# configure,
+	HAS_SOCKETS=1 HAS_DLOPEN=1 \
+	OLVM_FFI=1 OLVM_BUILTIN_FMATH=1 \
+	make
+}
+
+do_check() {
+	make check
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (6 preceding siblings ...)
  2023-03-05  2:08 ` yuriy-chumak
@ 2023-03-05  2:22 ` yuriy-chumak
  2023-03-05 19:54 ` [PR REVIEW] " icp1994
                   ` (18 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-05  2:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built and tested this PR locally for my native architecture, **x86_64**
- I built and tested (using **proot** and **qemu**) this PR locally for these architectures (if supported. mark crossbuilds):
  - :heavy_check_mark: x86_64, :heavy_check_mark: x86_64-musl
  - :heavy_check_mark: aarch64, :heavy_check_mark: aarch64-musl
  - :heavy_check_mark: armv5te, :heavy_check_mark: armv5te-musl
  - :heavy_check_mark: armv5tel, :heavy_check_mark: armv5tel-musl
  - :heavy_check_mark: armv6l, :heavy_check_mark: armv6l-musl
  - :heavy_check_mark: armv6hf, :heavy_check_mark: armv6hf-musl
  - :heavy_check_mark: armv7l, :heavy_check_mark: armv7l-musl
  - :heavy_check_mark: armv7hf, :heavy_check_mark: armv7hf-musl
  - :heavy_check_mark: i686, :heavy_check_mark: i686-musl
  - :heavy_check_mark: mips-musl, :heavy_check_mark: mipsel-musl, :heavy_check_mark: mipshf-musl, :heavy_check_mark: mipselhf-musl
  - :heavy_check_mark: ppc64, :heavy_check_mark: ppc64-musl
  - :heavy_check_mark: ppc64le, :heavy_check_mark: ppc64le-musl
  - :heavy_check_mark: ppc, :heavy_check_mark: ppc-musl
  - :heavy_minus_sign: ppcle, :heavy_minus_sign: ppcle-musl


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

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

From 99eab1ee83e020211d1cba1123ba49be9d5a37e4 Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 21 +++++++++++++++++----
 2 files changed, 17 insertions(+), 17 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..38149357ccea 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,6 +1,6 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
 hostmakedepends="xxd"
@@ -10,13 +10,26 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=c0d0beadbd549e453a93dba350ed18b2df070f783c1803cb18ebcc5518ed6e8e
 
 case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
+	i686*)   export HAS_64CDEFS=0;;
+	x86_64*) export HAS_32CDEFS=0;;
 esac
 
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+do_build() {
+	cd ${wrksrc}
+	# configure,
+	HAS_SOCKETS=1 HAS_DLOPEN=1 \
+	OLVM_FFI=1 OLVM_BUILTIN_FMATH=1 \
+	make
+}
+
+do_check() {
+	HAS_32CDEFS=$HAS_32CDEFS \
+	HAS_64CDEFS=$HAS_64CDEFS \
+	make check
+}
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (8 preceding siblings ...)
  2023-03-05 19:54 ` [PR REVIEW] " icp1994
@ 2023-03-05 19:54 ` icp1994
  2023-03-05 19:54 ` icp1994
                   ` (16 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: icp1994 @ 2023-03-05 19:54 UTC (permalink / raw)
  To: ml

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

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1125632594

Comment:
```suggestion
build_style=gnu-makefile
make_use_env=yes
make_build_args="HAS_SOCKETS=1 HAS_DLOPEN=1 OLVM_FFI=1 OLVM_BUILTIN_FMATH=1"
```

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (9 preceding siblings ...)
  2023-03-05 19:54 ` icp1994
@ 2023-03-05 19:54 ` icp1994
  2023-03-06 16:32 ` yuriy-chumak
                   ` (15 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: icp1994 @ 2023-03-05 19:54 UTC (permalink / raw)
  To: ml

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

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1125723345

Comment:
If I'm understanding this right, what you actually want is
```bash
if [[ "$XBPS_TARGET_WORDSIZE" -eq 32 ]]; then
	export HAS_64CDEFS=0
else
	export HAS_32CDEFS=0
fi
```

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (7 preceding siblings ...)
  2023-03-05  2:22 ` yuriy-chumak
@ 2023-03-05 19:54 ` icp1994
  2023-03-05 19:54 ` icp1994
                   ` (17 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: icp1994 @ 2023-03-05 19:54 UTC (permalink / raw)
  To: ml

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

New review comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1125723480

Comment:
```suggestion
```

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (10 preceding siblings ...)
  2023-03-05 19:54 ` icp1994
@ 2023-03-06 16:32 ` yuriy-chumak
  2023-03-06 16:42 ` [PR PATCH] [Updated] " yuriy-chumak
                   ` (14 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 16:32 UTC (permalink / raw)
  To: ml

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

New review comment by yuriy-chumak on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126721237

Comment:
Thank you. This is what's needed.

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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (11 preceding siblings ...)
  2023-03-06 16:32 ` yuriy-chumak
@ 2023-03-06 16:42 ` yuriy-chumak
  2023-03-06 16:46 ` [PR REVIEW] " yuriy-chumak
                   ` (13 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 16:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built and tested this PR locally for my native architecture, **x86_64**
- I built and tested (using **proot** and **qemu**) this PR locally for these architectures (if supported. mark crossbuilds):
  - :heavy_check_mark: x86_64, :heavy_check_mark: x86_64-musl
  - :heavy_check_mark: aarch64, :heavy_check_mark: aarch64-musl
  - :heavy_check_mark: armv5te, :heavy_check_mark: armv5te-musl
  - :heavy_check_mark: armv5tel, :heavy_check_mark: armv5tel-musl
  - :heavy_check_mark: armv6l, :heavy_check_mark: armv6l-musl
  - :heavy_check_mark: armv6hf, :heavy_check_mark: armv6hf-musl
  - :heavy_check_mark: armv7l, :heavy_check_mark: armv7l-musl
  - :heavy_check_mark: armv7hf, :heavy_check_mark: armv7hf-musl
  - :heavy_check_mark: i686, :heavy_check_mark: i686-musl
  - :heavy_check_mark: mips-musl, :heavy_check_mark: mipsel-musl, :heavy_check_mark: mipshf-musl, :heavy_check_mark: mipselhf-musl
  - :heavy_check_mark: ppc64, :heavy_check_mark: ppc64-musl
  - :heavy_check_mark: ppc64le, :heavy_check_mark: ppc64le-musl
  - :heavy_check_mark: ppc, :heavy_check_mark: ppc-musl
  - :heavy_minus_sign: ppcle, :heavy_minus_sign: ppcle-musl


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

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

From d492010a6111ad2c0a1fc282dcb5565503440790 Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 16 +++++++++-------
 2 files changed, 9 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..e6a5e48cf637 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,8 +1,9 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
+make_use_env=yes
 hostmakedepends="xxd"
 short_desc="Purely functional dialect of Lisp"
 maintainer="rc-05 <rc23@email.it>"
@@ -10,13 +11,14 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=c0d0beadbd549e453a93dba350ed18b2df070f783c1803cb18ebcc5518ed6e8e
 
-case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
-esac
-
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+make_build_args="HAS_SOCKETS=1 HAS_DLOPEN=1 OLVM_FFI=1 OLVM_BUILTIN_FMATH=1"
+if [[ "$XBPS_TARGET_WORDSIZE" -eq 32 ]]; then
+	make_check_args="HAS_64CDEFS=0"
+else
+	make_check_args="HAS_32CDEFS=0"
+fi
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (12 preceding siblings ...)
  2023-03-06 16:42 ` [PR PATCH] [Updated] " yuriy-chumak
@ 2023-03-06 16:46 ` yuriy-chumak
  2023-03-06 17:10 ` [PR PATCH] [Updated] " yuriy-chumak
                   ` (12 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 16:46 UTC (permalink / raw)
  To: ml

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

New review comment by yuriy-chumak on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126743189

Comment:
Yeah, thank you. That's better.
(I changed to `make_check_args` because that's for `make check`).
I can see the regression tests are running. Fine!

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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (13 preceding siblings ...)
  2023-03-06 16:46 ` [PR REVIEW] " yuriy-chumak
@ 2023-03-06 17:10 ` yuriy-chumak
  2023-03-06 17:42 ` [PR REVIEW] " classabbyamp
                   ` (11 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 17:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built and tested this PR locally for my native architecture, **x86_64**
- I built and tested (using **proot** and **qemu**) this PR locally for these architectures (if supported. mark crossbuilds):
  - :heavy_check_mark: x86_64, :heavy_check_mark: x86_64-musl
  - :heavy_check_mark: aarch64, :heavy_check_mark: aarch64-musl
  - :heavy_check_mark: armv5te, :heavy_check_mark: armv5te-musl
  - :heavy_check_mark: armv5tel, :heavy_check_mark: armv5tel-musl
  - :heavy_check_mark: armv6l, :heavy_check_mark: armv6l-musl
  - :heavy_check_mark: armv6hf, :heavy_check_mark: armv6hf-musl
  - :heavy_check_mark: armv7l, :heavy_check_mark: armv7l-musl
  - :heavy_check_mark: armv7hf, :heavy_check_mark: armv7hf-musl
  - :heavy_check_mark: i686, :heavy_check_mark: i686-musl
  - :heavy_check_mark: mips-musl, :heavy_check_mark: mipsel-musl, :heavy_check_mark: mipshf-musl, :heavy_check_mark: mipselhf-musl
  - :heavy_check_mark: ppc64, :heavy_check_mark: ppc64-musl
  - :heavy_check_mark: ppc64le, :heavy_check_mark: ppc64le-musl
  - :heavy_check_mark: ppc, :heavy_check_mark: ppc-musl
  - :heavy_minus_sign: ppcle, :heavy_minus_sign: ppcle-musl


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

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

From daf2e5cd45c13210ad393ab1534c5f25379dae13 Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 16 +++++++++-------
 2 files changed, 9 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..2b0984194922 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,8 +1,9 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
+make_use_env=yes
 hostmakedepends="xxd"
 short_desc="Purely functional dialect of Lisp"
 maintainer="rc-05 <rc23@email.it>"
@@ -10,13 +11,14 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=019978ddcf0befc8b8de9f50899c9dd0f47a3e18cf9556bc72a75ae2d1d965d4
 
-case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
-esac
-
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+make_build_args="HAS_SOCKETS=1 HAS_DLOPEN=1 OLVM_FFI=1"
+if [[ "$XBPS_TARGET_WORDSIZE" -eq 32 ]]; then
+	make_check_args="HAS_64CDEFS=0"
+else
+	make_check_args="HAS_32CDEFS=0"
+fi
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (14 preceding siblings ...)
  2023-03-06 17:10 ` [PR PATCH] [Updated] " yuriy-chumak
@ 2023-03-06 17:42 ` classabbyamp
  2023-03-06 17:50 ` yuriy-chumak
                   ` (10 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: classabbyamp @ 2023-03-06 17:42 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126808025

Comment:
put this above with make_use_env

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (15 preceding siblings ...)
  2023-03-06 17:42 ` [PR REVIEW] " classabbyamp
@ 2023-03-06 17:50 ` yuriy-chumak
  2023-03-06 17:51 ` yuriy-chumak
                   ` (9 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 17:50 UTC (permalink / raw)
  To: ml

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

New review comment by yuriy-chumak on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126819441

Comment:
why? that's an important line with build options to not be lost inside urls and descriptions.
imho.

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (16 preceding siblings ...)
  2023-03-06 17:50 ` yuriy-chumak
@ 2023-03-06 17:51 ` yuriy-chumak
  2023-03-06 17:56 ` yuriy-chumak
                   ` (8 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 17:51 UTC (permalink / raw)
  To: ml

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

New review comment by yuriy-chumak on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126819441

Comment:
@classabbyamp,
why? that's an important line with build options to not be lost inside urls and descriptions.
imho.

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (17 preceding siblings ...)
  2023-03-06 17:51 ` yuriy-chumak
@ 2023-03-06 17:56 ` yuriy-chumak
  2023-03-06 17:58 ` yuriy-chumak
                   ` (7 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 17:56 UTC (permalink / raw)
  To: ml

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

New review comment by yuriy-chumak on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126826055

Comment:
> buildtesting with proot/qemu isn't very useful. it's better to do it like it would be built on the builders (i.e., native for x86_64* and i686, cross for aarch64* and armv[67]l*)

Yeah, right. But such builders do cross-compilation and can't run compiled binaries. That's why I made these internal tests.

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (18 preceding siblings ...)
  2023-03-06 17:56 ` yuriy-chumak
@ 2023-03-06 17:58 ` yuriy-chumak
  2023-03-06 18:06 ` yuriy-chumak
                   ` (6 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 17:58 UTC (permalink / raw)
  To: ml

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

New review comment by yuriy-chumak on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126826055

Comment:
> buildtesting with proot/qemu isn't very useful. it's better to do it like it would be built on the builders (i.e., native for x86_64* and i686, cross for aarch64* and armv[67]l*)

Yeah, right. But such builders do cross-compilation (except i686/x86_64 which can run 'make check') and can't run compiled binaries. That's why I made these internal tests.

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (19 preceding siblings ...)
  2023-03-06 17:58 ` yuriy-chumak
@ 2023-03-06 18:06 ` yuriy-chumak
  2023-03-06 18:37 ` classabbyamp
                   ` (5 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 18:06 UTC (permalink / raw)
  To: ml

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

New review comment by yuriy-chumak on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126835597

Comment:
Ah, moreover. Builders do not include ''armv5te and armv5tel, armv6hf, armv7hf, mips,mipshf, mipsel, mipselhf, ppc and ppc64".

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (20 preceding siblings ...)
  2023-03-06 18:06 ` yuriy-chumak
@ 2023-03-06 18:37 ` classabbyamp
  2023-03-06 20:25 ` yuriy-chumak
                   ` (4 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: classabbyamp @ 2023-03-06 18:37 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126869716

Comment:
> why? that's an important line with build options to not be lost inside urls and descriptions.
imho.

because that's what the style is. by putting it not in the first block xlint doesn't catch it but that's where it should go

> Builders do not include ''armv5te and armv5tel, armv6hf, armv7hf, mips,mipshf, mipsel, mipselhf, ppc and ppc64".

because these aren't currently supported archs. the profiles exist but we don't really support them

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (21 preceding siblings ...)
  2023-03-06 18:37 ` classabbyamp
@ 2023-03-06 20:25 ` yuriy-chumak
  2023-03-06 20:33 ` [PR PATCH] [Updated] " yuriy-chumak
                   ` (3 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 20:25 UTC (permalink / raw)
  To: ml

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

New review comment by yuriy-chumak on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126997891

Comment:
> because that's what the style is.
Got it. Ok!



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

* Re: [PR PATCH] [Updated] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (22 preceding siblings ...)
  2023-03-06 20:25 ` yuriy-chumak
@ 2023-03-06 20:33 ` yuriy-chumak
  2023-03-06 20:39 ` [PR REVIEW] " yuriy-chumak
                   ` (2 subsequent siblings)
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 20:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/otus-lisp/void-packages ol
https://github.com/void-linux/void-packages/pull/42590

ol: update to 2.4.
# DRAFT
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built and tested this PR locally for my native architecture, **x86_64**
- I built and tested (using **proot** and **qemu**) this PR locally for these architectures:
  - :heavy_check_mark: x86_64, :heavy_check_mark: x86_64-musl
  - :heavy_check_mark: aarch64, :heavy_check_mark: aarch64-musl
  - :heavy_check_mark: armv5te, :heavy_check_mark: armv5te-musl
  - :heavy_check_mark: armv5tel, :heavy_check_mark: armv5tel-musl
  - :heavy_check_mark: armv6l, :heavy_check_mark: armv6l-musl
  - :heavy_check_mark: armv6hf, :heavy_check_mark: armv6hf-musl
  - :heavy_check_mark: armv7l, :heavy_check_mark: armv7l-musl
  - :heavy_check_mark: armv7hf, :heavy_check_mark: armv7hf-musl
  - :heavy_check_mark: i686, :heavy_check_mark: i686-musl
  - :heavy_check_mark: mips-musl, :heavy_check_mark: mipsel-musl, :heavy_check_mark: mipshf-musl, :heavy_check_mark: mipselhf-musl
  - :heavy_check_mark: ppc64, :heavy_check_mark: ppc64-musl
  - :heavy_check_mark: ppc64le, :heavy_check_mark: ppc64le-musl
  - :heavy_check_mark: ppc, :heavy_check_mark: ppc-musl
  - :heavy_minus_sign: ppcle, :heavy_minus_sign: ppcle-musl


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

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

From 538f276135c5adc77e70225619c5650727ce976d Mon Sep 17 00:00:00 2001
From: Yuriy Chumak <yuriy.chumak@mail.com>
Date: Sat, 4 Mar 2023 23:16:11 +0200
Subject: [PATCH] ol: update to 2.4.

---
 srcpkgs/ol/patches/fmov.patch | 13 -------------
 srcpkgs/ol/template           | 16 +++++++++-------
 2 files changed, 9 insertions(+), 20 deletions(-)
 delete mode 100644 srcpkgs/ol/patches/fmov.patch

diff --git a/srcpkgs/ol/patches/fmov.patch b/srcpkgs/ol/patches/fmov.patch
deleted file mode 100644
index df05a3a29644..000000000000
--- a/srcpkgs/ol/patches/fmov.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/extensions/ffi.c b/extensions/ffi.c
-index 45769490..000a355a 100644
---- a/extensions/ffi.c
-+++ b/extensions/ffi.c
-@@ -3275,7 +3277,7 @@ int64_t callback(olvm_t* ol, size_t id, int_t* argi // TODO: change "ol" to "thi
- 			__asm__("BKPT");
- 			__asm__("mov r0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # else 
--			__asm__("fmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
-+			__asm__("vmov s0, %[reg]" :: [reg]"r" (OL2F(r))); // todo: I'm not sure
- # endif
- #endif
- 			return 0; // actually we return st(0)
diff --git a/srcpkgs/ol/template b/srcpkgs/ol/template
index a9c4b0c4a4f0..9a78e836750e 100644
--- a/srcpkgs/ol/template
+++ b/srcpkgs/ol/template
@@ -1,8 +1,10 @@
 # Template file for 'ol'
 pkgname=ol
-version=2.3.6
+version=2.4
 revision=1
 build_style=gnu-makefile
+make_use_env=yes
+make_build_args="HAS_SOCKETS=1 HAS_DLOPEN=1 OLVM_FFI=1"
 hostmakedepends="xxd"
 short_desc="Purely functional dialect of Lisp"
 maintainer="rc-05 <rc23@email.it>"
@@ -10,13 +12,13 @@ license="LGPL-3.0-or-later, MIT"
 homepage="https://yuriy-chumak.github.io/ol/"
 changelog="https://raw.githubusercontent.com/yuriy-chumak/ol/master/doc/CHANGELOG.md"
 distfiles="https://github.com/yuriy-chumak/ol/archive/${version}.tar.gz"
-checksum=5a7b8ff5eeba2db63ba8d409c6ebc3af5f9cb21d14a2ec1a279d8137298360ef
+checksum=019978ddcf0befc8b8de9f50899c9dd0f47a3e18cf9556bc72a75ae2d1d965d4
 
-case "$XBPS_TARGET_MACHINE" in
-	i686*|x86_64*) makedepends+=" gcc-multilib";;
-esac
-
-CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/} -lm -DOLVM_FFI -DHAS_SOCKETS -DHAS_DLOPEN"
+if [[ "$XBPS_TARGET_WORDSIZE" -eq 32 ]]; then
+	make_check_args="HAS_64CDEFS=0"
+else
+	make_check_args="HAS_32CDEFS=0"
+fi
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (23 preceding siblings ...)
  2023-03-06 20:33 ` [PR PATCH] [Updated] " yuriy-chumak
@ 2023-03-06 20:39 ` yuriy-chumak
  2023-03-06 21:05 ` yuriy-chumak
  2023-03-08 15:50 ` [PR PATCH] [Merged]: " leahneukirchen
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 20:39 UTC (permalink / raw)
  To: ml

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

New review comment by yuriy-chumak on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1127010230

Comment:
Done.

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

* Re: [PR REVIEW] ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (24 preceding siblings ...)
  2023-03-06 20:39 ` [PR REVIEW] " yuriy-chumak
@ 2023-03-06 21:05 ` yuriy-chumak
  2023-03-08 15:50 ` [PR PATCH] [Merged]: " leahneukirchen
  26 siblings, 0 replies; 28+ messages in thread
From: yuriy-chumak @ 2023-03-06 21:05 UTC (permalink / raw)
  To: ml

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

New review comment by yuriy-chumak on void-packages repository

https://github.com/void-linux/void-packages/pull/42590#discussion_r1126997891

Comment:
> because that's what the style is.

Got it. Ok!



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

* Re: [PR PATCH] [Merged]: ol: update to 2.4.
  2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
                   ` (25 preceding siblings ...)
  2023-03-06 21:05 ` yuriy-chumak
@ 2023-03-08 15:50 ` leahneukirchen
  26 siblings, 0 replies; 28+ messages in thread
From: leahneukirchen @ 2023-03-08 15:50 UTC (permalink / raw)
  To: ml

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

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

ol: update to 2.4.
https://github.com/void-linux/void-packages/pull/42590

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built and tested this PR locally for my native architecture, **x86_64**
- I built and tested (using **proot** and **qemu**) this PR locally for these architectures:
  - :heavy_check_mark: x86_64, :heavy_check_mark: x86_64-musl
  - :heavy_check_mark: aarch64, :heavy_check_mark: aarch64-musl
  - :heavy_check_mark: armv5te, :heavy_check_mark: armv5te-musl
  - :heavy_check_mark: armv5tel, :heavy_check_mark: armv5tel-musl
  - :heavy_check_mark: armv6l, :heavy_check_mark: armv6l-musl
  - :heavy_check_mark: armv6hf, :heavy_check_mark: armv6hf-musl
  - :heavy_check_mark: armv7l, :heavy_check_mark: armv7l-musl
  - :heavy_check_mark: armv7hf, :heavy_check_mark: armv7hf-musl
  - :heavy_check_mark: i686, :heavy_check_mark: i686-musl
  - :heavy_check_mark: mips-musl, :heavy_check_mark: mipsel-musl, :heavy_check_mark: mipshf-musl, :heavy_check_mark: mipselhf-musl
  - :heavy_check_mark: ppc64, :heavy_check_mark: ppc64-musl
  - :heavy_check_mark: ppc64le, :heavy_check_mark: ppc64le-musl
  - :heavy_check_mark: ppc, :heavy_check_mark: ppc-musl
  - :heavy_minus_sign: ppcle, :heavy_minus_sign: ppcle-musl


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

end of thread, other threads:[~2023-03-08 15:50 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-04 21:20 [PR PATCH] ol: update to 2.4 yuriy-chumak
2023-03-04 22:26 ` [PR PATCH] [Updated] " yuriy-chumak
2023-03-04 23:45 ` yuriy-chumak
2023-03-05  1:16 ` yuriy-chumak
2023-03-05  1:31 ` yuriy-chumak
2023-03-05  1:36 ` yuriy-chumak
2023-03-05  1:45 ` yuriy-chumak
2023-03-05  2:08 ` yuriy-chumak
2023-03-05  2:22 ` yuriy-chumak
2023-03-05 19:54 ` [PR REVIEW] " icp1994
2023-03-05 19:54 ` icp1994
2023-03-05 19:54 ` icp1994
2023-03-06 16:32 ` yuriy-chumak
2023-03-06 16:42 ` [PR PATCH] [Updated] " yuriy-chumak
2023-03-06 16:46 ` [PR REVIEW] " yuriy-chumak
2023-03-06 17:10 ` [PR PATCH] [Updated] " yuriy-chumak
2023-03-06 17:42 ` [PR REVIEW] " classabbyamp
2023-03-06 17:50 ` yuriy-chumak
2023-03-06 17:51 ` yuriy-chumak
2023-03-06 17:56 ` yuriy-chumak
2023-03-06 17:58 ` yuriy-chumak
2023-03-06 18:06 ` yuriy-chumak
2023-03-06 18:37 ` classabbyamp
2023-03-06 20:25 ` yuriy-chumak
2023-03-06 20:33 ` [PR PATCH] [Updated] " yuriy-chumak
2023-03-06 20:39 ` [PR REVIEW] " yuriy-chumak
2023-03-06 21:05 ` yuriy-chumak
2023-03-08 15:50 ` [PR PATCH] [Merged]: " leahneukirchen

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