summarylogtreecommitdiffstats
path: root/graphite.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'graphite.sh.in')
-rw-r--r--graphite.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphite.sh.in b/graphite.sh.in
index 37b729f625df..88f30e39a6c6 100644
--- a/graphite.sh.in
+++ b/graphite.sh.in
@@ -16,6 +16,8 @@ buildenv_functions+=('buildenv_graphite')
buildenv_graphite() {
if check_buildoption "graphite" "y" || check_buildoption "polly" "y"; then
graphiteflags=" -lgomp -mllvm -polly -mllvm -polly-num-threads=$(getconf _NPROCESSORS_ONLN) -mllvm -polly-parallel"
+ check_buildoption "polly" "y" && \
+ graphiteflags+=" -Xclang -load -Xclang LLVMPolly.so"
check_buildoption "graphite" "y" && \
graphiteflags=" -fgraphite-identity -floop-interchange -floop-nest-optimize -floop-parallelize-all -ftree-loop-distribution -ftree-parallelize-loops=$(getconf _NPROCESSORS_ONLN) -ftree-vectorize"