Lines Matching full:cmake
15 Eventually, it will be updated to instead call the cmake cache mentioned there.
51 cmake = _get_cmake_invocation_for_bootstrap_from(env, out_dir, skip_tablegens=False)
54 cmake.add_flag("CMAKE_BUILD_TYPE", "RelWithDebInfo")
56 _run_fresh_cmake(env, cmake, target_dir)
73 def __init__(self, cmake, maker, cmake_dir):
74 self._prefix = [cmake, "-G", maker, cmake_dir]
194 cmake="cmake", maker=env.get_cmake_maker(), cmake_dir=env.llvm_dir
203 cmake = _get_default_cmake_invocation(env)
204 cmake.add_new_flag("CMAKE_C_COMPILER", clang)
205 cmake.add_new_flag("CMAKE_CXX_COMPILER", clang + "++")
216 cmake.add_new_flag(key, path)
222 return cmake
230 def _run_fresh_cmake(env, cmake, target_dir):
239 cmake_args = cmake.to_args()
245 cmake = _get_default_cmake_invocation(env)
246 _run_fresh_cmake(env, cmake, target_dir)
269 cmake = _get_cmake_invocation_for_bootstrap_from(env, stage1_dir)
270 cmake.add_new_flag("LLVM_BUILD_INSTRUMENTED", "IR")
277 cmake.add_new_flag("LLVM_BUILD_RUNTIME", "No")
279 _run_fresh_cmake(env, cmake, target_dir)
293 cmake = _get_cmake_invocation_for_bootstrap_from(env, stage1_dir)
294 cmake.add_new_flag("LLVM_PROFDATA_FILE", os.path.abspath(profdata_file))
298 cmake.add_cflags(["-Wno-backend-plugin"])
299 _run_fresh_cmake(env, cmake, target_dir)
324 "--cmake-extra-arg",
327 help="an extra arg to pass to all cmake invocations. Note that this "
328 "is interpreted as a -D argument, e.g. --cmake-extra-arg FOO=BAR will "
429 "cmake",