[all-commits] [llvm/llvm-project] ec9537: [lldb][test] Clear pexpect found var before checki...

David Spickett via All-commits all-commits at lists.llvm.org
Thu Feb 29 06:22:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec95379df363253ffcbbda21297417e703d5ccca
      https://github.com/llvm/llvm-project/commit/ec95379df363253ffcbbda21297417e703d5ccca
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-02-29 (Thu, 29 Feb 2024)

  Changed paths:
    M lldb/test/CMakeLists.txt

  Log Message:
  -----------
  [lldb][test] Clear pexpect found var before checking again

If you run cmake without pexpect installed it errors as expected.
However, if you just `pip install pexpect` and cmake again it still
doesn't find it because it cached the result of the search.

Unset the result before looking for pexpect. So that this works
as expected:
cmake ...
pip3 install pexpect
cmake ...



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list