Skip to content

Commit

Permalink
Fix copy of compile_commands.json in compile-triton.sh (#2221)
Browse files Browse the repository at this point in the history
Closes #2222

Full path looks like:
`intel-xpu-backend-for-triton/python/build/cmake.linux-x86_64-cpython-3.10/compile_commands.json`

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
  • Loading branch information
anmyachev authored Sep 12, 2024
1 parent 78e91b1 commit d7fd027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/compile-triton.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ build_triton() {
pip install -vvv -e '.[build,tests]'

# Copy compile_commands.json in the build directory (so that cland vscode plugin can find it).
cp $TRITON_PROJ_BUILD/"$(ls $TRITON_PROJ_BUILD)"/compile_commands.json $TRITON_PROJ/
cp $(find $TRITON_PROJ_BUILD -name compile_commands.json) $TRITON_PROJ/
}

build() {
Expand Down

0 comments on commit d7fd027

Please sign in to comment.