From 23c54d7c0a3dc3e6e3da6b427f2ba332cb9bae71 Mon Sep 17 00:00:00 2001 From: "Serge S. Gulin" Date: Sat, 4 Jan 2025 10:30:02 +0300 Subject: [PATCH 1/3] Add Support for Windows Aarch64 Co-authored-by: Cheng Shao --- .gitignore | 3 +++ System/Process/Windows.hsc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e71f7167..cedffbd8 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,6 @@ tests/exitminus1 tests/exitminus1.o tests/foo1.txt tests/foo2.txt + +# IDEs +.vscode diff --git a/System/Process/Windows.hsc b/System/Process/Windows.hsc index c4901120..cdd2a01f 100644 --- a/System/Process/Windows.hsc +++ b/System/Process/Windows.hsc @@ -60,7 +60,7 @@ import System.Win32.Process (getProcessId) ##if defined(i386_HOST_ARCH) ## define WINDOWS_CCONV stdcall -##elif defined(x86_64_HOST_ARCH) +##elif defined(x86_64_HOST_ARCH) || defined(aarch64_HOST_ARCH) ## define WINDOWS_CCONV ccall ##else ## error Unknown mingw32 arch From 8b13af0d12596d1cd22647e9c4457dd7676cf574 Mon Sep 17 00:00:00 2001 From: Zubin Duggal Date: Fri, 11 Oct 2024 16:39:49 +0530 Subject: [PATCH 2/3] Bump base bound to 4.21 for GHC 9.12 --- process.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.cabal b/process.cabal index a780d3a9..333597ec 100644 --- a/process.cabal +++ b/process.cabal @@ -88,7 +88,7 @@ library ghc-options: -Wall - build-depends: base >= 4.10 && < 4.21, + build-depends: base >= 4.10 && < 4.22, directory >= 1.1 && < 1.4, filepath >= 1.2 && < 1.6, deepseq >= 1.1 && < 1.6 From 653d2c9c979d6bdd60b85ec0379d7fbc9bc51222 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Fri, 24 Jan 2025 12:27:14 -0500 Subject: [PATCH 3/3] process-tests: Bump base upper bound --- test/process-tests.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/process-tests.cabal b/test/process-tests.cabal index d5c3ab49..7fe2c60d 100644 --- a/test/process-tests.cabal +++ b/test/process-tests.cabal @@ -22,7 +22,7 @@ common process-dep custom-setup setup-depends: - base >= 4.10 && < 4.21, + base >= 4.10 && < 4.22, directory >= 1.1 && < 1.4, filepath >= 1.2 && < 1.6, Cabal >= 2.4 && < 3.14,