-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Can't build Julia with Clang on Linux #44352
Comments
Hmm, aren't all of those inside an |
% clang -dM -E - < /dev/null | grep __GNUC__
#define __GNUC__ 4 |
Looks like we might have to set |
If the idea was to check for GCC, https://stackoverflow.com/a/28166605/2442087 basically suggests to check Line 32 in a2e4226
@Keno you added those lines, was |
That appears to be available only from LLVM 10, while Julia should be buildable with with LLVM >= 3.5. I think checking for |
As the comment above says, it depends on the C version default, so maybe check for that? |
The build is successful if removing the assertions at
julia/src/julia_internal.h
Lines 428 to 430 in a2e4226
julia/src/julia_internal.h
Lines 437 to 439 in a2e4226
julia/src/julia_internal.h
Lines 445 to 447 in a2e4226
but probably one would like to compile Julia without having to edit the source code.
The text was updated successfully, but these errors were encountered: