Skip to content

Commit

Permalink
build: Use patch to apply patch for Annoy (#3667)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgessinger authored Oct 1, 2024
1 parent 32f67b3 commit f7173c7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions thirdparty/Annoy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ FetchContent_Declare(
Annoy
${ACTS_ANNOY_SOURCE}
PATCH_COMMAND
"${CMAKE_COMMAND}" -E chdir <SOURCE_DIR> ${GIT_EXECUTABLE} config
user.name "CI" && "${CMAKE_COMMAND}" -E chdir <SOURCE_DIR>
${GIT_EXECUTABLE} config user.email "<>" && "${CMAKE_COMMAND}" -E chdir
<SOURCE_DIR> ${GIT_EXECUTABLE} am
${CMAKE_CURRENT_SOURCE_DIR}/0001-Modify-annoy.patch
patch -p1 < ${CMAKE_CURRENT_SOURCE_DIR}/0001-Modify-annoy.patch
)

# Make the fetched content available.
Expand Down

0 comments on commit f7173c7

Please sign in to comment.