Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] nvidia: fix linking libnvoptix.so and libnvoptix.so.1
@ 2022-01-03 20:15 classabbyamp
  2022-01-03 22:08 ` [PR PATCH] [Merged]: " abenson
  0 siblings, 1 reply; 2+ messages in thread
From: classabbyamp @ 2022-01-03 20:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages nvidia-fix
https://github.com/void-linux/void-packages/pull/34836

nvidia: fix linking libnvoptix.so and libnvoptix.so.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

now properly linked:

```
masterdir/destdir/nvidia-libs-470.94
└── usr
    └── lib
        ...
        ├── libnvoptix.so -> libnvoptix.so.470.94
        ├── libnvoptix.so.1 -> libnvoptix.so.470.94
        ├── libnvoptix.so.470.94
        ...
```

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

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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/34836.patch is attached

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

From b11bd8a3f230c5427645750da32da69101303eef Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@kb6.ee>
Date: Mon, 3 Jan 2022 15:11:49 -0500
Subject: [PATCH] nvidia: fix linking libnvoptix.so and libnvoptix.so.1

---
 srcpkgs/nvidia/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template
index d64cc8019c86..9d3c7e5aa54f 100644
--- a/srcpkgs/nvidia/template
+++ b/srcpkgs/nvidia/template
@@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux"
 
 pkgname=nvidia
 version=470.94
-revision=1
+revision=2
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="custom:NVIDIA Proprietary"
 homepage="https://www.nvidia.com"
@@ -219,8 +219,8 @@ do_install() {
 
 	# optix ray racing engine
 	vinstall libnvoptix.so.${version} 755 usr/lib
-	ln -sf libnvoptix.so.${version} /usr/lib/libnvoptix.so
-	ln -sf libnvoptix.so.${version} /usr/lib/libnvoptix.so.1
+	ln -sf libnvoptix.so.${version} ${DESTDIR}/usr/lib/libnvoptix.so
+	ln -sf libnvoptix.so.${version} ${DESTDIR}/usr/lib/libnvoptix.so.1
 
 	# dkms pkg
 	vmkdir usr/src/nvidia-${version}

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

* Re: [PR PATCH] [Merged]: nvidia: fix linking libnvoptix.so and libnvoptix.so.1
  2022-01-03 20:15 [PR PATCH] nvidia: fix linking libnvoptix.so and libnvoptix.so.1 classabbyamp
@ 2022-01-03 22:08 ` abenson
  0 siblings, 0 replies; 2+ messages in thread
From: abenson @ 2022-01-03 22:08 UTC (permalink / raw)
  To: ml

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

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

nvidia: fix linking libnvoptix.so and libnvoptix.so.1
https://github.com/void-linux/void-packages/pull/34836

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

now properly linked:

```
masterdir/destdir/nvidia-libs-470.94
└── usr
    └── lib
        ...
        ├── libnvoptix.so -> libnvoptix.so.470.94
        ├── libnvoptix.so.1 -> libnvoptix.so.470.94
        ├── libnvoptix.so.470.94
        ...
```

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

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](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
-->


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

end of thread, other threads:[~2022-01-03 22:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03 20:15 [PR PATCH] nvidia: fix linking libnvoptix.so and libnvoptix.so.1 classabbyamp
2022-01-03 22:08 ` [PR PATCH] [Merged]: " abenson

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