mirror of
https://github.com/ROCm/ROCm.git
synced 2026-04-05 03:01:17 -04:00
[BUILD] Export compile commands (#1854)
This can be used by IDEs to figure out how to correctly compile individual sources and offer semantic code completion.
This commit is contained in:
@@ -211,6 +211,7 @@ class CMakeBuild(build_ext):
|
||||
# python directories
|
||||
python_include_dir = sysconfig.get_path("platinclude")
|
||||
cmake_args = [
|
||||
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON",
|
||||
"-DLLVM_ENABLE_WERROR=ON",
|
||||
"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=" + extdir,
|
||||
"-DTRITON_BUILD_TUTORIALS=OFF",
|
||||
|
||||
Reference in New Issue
Block a user