[PATCH] D37715: Mark static member functions as static in CodeViewDebug

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 11:35:50 PDT 2017


rnk added a comment.

In https://reviews.llvm.org/D37715#869699, @amccarth wrote:

> This sounded to me like a Python 2/3 problem, so I reset my environment to Python 2.7, re-ran CMake, and tried again.  But I got the same set of Python errors.  What's the trick here?


CMake discovers the python executable and caches it in CMakeCache.txt on first configuration, so changing the environment generally doesn't have an effect unless you re-configure with a clean CMakeCache.txt and CMakeFiles dir.

The quick way to get back to 2.7 is probably to edit CMakeCache.txt and change the PYTHON_EXECUTABLE variable to look something like this:

  PYTHON_EXECUTABLE:FILEPATH=C:/Python27/python.exe

`ninja check-clang` will pick that up on the next run and use it to run the test suite.

Immediately issue aside, I guess it's worth setting up continuous testing with py3k. =/


https://reviews.llvm.org/D37715





More information about the llvm-commits mailing list