Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8062093

Browse files
committed
meson: Narrow dependencies for 'install-quiet' target
Previously test dependencies, which are not actually installed, wereunnecessarily built.Apply this to all branches with meson support, as part of an effort to fixincorrect test dependencies that can lead to test failures.Discussion:https://postgr.es/m/CAGECzQSvM3iSDmjF+=Kof5an6jN8UbkP_4cKKT9w6GZavmb5yQ@mail.gmail.comDiscussion:https://postgr.es/m/bdba588f-69a9-4f3e-9b95-62d07210a32e@eisentraut.orgBackpatch: 16-, where meson support was added
1 parentd54d566 commit8062093

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

‎meson.build

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3112,24 +3112,30 @@ if libintl.found() and meson.version().version_compare('>=0.60')
31123112
endif
31133113

31143114

3115-
all_built= [
3115+
# all targets that 'meson install' needs
3116+
installed_targets= [
31163117
backend_targets,
31173118
bin_targets,
31183119
libpq_st,
31193120
pl_targets,
31203121
contrib_targets,
31213122
nls_mo_targets,
3122-
testprep_targets,
31233123
ecpg_targets,
31243124
]
31253125

3126+
# all targets that require building code
3127+
all_built= [
3128+
installed_targets,
3129+
testprep_targets,
3130+
]
3131+
31263132
# Meson's default install target is quite verbose. Provide one that is quiet.
31273133
install_quiet=custom_target('install-quiet',
31283134
output:'install-quiet',
31293135
build_always_stale:true,
31303136
build_by_default:false,
31313137
command: [meson_bin, meson_args,'install','--quiet','--no-rebuild'],
3132-
depends:all_built,
3138+
depends:installed_targets,
31333139
)
31343140

31353141
# Target to install files used for tests, which aren't installed by default

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp