Thread: Re: Meson rebuilds and reinstalls autoinc and refint libraries during regression tests.

Hi,

On 2024-11-21 13:40:18 +0700, Zharkov Roman wrote:
> What do you think?

What's the problem with the current approach? It's hard to believe the build
time of these modules is meaningful in any sort of way.

Greetings,

Andres Freund



Hello,

On 2024-11-21 22:59, Andres Freund wrote:
> What's the problem with the current approach? It's hard to believe the 
> build
> time of these modules is meaningful in any sort of way.

Thank you for your question! There are no real problems except my own 
small trouble with checksums of installed binaries, which I have already 
fixed.
I just tried to find a way to put these two libraries into the regress 
build dir without rebuilding them. It seems to me, using the 
"custom_target()" function is a litle bit pretty than calling the 
"shared_module()" with hardcoded paths to the libraries sources. But I 
don't like additional "copy.py" script and wonder if there is an 
acceptable universal method to just copy a file?

Best regards, Roman Zharkov.