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 CADK3HHJfQWWUMoZ_0O+LJGwCtFfagaovo6047hVbs_D70maq6Q@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add native windows on arm64 support  (Michael Paquier <michael@paquier.xyz>)
Responses Re: [PATCH] Add native windows on arm64 support
List pgsql-hackers


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

pgsql-hackers by date:

Previous
From: Michael Banck
Date:
Subject: Re: Use of backup_label not noted in log
Next
From: Aleksander Alekseev
Date:
Subject: Re: Unnecessary smgropen in {heapam_relation,index}_copy_data?