polly trunk broken on x86_64 darwin

Tobias,
      The most recent commits at svn revision 240868 have broken the
Polly build on x86_64 on darwin...

[ 57%] Building C object
tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o
/sw/src/fink.build/llvm37-3.7.0-100/llvm-3.7.0.src/tools/polly/lib/External/isl/isl_int_sioimath.c:1:10:
fatal error: 'malloc.h' file not found
#include <malloc.h>
         ^
1 error generated.
tools/polly/lib/CMakeFiles/Polly.dir/build.make:1457: recipe for
target 'tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o'
failed
make[2]: *** [tools/polly/lib/CMakeFiles/Polly.dir/External/isl/isl_int_sioimath.c.o]
Error 1
CMakeFiles/Makefile2:8352: recipe for target
'tools/polly/lib/CMakeFiles/Polly.dir/all' failed
make[1]: *** [tools/polly/lib/CMakeFiles/Polly.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2

     Jack

Hi Jack,

thank you for the report. Could you quickly check if deleting this include lines fixes the compile error?

Thank you
Tobias

Tobias,
      I can confirm that deleting the...

#include <malloc.h>

from the top of lib/External/isl/isl_int_sioimath.c allows the polly
cmake build to complete on x86_64 darwin.
          Jack

Thank you. I proposed a fix to isl and will incorporate in Polly as soon as it is accepted.

Best,
Tobias

This should be fixed in r241048.

Tobias