Github messages for voidlinux
 help / color / mirror / Atom feed
From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] nvidia: update to 450.57.
Date: Fri, 17 Jul 2020 21:29:35 +0200	[thread overview]
Message-ID: <20200717192935.fXNQMngSIfahMXucTEEuymVkP5JNJBMoIEL6yaIPO6o@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23501@inbox.vuxu.org>

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

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

https://github.com/abenson/void-packages nvidia_450.57
https://github.com/void-linux/void-packages/pull/23501

nvidia: update to 450.57.


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

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

From 3809f6e0777abcc37609df91297e2dc3688c00dd Mon Sep 17 00:00:00 2001
From: Andrewb Benson <abenson+void@gmail.com>
Date: Thu, 9 Jul 2020 14:56:07 -0500
Subject: [PATCH] nvidia: update to 450.57.

At some point pkg-config was added without reasoning, and then removed, and
then later pkgconf was added, also without reasoning.  We're not sure why any
of it was there. So we're removing it for now.
---
 srcpkgs/nvidia/template | 32 +++++++++++++++++++++++---------
 1 file changed, 23 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index 42160404f94..0702b977e08 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -3,7 +3,7 @@
 _desc="NVIDIA drivers for linux"
 
 pkgname=nvidia
-version=440.100
+version=450.57
 revision=1
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="custom:NVIDIA Proprietary"
@@ -19,11 +19,12 @@ conflicts="xserver-abi-video>24_1"
 
 _pkg="NVIDIA-Linux-x86_64-${version}"
 distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
-checksum=649684fab4f37b178afb6cae012e7f9736377d89fa8abdfca26f24a13bbacf1f
+checksum=d50c77fc4fda2a5c5ab2af64524da8a3214077bd7daf0dbf7c1986e0ca05d711
+# subpackages need to be processed in this specific order
 subpackages="nvidia-gtklibs nvidia-dkms nvidia-opencl nvidia-libs nvidia-libs-32bit"
 depends="nvidia-libs-${version}_${revision}
  nvidia-gtklibs-${version}_${revision}
- nvidia-dkms-${version}_${revision} pkgconf"
+ nvidia-dkms-${version}_${revision}"
 
 _install_libs() {
 	local libdir=$1
@@ -76,12 +77,6 @@ _install_libs() {
 	ln -sf libnvidia-fbc.so.${version} ${DESTDIR}/${libdir}/libnvidia-fbc.so
 	ln -sf libnvidia-fbc.so.${version} ${DESTDIR}/${libdir}/libnvidia-fbc.so.1
 
-	vinstall libnvidia-fatbinaryloader.so.${version} 755 ${libdir}
-	ln -sf libnvidia-fatbinaryloader.so.${version} \
-		${DESTDIR}/${libdir}/libnvidia-fatbinaryloader.so.1
-	ln -sf libnvidia-fatbinaryloader.so.1 \
-		${DESTDIR}/${libdir}/libnvidia-fatbinaryloader.so
-
 	# CUDA
 	vinstall libcuda.so.${version} 755 ${libdir}
 	ln -sf libcuda.so.${version} ${DESTDIR}/${libdir}/libcuda.so
@@ -103,6 +98,12 @@ _install_libs() {
 	ln -sf libnvidia-ptxjitcompiler.so.1 \
 		${DESTDIR}/${libdir}/libnvidia-ptxjitcompiler.so
 
+	vinstall libnvidia-allocator.so.${version} 755 ${libdir}
+	ln -sf libnvidia-allocator.so.${version} \
+		${DESTDIR}/${libdir}/libnvidia-allocator.so.1
+	ln -sf libnvidia-allocator.so.1 \
+		${DESTDIR}/${libdir}/libnvidia-allocator.so
+
 	# helper libs for approved partners' GRID remote apps
 	vinstall libnvidia-ifr.so.${version} 755 usr/lib
 	vinstall libnvidia-fbc.so.${version} 755 usr/lib
@@ -182,8 +183,14 @@ do_install() {
 	gzip -d nvidia-modprobe.1.gz
 	vman nvidia-modprobe.1
 
+	# nvidia-persistenced
+	vinstall nvidia-persistenced 4755 usr/bin
+	gzip -d nvidia-persistenced.1.gz
+	vman nvidia-persistenced.1
+
 	# opencl pkg
 	vinstall nvidia.icd 644 etc/OpenCL/vendors
+	vinstall nvidia_layers.json 644 usr/share/vulkan/implicit_layer.d
 
 	vinstall libnvidia-compiler.so.${version} 755 usr/lib
 
@@ -228,6 +235,13 @@ do_install() {
 	vdoc README.txt README
 	vdoc NVIDIA_Changelog
 
+	# ngx is 64-bit only
+	vinstall libnvidia-ngx.so.${version} 755 usr/lib
+	ln -sf libnvidia-ngx.so.${version} \
+		${DESTDIR}/usr/lib/libnvidia-ngx.so.1
+	ln -sf libnvidia-ngx.so.1 \
+		${DESTDIR}/usr/lib/libnvidia-ngx.so
+
 	# Libraries (64bit)
 	_install_libs usr/lib
 	cd 32

  parent reply	other threads:[~2020-07-17 19:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-09 20:10 [PR PATCH] " abenson
2020-07-09 20:19 ` [NOMERGE] " abenson
2020-07-09 20:40 ` abenson
2020-07-09 22:33 ` abenson
2020-07-10  5:08 ` ericonr
2020-07-10  5:42 ` [PR REVIEW] " ericonr
2020-07-10 12:35 ` abenson
2020-07-10 13:42 ` ericonr
2020-07-11  4:07 ` [PR PATCH] [Updated] " abenson
2020-07-11  4:33 ` abenson
2020-07-11  4:39 ` abenson
2020-07-11 21:25 ` toluschr
2020-07-11 21:28 ` ericonr
2020-07-11 21:32 ` toluschr
2020-07-11 21:34 ` toluschr
2020-07-11 21:35 ` toluschr
2020-07-11 21:38 ` toluschr
2020-07-11 21:38 ` ericonr
2020-07-12 16:57 ` Hyper-KVM
2020-07-17 19:12 ` abenson
2020-07-17 19:29 ` abenson [this message]
2020-07-17 21:58 ` [PR PATCH] [Merged]: " abenson

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=20200717192935.fXNQMngSIfahMXucTEEuymVkP5JNJBMoIEL6yaIPO6o@z \
    --to=abenson@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).