Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a libcuda-stub library #12

Open
isuruf opened this issue Oct 3, 2019 · 3 comments
Open

Create a libcuda-stub library #12

isuruf opened this issue Oct 3, 2019 · 3 comments

Comments

@isuruf
Copy link
Member

isuruf commented Oct 3, 2019

Because we've enabled error_overlinking on staged-recipes and since /usr/local/lib/libcuda.so is outside of prefix, conda-build errors. Correct way to fix this would be to generate the stub library libcuda.so ourselves and make that a CDT.

@kkraus14
Copy link
Contributor

kkraus14 commented Oct 3, 2019

Note there's licensing terms about distribution driver libraries: https://docs.nvidia.com/cuda/eula/#attachment-a

The NVIDIA CUDA Driver Libraries are only distributable in applications that meet this criteria:

  1. The application was developed starting from a NVIDIA CUDA container obtained from Docker Hub or the NVIDIA GPU Cloud, and
  2. The resulting application is packaged as a Docker container and distributed to users on Docker Hub or the NVIDIA GPU Cloud only.

In addition to the rights above, for parties that are developing software intended solely for use on Jetson development kits or Jetson modules, and running Linux for Tegra software, the following shall apply:

  • The SDK may be distributed in its entirety, as provided by NVIDIA, and without separation of its components, for you and/or your licensees to create software development kits for use only on the Jetson platform and running Linux for Tegra software.

@isuruf
Copy link
Member Author

isuruf commented Oct 3, 2019

I was suggesting creating the stub library ourselves so that we don't have to use NVIDIA's. It's just a stub library, so it just needs the symbols, not the implementations.

@kkraus14
Copy link
Contributor

@jakirkham would it be possible for you to poke the nvbug or someone internally to see if conda-forge could be granted permission to ship the libcuda.so stub library? The stub libraries in general seem like a gap in the EULA and the hoops we're jumping through as far as symlinking to avoid shipping it are getting a bit ridiculous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants