Update Polly tests to handle explicitly typed gep changes in LLVM
[polly-mirror.git] / Makefile.config.in
blobfed157a3f28cfd156ca9100526db9df7c4b38b6a
1 #===-- Makefile.config - Local configuration for LLVM ------*- Makefile -*--===#
3 #                     The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 #===------------------------------------------------------------------------===#
10 # This file is included by Makefile.common.  It defines paths and other
11 # values specific to a particular installation of LLVM.
13 #===------------------------------------------------------------------------===#
15 # Set the root directory of this polly's object files
16 POLLY_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
18 # Set this variable to the top level directory where LLVM was built
19 POLLY_OBJ_ROOT := $(subst //,/,@abs_top_builddir@)
21 # Set the root directory of this project's install prefix
22 PROJ_INSTALL_ROOT := @prefix@
24 # Set the C++ flags
25 ifeq (@GXX@,yes)
26 POLLY_CXXFLAGS := "-fno-common -Woverloaded-virtual -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings"
27 endif
29 POLLY_CXXFLAGS += "-fno-rtti -fno-exceptions"
31 # Define the FLAGS for the compilation of isl and imath
33 # Those are the only C files we have in the repository. Hence, we can just use
34 # the CFLAGS to identify them.
36 # We first set the visibility of all isl functions to hidden to ensure we do
37 # not clash with other isl versions that got linked into a program that uses
38 # Polly. (This happens e.g when linking Polly with dragonegg)
40 # We also disable all warnings, as these should be fixed upstream. There is
41 # no value in reporting them here.
42 POLLY_CFLAGS := -fvisibility=hidden
43 POLLY_CFLAGS += -w
45 PLUTO_FOUND := @pluto_found@
46 CUDALIB_FOUND := @cuda_found@
48 # Set include directories
49 POLLY_INC :=  @cuda_inc@ \
50               @pluto_inc@ -I$(POLLY_SRC_ROOT)/lib/JSON/include \
51               -I$(POLLY_SRC_ROOT)/lib/External/isl/include \
52               -I$(POLLY_SRC_ROOT)/lib/External/isl/imath \
53               -I$(POLLY_SRC_ROOT)/lib/External/isl
55 POLLY_LD := @cuda_ld@ @pluto_ld@
57 POLLY_LIB := @cuda_lib@ @pluto_lib@