Bug#805813: llvm-toolchain-3.4 ftbfs with ISL 0.15

peter green plugwash at p10link.net
Wed Dec 2 05:48:45 UTC 2015


I just took a look at this failure, many of the errors were caused by a 
couple of missing #includes

> --- llvm-toolchain-3.4-3.4.2.orig/polly/lib/ScheduleOptimizer.cpp
> +++ llvm-toolchain-3.4-3.4.2/polly/lib/ScheduleOptimizer.cpp
> @@ -25,6 +25,8 @@
> #include "isl/options.h"
> #include "isl/schedule.h"
> #include "isl/space.h"
> +#include "isl/union_map.h"
> +#include "isl/union_set.h"
> #include "polly/CodeGen/CodeGeneration.h"
> #include "polly/Dependences.h"
> #include "polly/LinkAllPasses.h"

Unfortunately after adding those includes I still got

> /llvm-toolchain-3.4-3.4.2/polly/lib/ScheduleOptimizer.cpp:492:25: 
> error: ‘ISL_SCHEDULE_FUSE_MAX’ was not declared in this scope
> IslFusionStrategy = ISL_SCHEDULE_FUSE_MAX;
> ^
> /llvm-toolchain-3.4-3.4.2/polly/lib/ScheduleOptimizer.cpp:494:25: 
> error: ‘ISL_SCHEDULE_FUSE_MIN’ was not declared in this scope
> IslFusionStrategy = ISL_SCHEDULE_FUSE_MIN;
> ^
> /llvm-toolchain-3.4-3.4.2/polly/lib/ScheduleOptimizer.cpp:498:25: 
> error: ‘ISL_SCHEDULE_FUSE_MAX’ was not declared in this scope
> IslFusionStrategy = ISL_SCHEDULE_FUSE_MAX;
> ^
> /llvm-toolchain-3.4-3.4.2/polly/lib/ScheduleOptimizer.cpp:513:65: 
> error: ‘isl_options_set_schedule_fuse’ was not declared in this scope
> isl_options_set_schedule_fuse(S.getIslCtx(), IslFusionStrategy);
Which simpy don't seem to exist anymore.



More information about the Pkg-llvm-team mailing list