aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-04-22 18:36:33 +0200
committerGitHub <noreply@github.com>2023-04-22 18:36:33 +0200
commit801ac2accb6a88a58b2d8f486751782921bf689f (patch)
tree1e6c61f2b1b759b56ee161d248405dec66570399
parent040d9da5c8f4d56e0482758223ea7bb04dc90cc0 (diff)
downloadrneovim-801ac2accb6a88a58b2d8f486751782921bf689f.tar.gz
rneovim-801ac2accb6a88a58b2d8f486751782921bf689f.tar.bz2
rneovim-801ac2accb6a88a58b2d8f486751782921bf689f.zip
build: drop diff.exe from windows builds
The shipped versions of xdiff already does everything diff does, so this duplication of tools isn't necessary. Furthermore, this setup is more consistent overall, as the 'diffopt=external' option should be for external programs rather than programs we bundle neovim with. Install diffutils for oldtests in CI to avoid needing to modify tests.
-rw-r--r--.github/workflows/test.yml2
-rw-r--r--cmake.deps/CMakeLists.txt5
-rwxr-xr-xsrc/nvim/CMakeLists.txt1
3 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 93bf5c4d79..5f8e445f36 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -354,7 +354,7 @@ jobs:
with:
update: true
pacboy: >-
- make:p gcc:p
+ make:p gcc:p diffutils:p
release: false
- if: success() || failure() && steps.abort_job.outputs.status == 'success'
diff --git a/cmake.deps/CMakeLists.txt b/cmake.deps/CMakeLists.txt
index 3cbbbf2712..e6852e6265 100644
--- a/cmake.deps/CMakeLists.txt
+++ b/cmake.deps/CMakeLists.txt
@@ -164,11 +164,9 @@ set(LUV_SHA256 222b38b6425f0926218e14e7da81481fdde6f9660c1feac25a53e6fb52e886e6)
set(LUA_COMPAT53_URL https://github.com/keplerproject/lua-compat-5.3/archive/v0.9.tar.gz)
set(LUA_COMPAT53_SHA256 ad05540d2d96a48725bb79a1def35cf6652a4e2ec26376e2617c8ce2baa6f416)
-# Windows only: cat.exe diff.exe tee.exe xxd.exe
+# Windows only: cat.exe tee.exe xxd.exe
set(CAT_URL https://github.com/neovim/deps/raw/21c5e8bdda33521a6ed497b315e03265a2785cbc/opt/cat.exe)
set(CAT_SHA256 93b8d307bb15af3968920bdea3beb869a49d166f9164853c58a4e6ffdcae61c6)
-set(DIFF_URL https://github.com/neovim/deps/raw/21c5e8bdda33521a6ed497b315e03265a2785cbc/opt/diff.exe)
-set(DIFF_SHA256 4ceceebc8150422c6d8d9a06c2e9686d5a5d90f1033f60ad92ab81fe810e2a28)
set(TEE_URL https://github.com/neovim/deps/raw/21c5e8bdda33521a6ed497b315e03265a2785cbc/opt/tee.exe)
set(TEE_SHA256 950eea4e17fa3a7e89fa2c55374037b5797b3f1a54fea1304634884ab42ec14d)
set(XXD_URL https://github.com/neovim/deps/raw/21c5e8bdda33521a6ed497b315e03265a2785cbc/opt/xxd.exe)
@@ -267,7 +265,6 @@ if(WIN32)
include(GetBinaryDeps)
GetExecutable(TARGET cat)
- GetExecutable(TARGET diff)
GetExecutable(TARGET tee)
GetExecutable(TARGET xxd)
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index bfdbe0c3b5..28ba4e2ed3 100755
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -762,7 +762,6 @@ if(WIN32)
"file(MAKE_DIRECTORY \"${PROJECT_BINARY_DIR}/windows_runtime_deps/platforms\")")
foreach(DEP_FILE IN ITEMS
cat.exe
- diff.exe
tee.exe
win32yank.exe
xxd.exe