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

Commit0a6e2c7

Browse files
committed
Log LLVM library version in configure output.
When scanning build farm results, it's useful to be able to see whichversion is in use. For the Meson build system, this information wasalready displayed.Back-patch to all supported branches.Discussion:https://postgr.es/m/4022690.1697852728%40sss.pgh.pa.us
1 parente98f47d commit0a6e2c7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

‎config/llvm.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ AC_DEFUN([PGAC_LLVM_SUPPORT],
2828
if echo $pgac_llvm_version | $AWK -F '.' '{ if ([$]1 >= 4 || ([$]1 == 3 &&[$]2 >= 9)) exit 1; else exit 0;}';then
2929
AC_MSG_ERROR([$LLVM_CONFIG version is $pgac_llvm_version but at least 3.9 is required])
3030
fi
31+
AC_MSG_NOTICE([using llvm $pgac_llvm_version])
3132
3233
# need clang to create some bitcode files
3334
AC_ARG_VAR(CLANG,[path to clang compiler to generate bitcode])

‎configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4893,6 +4893,8 @@ fi
48934893
if echo $pgac_llvm_version | $AWK -F '.' '{ if ($1 >= 4 || ($1 == 3 && $2 >= 9)) exit 1; else exit 0;}';then
48944894
as_fn_error $? "$LLVM_CONFIG version is $pgac_llvm_version but at least 3.9 is required" "$LINENO" 5
48954895
fi
4896+
{ $as_echo "$as_me:${as_lineno-$LINENO}: using llvm $pgac_llvm_version" >&5
4897+
$as_echo "$as_me: using llvm $pgac_llvm_version" >&6;}
48964898

48974899
# need clang to create some bitcode files
48984900

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp