Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

provide NVVMIR_LIBRARY_DIR environment variable to nvcc#724

Merged
brycelelbach merged 1 commit intoNVIDIA:masterfrom
schiller-manuel:scons-env-fix
May 29, 2018
Merged

provide NVVMIR_LIBRARY_DIR environment variable to nvcc#724
brycelelbach merged 1 commit intoNVIDIA:masterfrom
schiller-manuel:scons-env-fix

Conversation

@schiller-manuel
Copy link
Copy Markdown

If a system does not use a nvcc.profile file but sets NVVMIR_LIBRARY_DIR as an environment variable instead, building thrust tests fails with:

 nvcc fatal : Path to libdevice library not specified

This patch provides NVVMIR_LIBRARY_DIR to nvcc if this environment variable is set.

@brycelelbach
Copy link
Copy Markdown
Collaborator

Sure, sounds good. We are moving to CMake eventually.

@brycelelbach brycelelbach added nvbug Has an associated internal NVIDIA NVBug. to close: integrate Needs integration, then can be closed. labels May 29, 2018
@brycelelbach brycelelbach merged commit c81601f into NVIDIA:master May 29, 2018
brycelelbach added a commit that referenced this pull request Feb 28, 2019
…f variable is set

GitHub #724
Bug 2157885
git-commit 6c2b8c21b7324c8459f6d1d13125120e2f95912b
git-author Manuel Schiller <manuel.schiller@caligano.de>

[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24246898]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

nvbug Has an associated internal NVIDIA NVBug. to close: integrate Needs integration, then can be closed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants