-
Notifications
You must be signed in to change notification settings - Fork 375
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
Xplat alpine changes #1094
Xplat alpine changes #1094
Conversation
5.6.0 RTW
5.8.0 RTW
Updating local
Updating local branch
Codecov Report
@@ Coverage Diff @@
## dev #1094 +/- ##
==========================================
- Coverage 77.19% 77.11% -0.09%
==========================================
Files 25 25
Lines 7440 7440
==========================================
- Hits 5743 5737 -6
- Misses 1697 1703 +6
|
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.
With uname -n
you should get alpine
without parsing?
Also, Alpine Linux is very popular for Docker testing or development, so using uname
alone may not suffice. Please add the check of /etc/*release
(or /etc/os-release
) as well
|
IS_ALPINE_2=`cat /etc/os-release | grep ID | grep alpine | cut -f 2 -d '='` | ||
if test "${IS_ALPINE_1}" = "Alpine" || test "${IS_ALPINE_2}" = "alpine"; then | ||
AC_DEFINE(__MUSL__, 1, [ ]) | ||
fi |
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.
Forgot to mention that perhaps you can first check uname
and if it's Darwin simply skips?
No description provided.