Skip to content

[DOC] Clarify PREFIX usage in environment variables#5065

Merged
kenodegard merged 4 commits intoconda:mainfrom
jakirkham:clarify_win_lib_vars
Nov 20, 2023
Merged

[DOC] Clarify PREFIX usage in environment variables#5065
kenodegard merged 4 commits intoconda:mainfrom
jakirkham:clarify_win_lib_vars

Conversation

@jakirkham
Copy link
Copy Markdown
Member

@jakirkham jakirkham commented Nov 10, 2023

Saying <build prefix> now implies BUILD_PREFIX, which isn't the case. AFAIK these have always been constructed based on PREFIX, which is the host environment. Guessing this is just leftover verbiage that needs a refresh.

Also make the same change for LD_RUN_PATH, which has the same issue.

Plus some other lines describing behavior in the prose.


Description

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

Saying `<build prefix>` now implies `BUILD_PREFIX`, which isn't the
case. AFAIK these have always been constructed based on `PREFIX`, which
is the host environment. Guessing this is just leftover verbiage that
needs a refresh.
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Nov 10, 2023
This also uses `$PREFIX`. So correct it too.
@jakirkham jakirkham changed the title [DOC] Clarify LIBRARY_* & SCRIPT use PREFIX [DOC] Clarify PREFIX usage in environment variables Nov 10, 2023
@leofang
Copy link
Copy Markdown

leofang commented Nov 10, 2023

Thanks, John! Line 135 should be changed to refer to "host" prefix.

FWIW we found the discrepancy between the docs and the code: conda-forge/cupy-feedstock#228 (comment).

@kenodegard kenodegard merged commit 67cc72e into conda:main Nov 20, 2023
@jakirkham jakirkham deleted the clarify_win_lib_vars branch November 20, 2023 20:05
@jakirkham
Copy link
Copy Markdown
Member Author

Thanks Ken! 🙏

@jakirkham
Copy link
Copy Markdown
Member Author

These changes are in the latest docs

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Nov 20, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed [bot] added once the contributor has signed the CLA locked [bot] locked due to inactivity

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants