Remove path change in build.py (#1089)

First, we don't need this line of code.
Second, it may change path unintentionally. That, you want to use gcc from /usr/lib/ccache/gcc, but cmake pickup it from /usr/bin.
This commit is contained in:
Changming Sun 2019-05-23 10:48:25 -07:00 committed by GitHub
parent d865d34968
commit 055f5af78d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -737,7 +737,6 @@ def main():
os.makedirs(build_dir, exist_ok=True)
log.info("Build started")
os.environ["PATH"] = os.environ["PATH"] + os.pathsep + os.path.dirname(sys.executable)
if (args.update):
cmake_extra_args = []
if(is_windows()):