Summary: |
x11-drivers/nvidia-drivers requires X use flag to install various libraries which don't depend on X |
Product: |
Gentoo Linux
|
Reporter: |
Nathan Lewis <git> |
Component: |
Current packages | Assignee: |
Jeroen Roovers (RETIRED) <jer> |
Status: |
RESOLVED
DUPLICATE
|
|
|
Severity: |
enhancement
|
CC: |
chutzpah
|
Priority: |
Normal
|
|
|
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
Linux | |
|
Whiteboard: |
|
Package list:
|
|
Runtime testing required:
|
---
|
Bug Depends on: |
|
|
|
Bug Blocks: |
663834
|
|
|
Attachments: |
patch demonstrating change
patch demonstrating change
|
Created attachment 543746 [details, diff] patch demonstrating change Hello all, I've been working on an application which uses CUDA in a headless server environment. The cuda library, along with cuvid, nvenc, opencl, and nvidia-ml are installed via x11-drivers/nvidia-drivers, but require the X use flag to be set for them to be installed. These libraries do not require X to be present on the system. I've attached a patch which moves these out of the "if use X" statement of src_install-libs(). I also removed a redundant installation of cuvid and nvenc in src_install() (they are installed by src_install-libs() later on). I also removed libnvidia-fbc from src_install() for the same reason, but also because it depends on X and was not guarded as such. - Nathan