-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-43112: detect musl as a separate SOABI #24502
Changes from all commits
82bf05d
a2f26c7
e45d9f5
85e0602
9db690f
eb307dc
12bc963
6920cd4
58b19da
011cbe9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Detect musl libc as a separate SOABI (tagged as ``linux-musl``). |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5351,6 +5351,11 @@ EOF | |
|
||
if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then | ||
PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '` | ||
case "$build_os" in | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I'm not mistaken, For example, the decision based on Footnotes
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, the code is wrong. In fact the entire block should be revisited. We really should check for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No problem, but there's #87278 already. Is yet another issue needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Created #95855 |
||
linux-musl*) | ||
PLATFORM_TRIPLET=`echo "$PLATFORM_TRIPLET" | sed 's/linux-gnu/linux-musl/'` | ||
;; | ||
esac | ||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_TRIPLET" >&5 | ||
$as_echo "$PLATFORM_TRIPLET" >&6; } | ||
else | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm totally a neophyte here, but I think the buildbot failures might be due to this? This appears like it should've been indented to be inside the
if re.match(...
block, ala:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, that would be it, only one level of dedent was expected!