Re: Mingw task for Cirrus CI - Mailing list pgsql-hackers

From Nazir Bilal Yavuz
Subject Re: Mingw task for Cirrus CI
Date
Msg-id a70d07c8-1f77-c1d4-48ed-73fcc799df07@gmail.com
Whole thread Raw
In response to Re: Mingw task for Cirrus CI  (Melih Mutlu <m.melihmutlu@gmail.com>)
Responses Re: Mingw task for Cirrus CI  (Melih Mutlu <m.melihmutlu@gmail.com>)
List pgsql-hackers
Hi,

Thanks for the patch!

On 10/18/22 12:49, Melih Mutlu wrote:


You can find the updated patch attached.


Does it makes sense to set these at 'Windows - Server 2019, MinGW64 - Meson' task:

env:
    ...
    CHERE_INVOKING: 1
    BASH_EXE: C:\msys64\usr\bin\bash.exe

'CHERE_INVOKING: 1' will cause bash.exe to start from current working directory(%CIRRUS_WORKING_DIR%).

In this way, there is no need for
'cd %CIRRUS_WORKING_DIR%' when using bash.exe,
also no need for 'BUILD_DIR' environment variable.

i.e:

configure_script: |
    %BASH_EXE% -lc "meson setup --buildtype debug -Dcassert=true -Db_pch=true -DTAR=%TAR% build"

will work.

Regards,
Nazir Bilal Yavuz

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: PATCH: Using BRIN indexes for sorted output
Next
From: Masahiko Sawada
Date:
Subject: Re: TRAP: FailedAssertion("prev_first_lsn < cur_txn->first_lsn", File: "reorderbuffer.c", Line: 927, PID: 568639)