I would need to download some include files nbefore source compilation

Asked by Thomas Schiex

I'm packaging recent versions of Blender for Ubuntu (https://launchpad.net/~thomas-schiex/+archive/ubuntu/blender/). The recent versions of Blender allow for in-GPU Image denoising using NVIDIA Optix (https://developer.nvidia.com/designworks/optix/download). Blender only requires the header for OptiX as the rest of the code is in the GPU driver.

NVIDIA licence does not allow to redistribute these include files. Other distributions (ArchLinux,...) directly download the include files from Nvidia (https://developer.download.nvidia.com/redist/optix/v7.0/OptiX-7.0.0-include.zip) which is the accepted method for NVIDIA at compilation time.

Blender users are asking me to include OptiX in the PPA build. But this licence prevents me from including the header in the .deb source package. I would like to download the header library from the source package, but the cluster of Ubuntu does not allow downloading.

Is there a way I could access this NVIDIA file during compilation without redistributing the files in the source (.deb) package?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

I'm afraid not - .deb builds on Launchpad don't permit general internet access. Any files you need have to be on Launchpad somehow, either directly in the source package or in a build-dependency.

While I haven't gone and read the licence here, from what you're saying it sounds as though OptiX-enabled builds wouldn't meet the PPA eligibility terms.

Snap builds on Launchpad have a different policy, and do permit internet access at build time, so perhaps that's an option. There does already appear to be a blender snap in the store, though I don't know whether it includes OptiX.

Can you help with this problem?

Provide an answer of your own, or ask Thomas Schiex for more information if necessary.

To post a message you must log in.