This commit drops the Cloog support for Polly. The scripts and documentation are changed to only use isl as prerequisity. In the code all Cloog specific parts have been removed and all relevant tests have been ported to the isl backend when it was created. llvm-svn: 223141
69 lines
1.6 KiB
Makefile
69 lines
1.6 KiB
Makefile
##===- polly/lib/Makefile -----------------------*- Makefile -*-===##
|
|
|
|
#
|
|
# Indicate where we are relative to the top of the source tree.
|
|
#
|
|
LEVEL :=..
|
|
|
|
LIBRARYNAME=LLVMPolly
|
|
LOADABLE_MODULE = 1
|
|
|
|
# TODO: Export symbols for RTTI or EH?
|
|
|
|
CPP.Flags += $(POLLY_INC)
|
|
LD.Flags += $(POLLY_LD) $(POLLY_LIB)
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
# Enable optional source files
|
|
ifeq ($(GPU_CODEGEN), yes)
|
|
GPGPU_CODEGEN_FILES= CodeGen/PTXGenerator.cpp
|
|
endif
|
|
|
|
ifeq ($(PLUTO_FOUND), yes)
|
|
POLLY_PLUTO_FILES= Transform/Pluto.cpp
|
|
endif
|
|
|
|
ISL_CODEGEN_FILES= CodeGen/IslAst.cpp \
|
|
CodeGen/IslExprBuilder.cpp \
|
|
CodeGen/IslCodeGeneration.cpp
|
|
|
|
POLLY_JSON_FILES= JSON/json_reader.cpp \
|
|
JSON/json_value.cpp \
|
|
JSON/json_writer.cpp
|
|
|
|
SOURCES= Polly.cpp \
|
|
Support/GICHelper.cpp \
|
|
Support/SCEVValidator.cpp \
|
|
Support/RegisterPasses.cpp \
|
|
Support/ScopHelper.cpp \
|
|
Analysis/Dependences.cpp \
|
|
Analysis/ScopDetection.cpp \
|
|
Analysis/ScopDetectionDiagnostic.cpp \
|
|
Analysis/ScopInfo.cpp \
|
|
Analysis/ScopGraphPrinter.cpp \
|
|
Analysis/ScopPass.cpp \
|
|
Analysis/TempScopInfo.cpp \
|
|
CodeGen/BlockGenerators.cpp \
|
|
CodeGen/LoopGenerators.cpp \
|
|
CodeGen/IRBuilder.cpp \
|
|
CodeGen/Utils.cpp \
|
|
CodeGen/RuntimeDebugBuilder.cpp \
|
|
Exchange/JSONExporter.cpp \
|
|
Transform/Canonicalization.cpp \
|
|
Transform/CodePreparation.cpp \
|
|
Transform/DeadCodeElimination.cpp \
|
|
Transform/IndependentBlocks.cpp \
|
|
Transform/ScheduleOptimizer.cpp \
|
|
${GPGPU_FILES} \
|
|
${ISL_CODEGEN_FILES} \
|
|
${POLLY_JSON_FILES} \
|
|
${POLLY_PLUTO_FILES}
|
|
|
|
#
|
|
# Include Makefile.common so we know what to do.
|
|
#
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
LIBS += $(POLLY_LD) $(POLLY_LIB)
|