From: pullmoll <pullmoll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] libclc: rename from libclc-git and update to 11.0.0
Date: Sun, 22 Nov 2020 20:38:08 +0100 [thread overview]
Message-ID: <20201122193808.4HU4z0AnyUdsUBhzE9v_D-k5nK62ZqON9C6EcF3x3w0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26580@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 395 bytes --]
There is an updated pull request by pullmoll against master on the void-packages repository
https://github.com/pullmoll/void-packages libclc
https://github.com/void-linux/void-packages/pull/26580
libclc: rename from libclc-git and update to 11.0.0
Use the libclc src provided by llvm-project. Adopt.
A patch file from https://github.com/void-linux/void-packages/pull/26580.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libclc-26580.patch --]
[-- Type: text/x-diff, Size: 4157 bytes --]
From 2d6757176303797cfef8fd97ca838dd2146412bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Sat, 21 Nov 2020 23:08:57 +0100
Subject: [PATCH 1/2] libclc: rename from libclc-git + update to 11.0.0
Use the libclc src provided by llvm-project. Adopt.
---
srcpkgs/libclc-git/template | 29 ----------------------------
srcpkgs/libclc/template | 38 +++++++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 29 deletions(-)
delete mode 100644 srcpkgs/libclc-git/template
create mode 100644 srcpkgs/libclc/template
diff --git a/srcpkgs/libclc-git/template b/srcpkgs/libclc-git/template
deleted file mode 100644
index 748ffe98fc8..00000000000
--- a/srcpkgs/libclc-git/template
+++ /dev/null
@@ -1,29 +0,0 @@
-# Template file for 'libclc-git'
-pkgname=libclc-git
-version=20181127
-revision=4
-_git_hash=1ecb16dd7d8b8e9151027faab996f27b2ac508e3
-wrksrc="libclc-${_git_hash}"
-build_style=configure
-configure_script="./configure.py"
-configure_args="--prefix=/usr"
-hostmakedepends="clang libedit-devel libffi-devel llvm ncurses-devel
- python zlib-devel"
-short_desc="Open implementation of the OpenCL C programming language"
-maintainer="John Galt <johngaltfirstrun@gmail.com>"
-license="BSD/MIT"
-homepage="http://libclc.llvm.org"
-provides="libclc-${version}_${revision}"
-replaces="libclc>=0"
-archs=noarch
-distfiles="https://github.com/llvm-mirror/libclc/archive/${_git_hash}.tar.gz>${pkgname}-${version}.tar.gz"
-checksum=d9cf73a5d1ab05995086e7a3a0fd6c06172ee59cdd2512c395caae99b9fce453
-
-pre_build() {
- sed -i Makefile \
- -e"s;/usr/bin/clang++;g++;g" \
- -e"s;-mtune=i686;;g"
-}
-post_install() {
- vlicense LICENSE.TXT
-}
diff --git a/srcpkgs/libclc/template b/srcpkgs/libclc/template
new file mode 100644
index 00000000000..3c5f16196c0
--- /dev/null
+++ b/srcpkgs/libclc/template
@@ -0,0 +1,38 @@
+# Template file for 'libclc'
+pkgname=libclc
+version=11.0.0
+revision=1
+wrksrc="${pkgname}-${version}.src"
+configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
+hostmakedepends="cmake clang llvm python3 libedit-devel libffi-devel
+ ncurses-devel zlib-devel"
+short_desc="Open implementation of the OpenCL C programming language"
+maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
+license="BSD-3-Clause, MIT"
+homepage="https://libclc.llvm.org"
+distfiles="https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/libclc-${version}.src.tar.xz"
+checksum=5a0a2f67b85ede09b2f08c071c5b0b6b5ad56bfb00b39a22c369afcc613c42ee
+replaces="libclc-git>=0"
+
+do_configure() {
+ # We really do a native build.
+ # The outcome is just header files.
+ unset CC CXX LD CFLAGS CXXFLAGS LDFLAGS
+ mkdir -p build
+ cd build
+ cmake ${configure_args} ..
+}
+
+do_build() {
+ cd build
+ make ${makejobs}
+}
+
+do_install() {
+ cd build
+ make DESTDIR="$DESTDIR" ${makejobs} install
+}
+
+post_install() {
+ vlicense LICENSE.TXT
+}
From ba6033589b69313fbdff9a10405c51bbe6bf80ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Sat, 21 Nov 2020 23:10:23 +0100
Subject: [PATCH 2/2] mesa: revbump for libclc{-git,} rename and update
---
srcpkgs/mesa/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template
index cf9d83d0d73..a6903480d7d 100644
--- a/srcpkgs/mesa/template
+++ b/srcpkgs/mesa/template
@@ -1,7 +1,7 @@
# Template file for 'mesa'
pkgname=mesa
version=20.2.2
-revision=2
+revision=3
wrksrc="mesa-${version}"
build_style=meson
configure_args="-Dglvnd=true -Dshared-glapi=true -Dgbm=true -Degl=true
@@ -134,7 +134,7 @@ fi
# enabled currently by amd drivers
if [ "$_have_opencl" ]; then
hostmakedepends+=" clang"
- makedepends+=" clang libclc-git"
+ makedepends+=" clang libclc"
subpackages+=" mesa-opencl"
configure_args+=" -Dgallium-opencl=icd"
fi
@@ -256,7 +256,7 @@ libxatracker_package() {
mesa-opencl_package() {
short_desc="Mesa implementation of OpenCL (r600+ only)"
- depends="libclc-git"
+ depends="libclc"
pkg_install() {
vmove etc/OpenCL
vmove "usr/lib/libMesaOpenCL.so.*"
next prev parent reply other threads:[~2020-11-22 19:38 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-21 22:12 [PR PATCH] " pullmoll
2020-11-21 22:15 ` [PR PATCH] [Updated] " pullmoll
2020-11-21 22:24 ` pullmoll
2020-11-22 18:49 ` [PR PATCH] [Updated] " pullmoll
2020-11-22 18:59 ` pullmoll
2020-11-22 19:01 ` pullmoll
2020-11-22 19:03 ` [PR PATCH] [Updated] " pullmoll
2020-11-22 19:07 ` pullmoll
2020-11-22 19:16 ` [PR REVIEW] " ericonr
2020-11-22 19:20 ` pullmoll
2020-11-22 19:23 ` pullmoll
2020-11-22 19:24 ` pullmoll
2020-11-22 19:27 ` pullmoll
2020-11-22 19:38 ` pullmoll [this message]
2020-11-24 17:47 ` pullmoll
2020-11-25 12:31 ` [PR PATCH] [Updated] " pullmoll
2020-11-25 18:49 ` [PR REVIEW] " Vaelatern
2020-11-25 19:04 ` pullmoll
2020-11-25 19:18 ` Vaelatern
2020-11-25 19:32 ` pullmoll
2020-11-25 19:36 ` [PR PATCH] [Updated] " pullmoll
2020-11-25 19:37 ` pullmoll
2020-11-25 20:07 ` pullmoll
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=20201122193808.4HU4z0AnyUdsUBhzE9v_D-k5nK62ZqON9C6EcF3x3w0@z \
--to=pullmoll@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).