[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Friday, March 6, 2020 @ 01:10:47 Author: heftig Revision: 376813 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 376810, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 376811, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 376810, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-03-06 01:10:47 UTC (rev 376813) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=26 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Saturday, February 29, 2020 @ 20:13:32 Author: heftig Revision: 376413 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 376412, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 376412, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 376412, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-02-29 20:13:32 UTC (rev 376413) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=25 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Monday, February 24, 2020 @ 13:18:21 Author: heftig Revision: 376136 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 376132, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 376133, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 376132, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-02-24 13:18:21 UTC (rev 376136) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=24 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Thursday, February 20, 2020 @ 19:49:33 Author: heftig Revision: 375943 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 375941, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 375941, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 375941, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-02-20 19:49:33 UTC (rev 375943) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=23 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Saturday, February 15, 2020 @ 01:43:02 Author: heftig Revision: 375629 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 375626, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 375627, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 375626, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-02-15 01:43:02 UTC (rev 375629) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=22 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Tuesday, February 11, 2020 @ 17:27:41 Author: heftig Revision: 375398 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 375396, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 375396, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 375396, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-02-11 17:27:41 UTC (rev 375398) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=21 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Wednesday, February 5, 2020 @ 20:18:43 Author: andyrtr Revision: 374694 archrelease: copy trunk to staging-x86_64 Added: nvidia-390xx-lts/repos/staging-x86_64/ nvidia-390xx-lts/repos/staging-x86_64/PKGBUILD (from rev 374693, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/staging-x86_64/kernel-4.16.patch (from rev 374693, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/staging-x86_64/PKGBUILD (from rev 374693, nvidia-390xx-lts/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-02-05 20:18:43 UTC (rev 374694) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=19 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Wednesday, February 5, 2020 @ 09:58:32 Author: heftig Revision: 374644 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 374643, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 374643, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 374643, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-02-05 09:58:32 UTC (rev 374644) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=18 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Saturday, February 1, 2020 @ 17:52:28 Author: heftig Revision: 374453 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 374451, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 374451, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 374451, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-02-01 17:52:28 UTC (rev 374453) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=17 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Monday, January 27, 2020 @ 22:44:02 Author: heftig Revision: 374121 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 374118, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 374118, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 374118, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-27 22:44:02 UTC (rev 374121) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=16 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Thursday, January 23, 2020 @ 11:25:29 Author: heftig Revision: 373837 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 373834, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 373834, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 373834, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-23 11:25:29 UTC (rev 373837) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=15 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Friday, January 17, 2020 @ 23:51:47 Author: heftig Revision: 373658 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 373656, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 373657, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 373656, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-17 23:51:47 UTC (rev 373658) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=14 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Wednesday, January 15, 2020 @ 06:59:06 Author: heftig Revision: 373482 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 373480, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 373480, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 373480, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-15 06:59:06 UTC (rev 373482) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=13 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Sunday, January 12, 2020 @ 13:13:22 Author: heftig Revision: 373301 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 373300, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 373300, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 373300, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-12 13:13:22 UTC (rev 373301) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=12 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Thursday, January 9, 2020 @ 15:25:28 Author: heftig Revision: 373080 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 373078, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 373078, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 373078, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-09 15:25:28 UTC (rev 373080) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=11 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Sunday, January 5, 2020 @ 00:30:40 Author: heftig Revision: 372589 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 372588, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 372588, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 372588, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-01-05 00:30:40 UTC (rev 372589) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=10 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Tuesday, December 31, 2019 @ 18:07:10 Author: heftig Revision: 372409 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 372408, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 372408, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 372408, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-12-31 18:07:10 UTC (rev 372409) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=9 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Saturday, December 21, 2019 @ 17:27:56 Author: heftig Revision: 372035 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 372034, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 372034, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 372034, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-12-21 17:27:56 UTC (rev 372035) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=8 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Wednesday, December 18, 2019 @ 00:20:06 Author: heftig Revision: 371622 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 371621, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 371621, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 371621, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-12-18 00:20:06 UTC (rev 371622) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=7 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Friday, December 13, 2019 @ 13:31:20 Author: heftig Revision: 371357 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 371356, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 371356, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 371356, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-12-13 13:31:20 UTC (rev 371357) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=6 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Thursday, December 5, 2019 @ 15:08:01 Author: heftig Revision: 370428 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 370427, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 370427, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 370427, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-12-05 15:08:01 UTC (rev 370428) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=5 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Sunday, December 1, 2019 @ 18:24:21 Author: heftig Revision: 370195 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 370193, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 370193, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 370193, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-12-01 18:24:21 UTC (rev 370195) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=4 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Sunday, November 24, 2019 @ 11:30:20 Author: heftig Revision: 369712 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 369710, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 369711, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 369710, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-11-24 11:30:20 UTC (rev 369712) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=3 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Wednesday, November 20, 2019 @ 20:49:34 Author: heftig Revision: 369513 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 369512, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 369512, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 369512, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-11-20 20:49:34 UTC (rev 369513) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.132 +pkgrel=2 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Tuesday, November 12, 2019 @ 23:42:31 Author: heftig Revision: 368022 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 368019, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 368020, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 368019, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-11-12 23:42:31 UTC (rev 368022) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.129 +pkgrel=10 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('a7925a327cab828d1eb9e74f8943623c5dbc9a5e376a4c0184065d4a319696c1' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Wednesday, November 6, 2019 @ 14:46:35 Author: heftig Revision: 366863 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 366862, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 366862, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 366862, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-11-06 14:46:35 UTC (rev 366863) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.129 +pkgrel=8 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('a7925a327cab828d1eb9e74f8943623c5dbc9a5e376a4c0184065d4a319696c1' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Tuesday, October 29, 2019 @ 15:51:59 Author: heftig Revision: 366006 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 366005, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 366005, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 366005, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-10-29 15:51:59 UTC (rev 366006) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.129 +pkgrel=7 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('a7925a327cab828d1eb9e74f8943623c5dbc9a5e376a4c0184065d4a319696c1' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Friday, October 25, 2019 @ 15:58:09 Author: heftig Revision: 365650 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 365648, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 365648, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 48 kernel-4.16.patch | 33 + 2 files changed, 81 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 365648, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-10-25 15:58:09 UTC (rev 365650) @@ -0,0 +1,48 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.129 +pkgrel=6 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts-headers') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('a7925a327cab828d1eb9e74f8943623c5dbc9a5e376a4c0184065d4a319696c1' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +depends=('linux-lts' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Friday, October 18, 2019 @ 09:52:16 Author: andyrtr Revision: 365135 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 365134, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 365134, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 365134, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-10-18 09:52:16 UTC (rev 365135) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.129 +pkgrel=5 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts' 'linux-lts-headers>=4.19.80') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('a7925a327cab828d1eb9e74f8943623c5dbc9a5e376a4c0184065d4a319696c1' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.80' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Friday, October 11, 2019 @ 20:35:24 Author: heftig Revision: 364659 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 364658, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 364658, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 364658, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-10-11 20:35:24 UTC (rev 364659) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.129 +pkgrel=4 +epoch=1 +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +arch=('x86_64') +url="https://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'libglvnd' 'linux-lts' 'linux-lts-headers>=4.19.79') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_pkg}.run; +'kernel-4.16.patch') +sha256sums=('a7925a327cab828d1eb9e74f8943623c5dbc9a5e376a4c0184065d4a319696c1' +'622ac792ec200b2239cb663c0010392118b78c9904973d82cd261165c16d6385') + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" + +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +cd "${_pkg}"/kernel +make SYSSRC=/usr/src/linux-lts module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.79' "nvidia-390xx-utils=${pkgver}" 'libglvnd') + +_extradir="/usr/lib/modules/$( ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Wednesday, October 9, 2019 @ 15:28:47 Author: andyrtr Revision: 364265 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 364264, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 364264, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 364264, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-10-09 15:28:47 UTC (rev 364265) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.129 +_extramodules=extramodules-lts +pkgrel=3 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.78') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('b6a0ecf48077dd7149b464117db4a9cd2b8ae2c0828a206f8e661fda8d42d0cce02bd132e0754e055bfeb41cbf2d047f8ffab57351d9102f161ef62adaffd6eb' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.78' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 364264, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- testing-x86_64/kernel-4.16.patch(rev 0) +++ testing-x86_64/kernel-4.16.patch2019-10-09 15:28:47 UTC (rev 364265) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Tuesday, October 1, 2019 @ 19:52:07 Author: andyrtr Revision: 363632 archrelease: copy trunk to staging-x86_64 Added: nvidia-390xx-lts/repos/staging-x86_64/ nvidia-390xx-lts/repos/staging-x86_64/PKGBUILD (from rev 363631, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/staging-x86_64/kernel-4.16.patch (from rev 363631, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/staging-x86_64/PKGBUILD (from rev 363631, nvidia-390xx-lts/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-10-01 19:52:07 UTC (rev 363632) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.129 +_extramodules=extramodules-4.19-lts +pkgrel=2 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.66') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('b6a0ecf48077dd7149b464117db4a9cd2b8ae2c0828a206f8e661fda8d42d0cce02bd132e0754e055bfeb41cbf2d047f8ffab57351d9102f161ef62adaffd6eb' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.66' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/staging-x86_64/kernel-4.16.patch (from rev 363631, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- staging-x86_64/kernel-4.16.patch(rev 0) +++ staging-x86_64/kernel-4.16.patch2019-10-01 19:52:07 UTC (rev 363632) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Saturday, August 10, 2019 @ 18:23:42 Author: andyrtr Revision: 359429 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 359428, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 359428, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 359428, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-08-10 18:23:42 UTC (rev 359429) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.116 +_extramodules=extramodules-4.19-lts +pkgrel=14 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.66') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('842e57b479d833a40fe1e8ecf72217c43d71a07e91cb4b6d14bd3b6326a0ef035e6423c15849ccc23ff82d2740ae8c21a9742502b958bd748736abac5e7d9f1e' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.66' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 359428, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- testing-x86_64/kernel-4.16.patch(rev 0) +++ testing-x86_64/kernel-4.16.patch2019-08-10 18:23:42 UTC (rev 359429) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Wednesday, August 7, 2019 @ 22:05:01 Author: eworm Revision: 359307 archrelease: copy trunk to staging-x86_64 Added: nvidia-390xx-lts/repos/staging-x86_64/ nvidia-390xx-lts/repos/staging-x86_64/PKGBUILD (from rev 359306, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/staging-x86_64/kernel-4.16.patch (from rev 359306, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/staging-x86_64/PKGBUILD (from rev 359306, nvidia-390xx-lts/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-08-07 22:05:01 UTC (rev 359307) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.116 +_extramodules=extramodules-4.19-lts +pkgrel=13 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.57') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('842e57b479d833a40fe1e8ecf72217c43d71a07e91cb4b6d14bd3b6326a0ef035e6423c15849ccc23ff82d2740ae8c21a9742502b958bd748736abac5e7d9f1e' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.57' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/staging-x86_64/kernel-4.16.patch (from rev 359306, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- staging-x86_64/kernel-4.16.patch(rev 0) +++ staging-x86_64/kernel-4.16.patch2019-08-07 22:05:01 UTC (rev 359307) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Wednesday, July 3, 2019 @ 15:11:41 Author: andyrtr Revision: 357268 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 357267, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 357267, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 357267, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-07-03 15:11:41 UTC (rev 357268) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.116 +_extramodules=extramodules-4.19-lts +pkgrel=12 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.57') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('842e57b479d833a40fe1e8ecf72217c43d71a07e91cb4b6d14bd3b6326a0ef035e6423c15849ccc23ff82d2740ae8c21a9742502b958bd748736abac5e7d9f1e' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.57' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 357267, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- testing-x86_64/kernel-4.16.patch(rev 0) +++ testing-x86_64/kernel-4.16.patch2019-07-03 15:11:41 UTC (rev 357268) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Wednesday, June 19, 2019 @ 15:21:26 Author: andyrtr Revision: 356566 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 356565, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 356565, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 356565, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-06-19 15:21:26 UTC (rev 356566) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.116 +_extramodules=extramodules-4.19-lts +pkgrel=11 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.53') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('842e57b479d833a40fe1e8ecf72217c43d71a07e91cb4b6d14bd3b6326a0ef035e6423c15849ccc23ff82d2740ae8c21a9742502b958bd748736abac5e7d9f1e' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.53' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 356565, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- testing-x86_64/kernel-4.16.patch(rev 0) +++ testing-x86_64/kernel-4.16.patch2019-06-19 15:21:26 UTC (rev 356566) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Sunday, June 16, 2019 @ 00:42:13 Author: heftig Revision: 356180 archrelease: copy trunk to staging-x86_64 Added: nvidia-390xx-lts/repos/staging-x86_64/ nvidia-390xx-lts/repos/staging-x86_64/PKGBUILD (from rev 356178, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/staging-x86_64/kernel-4.16.patch (from rev 356178, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/staging-x86_64/PKGBUILD (from rev 356178, nvidia-390xx-lts/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-06-16 00:42:13 UTC (rev 356180) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.116 +_extramodules=extramodules-4.19-lts +pkgrel=10 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.49') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('842e57b479d833a40fe1e8ecf72217c43d71a07e91cb4b6d14bd3b6326a0ef035e6423c15849ccc23ff82d2740ae8c21a9742502b958bd748736abac5e7d9f1e' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.49' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/staging-x86_64/kernel-4.16.patch (from rev 356178, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- staging-x86_64/kernel-4.16.patch(rev 0) +++ staging-x86_64/kernel-4.16.patch2019-06-16 00:42:13 UTC (rev 356180) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Sunday, June 9, 2019 @ 20:02:16 Author: andyrtr Revision: 355512 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 355511, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 355511, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 355511, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-06-09 20:02:16 UTC (rev 355512) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.116 +_extramodules=extramodules-4.19-lts +pkgrel=9 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.49') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('842e57b479d833a40fe1e8ecf72217c43d71a07e91cb4b6d14bd3b6326a0ef035e6423c15849ccc23ff82d2740ae8c21a9742502b958bd748736abac5e7d9f1e' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.49' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 355511, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- testing-x86_64/kernel-4.16.patch(rev 0) +++ testing-x86_64/kernel-4.16.patch2019-06-09 20:02:16 UTC (rev 355512) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Sunday, May 12, 2019 @ 06:45:22 Author: andyrtr Revision: 352904 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 352903, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 352903, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 352903, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-05-12 06:45:22 UTC (rev 352904) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.116 +_extramodules=extramodules-4.19-lts +pkgrel=6 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.42') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('842e57b479d833a40fe1e8ecf72217c43d71a07e91cb4b6d14bd3b6326a0ef035e6423c15849ccc23ff82d2740ae8c21a9742502b958bd748736abac5e7d9f1e' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.42' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 352903, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- testing-x86_64/kernel-4.16.patch(rev 0) +++ testing-x86_64/kernel-4.16.patch2019-05-12 06:45:22 UTC (rev 352904) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Saturday, April 6, 2019 @ 18:37:42 Author: andyrtr Revision: 350248 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 350247, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 350247, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 350247, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-04-06 18:37:42 UTC (rev 350248) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.116 +_extramodules=extramodules-4.19-lts +pkgrel=4 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.34') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('842e57b479d833a40fe1e8ecf72217c43d71a07e91cb4b6d14bd3b6326a0ef035e6423c15849ccc23ff82d2740ae8c21a9742502b958bd748736abac5e7d9f1e' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.34' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 350247, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- testing-x86_64/kernel-4.16.patch(rev 0) +++ testing-x86_64/kernel-4.16.patch2019-04-06 18:37:42 UTC (rev 350248) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Thursday, March 14, 2019 @ 18:31:21 Author: andyrtr Revision: 348055 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 348054, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 348054, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 348054, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-03-14 18:31:21 UTC (rev 348055) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.116 +_extramodules=extramodules-4.19-lts +pkgrel=3 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.29') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('842e57b479d833a40fe1e8ecf72217c43d71a07e91cb4b6d14bd3b6326a0ef035e6423c15849ccc23ff82d2740ae8c21a9742502b958bd748736abac5e7d9f1e' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.29' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 348054, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- testing-x86_64/kernel-4.16.patch(rev 0) +++ testing-x86_64/kernel-4.16.patch2019-03-14 18:31:21 UTC (rev 348055) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"
[arch-commits] Commit in nvidia-390xx-lts/repos (3 files)
Date: Tuesday, March 5, 2019 @ 22:20:14 Author: andyrtr Revision: 347127 archrelease: copy trunk to testing-x86_64 Added: nvidia-390xx-lts/repos/testing-x86_64/ nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 347126, nvidia-390xx-lts/trunk/PKGBUILD) nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 347126, nvidia-390xx-lts/trunk/kernel-4.16.patch) ---+ PKGBUILD | 49 + kernel-4.16.patch | 33 + 2 files changed, 82 insertions(+) Copied: nvidia-390xx-lts/repos/testing-x86_64/PKGBUILD (from rev 347126, nvidia-390xx-lts/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-03-05 22:20:14 UTC (rev 347127) @@ -0,0 +1,49 @@ +# Maintainer: Eric Bélanger + +pkgname=nvidia-390xx-lts +pkgver=390.116 +_extramodules=extramodules-4.19-lts +pkgrel=2 +epoch=1 +arch=('x86_64') +url="http://www.nvidia.com/; +makedepends=("nvidia-390xx-utils=${pkgver}" 'linux-lts' 'linux-lts-headers>=4.19.27') +provides=('nvidia-390xx') +conflicts=('nvidia-lts') +license=('custom') +options=('!strip') +source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run; +kernel-4.16.patch) +sha512sums=('842e57b479d833a40fe1e8ecf72217c43d71a07e91cb4b6d14bd3b6326a0ef035e6423c15849ccc23ff82d2740ae8c21a9742502b958bd748736abac5e7d9f1e' + 'ad1185d998adbf89abf7aea300e5b3bbabe2296016f42592fbc232a6c3983f233df1103d37f35a041f12cc1c722d3edce813a4a1b215784a49c7f0e3e652b5af') + +_pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" + +prepare() { +sh "${_pkg}.run" --extract-only +cd "${_pkg}" +# Restore phys_to_dma support (still needed for 396.18) +# https://bugs.archlinux.org/task/58074 +patch -Np1 -i ../kernel-4.16.patch +} + +build() { +_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" +cd "${_pkg}"/kernel +make SYSSRC=/usr/lib/modules/"${_kernver}/build" module +} + +package() { +pkgdesc="NVIDIA drivers for linux-lts, 390xx legacy branch" +depends=('linux-lts>=4.19.27' "nvidia-390xx-utils=${pkgver}" 'libgl') + +install -Dt "${pkgdir}/usr/lib/modules/${_extramodules}" -m644 \ + "${srcdir}/${_pkg}/kernel"/nvidia{,-modeset,-drm,-uvm}.ko + +find "${pkgdir}" -name '*.ko' -exec gzip -n {} + + +echo "blacklist nouveau" | + install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modprobe.d/${pkgname}.conf" + +install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" -m644 "${srcdir}/${_pkg}/LICENSE" +} Copied: nvidia-390xx-lts/repos/testing-x86_64/kernel-4.16.patch (from rev 347126, nvidia-390xx-lts/trunk/kernel-4.16.patch) === --- testing-x86_64/kernel-4.16.patch(rev 0) +++ testing-x86_64/kernel-4.16.patch2019-03-05 22:20:14 UTC (rev 347127) @@ -0,0 +1,33 @@ +diff --git a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +index 10fc418..22ef968 100644 +--- a/kernel/common/inc/nv-linux.h b/kernel/common/inc/nv-linux.h +@@ -175,7 +175,11 @@ static inline uid_t __kuid_val(kuid_t uid) + + #if defined(NV_VM_INSERT_PAGE_PRESENT) + #include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + #endif + + #if defined(CONFIG_SWIOTLB) && defined(NVCPU_AARCH64) +diff --git a/kernel/conftest.sh b/kernel/conftest.sh +index b23dbb4..42dc576 100755 +--- a/kernel/conftest.sh b/kernel/conftest.sh +@@ -1906,7 +1906,12 @@ compile_test() { + # Determine if the phys_to_dma function is present. + # + CODE=" ++#include ++#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) + #include ++#else ++#include ++#endif + void conftest_phys_to_dma(void) { + phys_to_dma(); + }"