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

Remove WORKSPACE env var from cudf_test temp_directory class #14588

Merged

Conversation

davidwendt
Copy link
Contributor

Description

Removes the WORKSPACE env var check from the cudf_test temp_directory class. This env var is not being used. This is part of a larger effort to consolidate and document libcudf env vars.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@davidwendt davidwendt added 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Dec 6, 2023
@davidwendt davidwendt self-assigned this Dec 6, 2023
@davidwendt davidwendt requested a review from a team as a code owner December 6, 2023 20:48
@davidwendt davidwendt requested a review from vuule December 7, 2023 18:47
@vuule
Copy link
Contributor

vuule commented Dec 7, 2023

I actually used this when I wanted to save the generated files in IO benchmarks.
I guess we can always hard code a non-temp-dir value for experiments, but this was nice.

@vuule
Copy link
Contributor

vuule commented Dec 7, 2023

from https://en.cppreference.com/w/cpp/filesystem/temp_directory_path:

On POSIX systems, the path may be the one specified in the environment variables TMPDIR, TMP, TEMP, TEMPDIR, and, if none of them are specified, the path "/tmp" is returned.

So that should work fine as well. I'll give it a try.

@vuule
Copy link
Contributor

vuule commented Dec 7, 2023

TMPDIR works fine. So this was just reinventing the wheel :)

@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit dee47c7 into rapidsai:branch-24.02 Dec 8, 2023
68 checks passed
@davidwendt davidwendt deleted the remove-workspace-env-var branch December 8, 2023 14:31
karthikeyann pushed a commit to karthikeyann/cudf that referenced this pull request Dec 12, 2023
…i#14588)

Removes the `WORKSPACE` env var check from the `cudf_test` `temp_directory` class. This env var is not being used. This is part of a larger effort to consolidate and document libcudf env vars.

Authors:
  - David Wendt (https://github.com/davidwendt)

Approvers:
  - Nghia Truong (https://github.com/ttnghia)
  - Bradley Dice (https://github.com/bdice)
  - Vukasin Milovanovic (https://github.com/vuule)

URL: rapidsai#14588
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants