Package Details: cuda-11.7 11.7.1-3

Git Clone URL: https://aur.archlinux.org/cuda-11.7.git (read-only, click to copy)
Package Base: cuda-11.7
Description: NVIDIA's GPU programming toolkit
Upstream URL: https://developer.nvidia.com/cuda-zone
Licenses: custom:NVIDIA
Provides: cuda-sdk, cuda-toolkit
Replaces: cuda-sdk, cuda-toolkit
Submitter: yodaembedding
Maintainer: yodaembedding
Last Packager: yodaembedding
Votes: 2
Popularity: 0.23
First Submitted: 2023-06-19 00:50 (UTC)
Last Updated: 2023-11-16 12:39 (UTC)

Dependencies (6)

Required by (1)

Sources (29)

Latest Comments

zyk commented on 2024-02-12 03:44 (UTC)

prepare() { sh cuda_${pkgver}_${_driverver}_linux.run --target "${srcdir}" --noexec

# Fix up samples tht use findgllib_mk # for f in builds/cuda_samples///findgllib.mk; do # patch $f cuda-findgllib_mk.diff # done } cuda_11.7.1_515.65.01_linux.run has no option --target

Alad commented on 2024-01-15 15:53 (UTC) (edited on 2024-01-15 15:54 (UTC) by Alad)

I would also suggest to add the following to provides:

provides=('cuda-toolkit' 'cuda-sdk' 'libcudart.so' 'libcublas.so' 'libcusolver.so' 'libcusparse.so')

The repo package does the same and then namcap will correctly verify dependencies for dependent packages.

In addition to the repo packages, you could also include a versioned provides cuda-toolkit=$pkgver and cuda-sdk=$pkgver (or alternatively cuda=$pkgver).

This would allow AUR packages to directly depend on say, cuda-toolkit<12 without hardcoding a specific older version.

ys-clarry commented on 2023-11-19 10:46 (UTC)

With new package, all the hash validations were passed in my environment. thanks!

yodaembedding commented on 2023-11-16 12:26 (UTC)

Ah, so what must be happening is that *.pc is expanded as:

  nppc.pc
  nppi.pc
  nppial.pc
  ...
  nppist.pc

rather than bash/zsh's behavior:

  nppc.pc
  nppial.pc
  ...
  nppi.pc
  nppist.pc

I have written them all out explicitly to work around this incompatibility.

ys-clarry commented on 2023-11-16 12:05 (UTC)

Hello, I've also run into the hash-mismatch problem and figured out that the .pc file order in the PKGCONFIG file was not good. I've sorted all sha512sums in the PKGCONFIG by .pc names and the hash test were passed.

Alad commented on 2023-10-10 02:13 (UTC)

By the way, it seems that with gcc 13.1, not even basic CUDA programs can be compiled:

https://forums.developer.nvidia.com/t/strange-errors-after-system-gcc-upgraded-to-13-1-1/252441

My suggestion is to use gcc-11 instead in the PKGBUILD

yodaembedding commented on 2023-10-04 01:02 (UTC) (edited on 2023-10-04 01:02 (UTC) by yodaembedding)

Those files are all provided inside the PKGBUILD git repo.

You can confirm the hashes yourself via:

git clone ssh://aur@aur.archlinux.org/cuda-11.7.git
cat PKGBUILD | sed -n -e '/accinj64/, /nvToolsExt/ p' > expected.txt
sha512sum *.pc | sed -e 's:^\([0-9a-f]\+\)\s\+\(.*\):  "\1"  # \2:' > actual.txt
diff expected.txt actual.txt

...So I'm not sure what could be causing the issue.

Alad commented on 2023-10-03 12:44 (UTC)

I have the same issue

yodaembedding commented on 2023-08-20 03:14 (UTC) (edited on 2023-08-20 03:14 (UTC) by yodaembedding)

@laudney The hashes seem fine to me.

λ git clone ssh://aur@aur.archlinux.org/cuda-11.7.git

λ sha512sum *.pc | sed -e 's:^\([0-9a-f]\+\)\s\+\(.*\):"\1"  # \2:'
"292e9eb7ca4ba7b76293ab38aeba74fbe4803af3bbb652cc1975fbae1150ecf018b92b16e4efa672d2a16a963e2eff7f06b809cf6541cba94a0ae1a57ff96e03"  # accinj64.pc
"a360560f0eac3cf5075f760f251c933844c7d5652d759d7fb1b8de2bf240a2b15cdfea2acc4dc08d045ee2b512aa650468a480cdb2fd35a770ee2089d1587bc1"  # cublas.pc
"143ea30f1aecea61c26b32b10ab82b7c39039ccca5b5fa9bc4dab0724fc0d7ce9080a8cd392a65b5d08c9717bb9be2dd662e8d94483c43414fa45b377586b64f"  # cuda.pc
"9e1611cf4a4ed9daf023babbc7b9c162f247ac46a7df7420ffdabba7d46ccbf1736756325fd5fdef93be4ae23743da0292eef52dc1e6ed0237ab1e406d3ab4bc"  # cudart.pc
"ef34326d87d810f3e2189095a36284477c6dd10eea7bd4e1f2ffdd7ca8a645cd6003001932db4b2b32f14751d9e14382bdb140b6095f2b9839eae1ef57dfe571"  # cufft.pc
"7b81f145388fc3c3338ddae004edfbeaa2c7caf1b352deed346e4a56bb17f75762f22c9408f89c098f1ed3259d82afc52d0b6e3ce0b6facd376177b478ab2808"  # cufftw.pc
"3f70a0cd0981f4139f636ba22a2b5001d8f6875ece4347d3011b2ee71df1ca003cd22f872dd06cccb71a3247fa13c6782e1d591dbfdd7c778f33c1e4a2225cfc"  # cuinj64.pc
"47f7bfc836ac1a700e1f5b884715cdd3e55b16a881f7547942dd3b9579979ec891cd97ae1927aa60a6e5e01c337b74689aa70f1161a9b59fa3085817cea8826f"  # curand.pc
"ee23346e4ec942f5da63a29e50beeb5ec16dea388e3f9e6b0ce356c397a386ad713374dbf44fa4b8e26ae6e9c21c64b576e349ac4735dbb2626e86dd26e06107"  # cusolver.pc
"849c4951f21b2f77f32f8fd0b4850a2cc911d88359a5ee662a8155292e609660f596ae1b420282d7f0a7d847ea0602b9b5f501bafcb5784f495e5726c3a2c5f4"  # cusparse.pc
"9ab313597aa8a28cd7d9a6405b7291f795c31aa44d24dad3018e23ab749e462cb5c4ae94dc6f8c9511e7041461687103a5673fb3cca8088504f20c30186cd032"  # nppc.pc
"3ce95f181da8bcd6967f45963002aad1cdf4456079991d0f7dba922557ca732c9a7320a3059b7beb479be7c053e87edcad6676aa837d1ae372129afec769231c"  # nppial.pc
"0f88e1012d5a01314c5f924dc07af3e4ddd7e5dc535a52f03706cfc124ead61068ed0d227f3aa946bba009fe89ec2897c19f46fb200ae903e6de49039a4053dd"  # nppicc.pc
"c9a1c8ce42d6541f700f13aaa3271e6c7efa59e98607f06b9a653c2acb4b29532f83b0fdefcfb18d9bf53aba0fb853165534318f6c7962f7aa9f30c0524ec82b"  # nppicom.pc
"c1ef9a2c1ad2d44bb982abc3b3eec606137a3da04ba892a0ba692d31df74a77956d9e8e29cafe16edcc95921c91bf632d205efd0a7a07f1c4667ee69134d7dca"  # nppidei.pc
"017755ccdce093d1b9e75a54210ea7bffb69a3bde6314be8d679b24e6fe91500426f0780776ced57106fba12ad1a9794c655b886ed8956349b5936d56b1baf64"  # nppif.pc
"1c69716c7396b1b15fe483089a927837d25c8a45c2a9fb6c50d4f5886c10fefae7232fa8a572636e04366d82ac1fb075b11c415ba6af35eb7f72e20a53aa16c3"  # nppig.pc
"0bcad574ac149141fcd8fe69a53dfd734ed4f6f5720d15d5da76011e21c3c7e81ab1170dfcb55ad9164a23b4fa9d657ff4e82bc06787ba6afe01df746f309c11"  # nppim.pc
"a88c1091c3243d055d2f7512ee4ac95a029e77f603cc854e125141403283597d8eee3de4b93f949f887ff5c6b4f6a5534c24279387d3602296f52c168dcbc240"  # nppi.pc
"aeda4ae441520e9613f7653e7155112a8fe741b7db9ecfcdf35ea6cfea34167ea1de2a57d4552b0180c29d91b839831e3838632496a85555322abe07cd583551"  # nppist.pc
"74396378d48203cebd3959bc5368db541098bd04fa3ffcf5fbd189f8086e2019da9eeeeb8c6e135d2e21806a33172d1236d95a3c72943b22576118d4b6ee0cf0"  # nppisu.pc
"2dd99eeed24411f4fcb692198433e7c7c5e88ef732d3e4220ec27af9ee614ef11e0a8f7689542bf9729251ddce46c99eea6de2d3029ec9bf14779b492bfa4760"  # nppitc.pc
"7d1174d6dfbad94bf50f5772e27312526540b5ee9d78c9fe6140743706e1920b590be63951ea416de31805f8ce06b41d75118bd5e3dd7f768cc2ef7a2471c935"  # npps.pc
"0cd7a0fef0081af358de23a770beb973f9a10ecf1b8eca20c6be103178e978880923b65aa362dd604216797f302f45870fa383ecda2e562e9e10727be7b98bd2"  # nvgraph.pc
"8fe36efd48dbfc4d12760d781f581b4dd6ef8737c4f95199f3a170133a7057f0d0b019bea9f2a1d4e927c1cedce31590fef0cf2d5c7441b51d49b755b42321d9"  # nvidia-ml.pc
"4a509b6d39e8cd74b750fbf3a974b06b8e689a2422ea70e98233a6a4ad534a407401abf400b1fed71e8f91c2537ad84e46e712c5baefbde66eb95781fc19fbec"  # nvjpeg.pc
"75b217236ac035e55340a2bad020cc8ee25dd976ae956ecfbd2ec7d373e427af8d025c0521d830cc830f6e958acdab7101d674eb35de559d716aa2194e831eef"  # nvrtc.pc
"fd3412aa148f234d8e4704cd13698343da435b8b11c98cc46e43e67de6bcff036e2ca1eedd5d05cd7411b93d0fc594e4bacc55065f7f13dbe1f6e8274812d4de"  # nvToolsExt.pc

laudney commented on 2023-08-15 14:23 (UTC) (edited on 2023-08-15 14:24 (UTC) by laudney)

==> Validating source files with sha512sums...
    cuda_11.7.1_515.65.01_linux.run ... Passed
    accinj64.pc ... Passed
    cublas.pc ... Passed
    cuda.pc ... Passed
    cudart.pc ... Passed
    cufft.pc ... Passed
    cufftw.pc ... Passed
    cuinj64.pc ... Passed
    curand.pc ... Passed
    cusolver.pc ... Passed
    cusparse.pc ... Passed
    nppc.pc ... Passed
    nppi.pc ... FAILED
    nppial.pc ... FAILED
    nppicc.pc ... FAILED
    nppicom.pc ... FAILED
    nppidei.pc ... FAILED
    nppif.pc ... FAILED
    nppig.pc ... FAILED
    nppim.pc ... FAILED
    nppist.pc ... Passed
    nppisu.pc ... Passed
    nppitc.pc ... Passed
    npps.pc ... Passed
    nvToolsExt.pc ... FAILED
    nvgraph.pc ... FAILED
    nvidia-ml.pc ... FAILED
    nvjpeg.pc ... FAILED
    nvrtc.pc ... FAILED
==> ERROR: One or more files did not pass the validity check!