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

[SYCL] Check cache directory settings #337

Merged
merged 3 commits into from
Jul 27, 2021

Conversation

vladimirlaz
Copy link

Add tests to check that:

  • cache is disabled if no environment variables defining cache root
    directory are set;
  • cache can be enabled if at least one evironment variable is set.

Add tests to check that:
 - cache is disabled if no environment variables defining cache root
directory are set;
 - cache can be enabled if at least one evironment variable is set.
@vladimirlaz vladimirlaz requested a review from a team as a code owner July 2, 2021 10:46
@vladimirlaz vladimirlaz requested a review from againull July 2, 2021 10:46
@bader
Copy link

bader commented Jul 2, 2021

@vladimirlaz, could you clarify why the tests are passing although intel/llvm#4047 has not been merged yet?

@vladimirlaz
Copy link
Author

@vladimirlaz, could you clarify why the tests are passing although intel/llvm#4047 has not been merged yet?

The checks in the tests were not good enough. I have updated them.

pvchupin pushed a commit to intel/llvm that referenced this pull request Jul 16, 2021
Remove storing JIT cache files to current directory when corresponding
environment variables are not set.

Complementary test change: intel/llvm-test-suite#337
@vladimirlaz
Copy link
Author

The Windows failures are unrelated.

@vladimirlaz vladimirlaz merged commit 7c6566a into intel:intel Jul 27, 2021
@vladimirlaz vladimirlaz deleted the disable_use_of_default_dir branch February 2, 2022 10:45
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
Add tests to check that:
 - cache is disabled if no environment variables defining cache root
directory are set;
 - cache can be enabled if at least one evironment variable is set.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants