[PATCH] Add native windows on arm64 support
Niyas Sait <niyas.sait@linaro.org>
From: Niyas Sait <niyas.sait@linaro.org>
To: pgsql-hackers@lists.postgresql.org
Date: 2022-02-23T10:09:36Z
Lists: pgsql-hackers
Attachments
- enable-native-windows-arm64-build.patch (application/octet-stream) patch
Hello, I have created a patch that adds support for building Postgres for the windows/arm64 platform using the MSVC toolchain. Following changes have been included 1. Extend MSVC scripts to handle ARM64 platform. 2. Add arm64 definition of spin_delay function. 3. Exclude arm_acle.h import with MSVC compiler. Compilation steps are consistent and similar to other windows platforms. The change has been tested on windows/x86_64 and windows/arm64 and all regression tests passes on both platforms. Thanks, Niyas
Commits
-
MSVC: Support building for AArch64.
- a516b3f00d74 19 (unreleased) landed
-
Remove "#ifdef WIN32" guards from src/port/win32*.c
- 09eb633e1baa 17.0 cited
-
Adjust XML test case to avoid unstable behavior.
- 4ea07e7cf3c6 16.0 landed
-
Enable RandomizedBaseAddress (ASLR) on Windows with MSVC builds
- 36389a060ca6 16.0 landed