1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

Do not polute the source directory.

When a python script is run, by default it creates the bytecode file if the directory is writable, and this ‘pollutes’ source folders.

From python's help:
-B Don’t write .py[co] files on import. See also PYTHONDONTWRITEBYTECODE.

Patch by Pere Mato (D30604)!

llvm-svn: 298603
This commit is contained in:
Vassil Vassilev 2017-03-23 14:54:34 +00:00
parent aaa8e43771
commit aec9f83386

View File

@ -618,7 +618,7 @@ endif (LLVM_USE_OPROFILE)
message(STATUS "Constructing LLVMBuild project information") message(STATUS "Constructing LLVMBuild project information")
execute_process( execute_process(
COMMAND ${PYTHON_EXECUTABLE} ${LLVMBUILDTOOL} COMMAND ${PYTHON_EXECUTABLE} -B ${LLVMBUILDTOOL}
--native-target "${LLVM_NATIVE_ARCH}" --native-target "${LLVM_NATIVE_ARCH}"
--enable-targets "${LLVM_TARGETS_TO_BUILD}" --enable-targets "${LLVM_TARGETS_TO_BUILD}"
--enable-optional-components "${LLVMOPTIONALCOMPONENTS}" --enable-optional-components "${LLVMOPTIONALCOMPONENTS}"