Github messages for voidlinux
 help / color / mirror / Atom feed
From: wangp <wangp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: mimalloc-2.0.6
Date: Sun, 26 Jun 2022 06:26:53 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37688@inbox.vuxu.org> (raw)

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

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

https://github.com/wangp/void-packages mimalloc-2.0.6
https://github.com/void-linux/void-packages/pull/37688

New package: mimalloc-2.0.6
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc



Note:
- mold could make use of this package (once it is packaged), or mold could be built with its vendored copy of mimalloc.
- I left /usr/lib/libmimalloc.so in the main package because one of the suggested ways to use mimalloc is
`LD_PRELOAD=/usr/lib/libmimalloc.so  myprogram`

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

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

From e79ce4417613a7b847152e392228819b6f3f3c7c Mon Sep 17 00:00:00 2001
From: Peter Wang <novalazy@gmail.com>
Date: Sun, 26 Jun 2022 11:35:52 +1000
Subject: [PATCH] New package: mimalloc-2.0.6

---
 common/shlibs             |  1 +
 srcpkgs/mimalloc-devel    |  1 +
 srcpkgs/mimalloc/template | 25 +++++++++++++++++++++++++
 3 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/mimalloc-devel
 create mode 100644 srcpkgs/mimalloc/template

diff --git a/common/shlibs b/common/shlibs
index 8231f48d36a3..acc3528fa77a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4164,3 +4164,4 @@ liblowdown.so lowdown-0.11.2_1
 libjaylink.so.0 libjaylink-0.2.0_1
 libnvidia-container.so.1 libnvidia-container-1.10.0_1
 libnvidia-container-go.so.1 libnvidia-container-1.10.0_1
+libmimalloc.so.2 mimalloc-2.0.6_1
diff --git a/srcpkgs/mimalloc-devel b/srcpkgs/mimalloc-devel
new file mode 120000
index 000000000000..9af584a917a5
--- /dev/null
+++ b/srcpkgs/mimalloc-devel
@@ -0,0 +1 @@
+mimalloc
\ No newline at end of file
diff --git a/srcpkgs/mimalloc/template b/srcpkgs/mimalloc/template
new file mode 100644
index 000000000000..3daff3294bc3
--- /dev/null
+++ b/srcpkgs/mimalloc/template
@@ -0,0 +1,25 @@
+# Template file for 'mimalloc'
+pkgname=mimalloc
+version=2.0.6
+revision=1
+build_style=cmake
+short_desc="General purpose allocator with excellent performance characteristics"
+maintainer="Peter Wang <novalazy@gmail.com>"
+license="MIT"
+homepage="https://github.com/microsoft/mimalloc"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=9f05c94cc2b017ed13698834ac2a3567b6339a8bde27640df5a1581d49d05ce5
+
+post_install() {
+	vlicense LICENSE
+}
+
+mimalloc-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove usr/lib/mimalloc-2.0
+	}
+}

             reply	other threads:[~2022-06-26  4:26 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-26  4:26 wangp [this message]
2022-06-26  5:06 ` [PR PATCH] [Updated] " wangp
2022-09-11  2:48 ` wangp
2022-09-11  5:01 ` New packages: mimalloc-2.0.6, mold-1.4.2 wangp
2022-09-16 15:30 ` icp1994
2022-09-16 16:38 ` icp1994
2022-09-17  4:28 ` [PR PATCH] [Updated] " wangp
2022-09-17  4:29 ` wangp
2022-09-17  4:40 ` wangp
2022-09-18  2:21 ` [PR PATCH] [Updated] " wangp
2022-09-18  2:22 ` wangp
2022-09-18  8:45 ` [PR PATCH] [Updated] " wangp
2022-09-19 16:18 ` [PR REVIEW] " cinerea0
2022-09-19 16:18 ` cinerea0
2022-09-22  0:57 ` wangp
2022-10-01  1:31 ` [PR PATCH] [Updated] " wangp
2022-10-01  1:33 ` wangp
2022-10-01  2:41 ` [PR PATCH] [Updated] New packages: mimalloc-2.0.6, mold-1.5.1 wangp
2022-10-01  7:33 ` wangp
2022-10-01  7:33 ` wangp
2022-10-22  1:50 ` wangp
2022-10-23  1:41 ` wangp
2022-10-23  2:21 ` wangp
2022-10-24 14:24 ` New packages: mimalloc-2.0.6, mold-1.6.0 sug0
2022-12-02  7:23 ` [PR PATCH] [Updated] " wangp
2023-01-08  0:42 ` [PR PATCH] [Updated] New packages: mimalloc-2.0.7, mold-1.7.1 wangp
2023-01-08  5:58 ` New packages: mimalloc-2.0.9, mold-1.9.0 icp1994
2023-01-08 17:54 ` [PR REVIEW] " classabbyamp
2023-01-09  1:00 ` nekopsykose
2023-01-09  4:54 ` nekopsykose
2023-01-21  5:01 ` [PR PATCH] [Updated] " wangp
2023-03-02 22:22 ` subnut
2023-03-02 23:02 ` [PR REVIEW] " subnut
2023-03-02 23:05 ` subnut
2023-03-04  0:55 ` [PR PATCH] [Updated] " wangp
2023-03-04  0:57 ` [PR REVIEW] " wangp
2023-03-27 18:37 ` New packages: mimalloc-2.0.9, mold-1.10.1 cinerea0
2023-04-02  1:04 ` [PR PATCH] [Updated] " wangp
2023-06-20  7:36 ` [PR PATCH] [Updated] New packages: mimalloc-2.0.9, mold-1.11.0 wangp
2023-07-27 16:01 ` New packages: mimalloc-2.1.2, mold-1.11.0 sug0
2023-07-29 14:30 ` leahneukirchen
2023-07-31  8:51 ` [PR PATCH] [Updated] " wangp
2023-07-31 15:29 ` [PR PATCH] [Merged]: " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37688@inbox.vuxu.org \
    --to=wangp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).