This is an archive of the discontinued LLVM Phabricator instance.

Fix interoperability test compilation on FreeBSD
ClosedPublic

Authored by dim on Mar 23 2019, 7:43 AM.

Details

Summary

While building the 8.0 releases on FreeBSD, I encountered the following
error in the regression tests, where ompt/misc/interoperability.cpp
failed to compile, with:

projects/openmp/runtime/test/ompt/misc/interoperability.cpp:7:10: fatal error: 'alloca.h' file not found
#include <alloca.h>
         ^~~~~~~~~~

Like on NetBSD, alloca(3) is defined in <stdlib.h> instead.

Diff Detail

Repository
rOMP OpenMP

Event Timeline

dim created this revision.Mar 23 2019, 7:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 23 2019, 7:43 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
This revision is now accepted and ready to land.Mar 25 2019, 10:31 AM
This revision was automatically updated to reflect the committed changes.