-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[flang][OMP] change malloc.h to stdlib.h in collapse_test.inc (NFC) #122711
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
Conversation
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.
LGTM.
I also get a 'malloc.h' file not found
error on macOS, without this change.
LGTM. This fixes most of the build failures I've seen in SPEC CPU 2017 on macOS. |
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/11630 Here is the relevant piece of the build log for the reference
|
malloc.h
is in.../usr/include/malloc/malloc.h
on MacOS. Usingstdlib.h
works for Mac and other platforms.