Re: [PATCH] Add native windows on arm64 support - Mailing list pgsql-hackers

From Dave Cramer
Subject Re: [PATCH] Add native windows on arm64 support
Date
Msg-id CADK3HHK5q9-NMz=_zTOdA6nxoeyauuAv7_9_=CCdd3-AWxAnQw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add native windows on arm64 support  (Dave Cramer <davecramer@postgres.rocks>)
Responses Re: [PATCH] Add native windows on arm64 support
List pgsql-hackers



On Thu, 25 Jan 2024 at 08:31, Dave Cramer <davecramer@postgres.rocks> wrote:


On Wed, 24 Jan 2024 at 19:03, Michael Paquier <michael@paquier.xyz> wrote:
On Wed, Jan 24, 2024 at 06:45:21AM -0500, Dave Cramer wrote:
> I managed to get it to build the vcvarsall arch needs to be x64. I need to
> add some options, but the patch above needs to be applied to build it.

Nice.  If I may ask, what kind of host and/or configuration have you
used to reach a state where the code can be compiled and run tests
with meson?  If you have found specific steps, it may be a good thing
to document that on the wiki, say around [1].

I am running a mac-mini M2 with parallels running windows pro 11
The only thing required is this patch. Running in a native developer prompt  

meson setup build --prefix=c:\postgres
cd build
ninja 
ninja install
ninja test

all run without errors
I also have buildfarm running and will run that today

Dave

Perhaps you have not included TAP?  It may be fine in terms of runtime
checks and coverage.

Does TAP have to be explicitly added to the meson build ?

Dave


I tried running my buildfarm using my git repo and my branch, but get the following error
Status Line: 492 bad branch parameter
Content:
bad branch parameter fix_arm

Web txn failed with status: 1 

pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: Unnecessary smgropen in {heapam_relation,index}_copy_data?
Next
From: Robert Haas
Date:
Subject: Re: Emit fewer vacuum records by reaping removable tuples during pruning