Skip to content
Snippets Groups Projects
Commit 2d4c68ab authored by Akash Kothari's avatar Akash Kothari :speech_balloon:
Browse files

Add Makefile.config

parent de76531d
No related branches found
No related tags found
No related merge requests found
CUDA_PATH=/usr/local/cuda
CUDA_LIB_PATH=/usr/local/cuda/lib64
#OPENCL_PATH=/opt/intelFPGA_pro/18.0/hld/host/linux64
#OPENCL_LIB_PATH=$(OPENCL_PATH)/lib
OPENCL_PATH=/opt/intel/opencl-sdk/
OPENCL_LIB_PATH=$(OPENCL_PATH)/lib64
#LLVM_SRC_ROOT=/home/kotsifa2/HPVM/Gitlab/hpvm/llvm
# NOTE: You may need to configure this based on your root path.
VISC_SRC_ROOT=$(LLVM_SRC_ROOT)
VISC_BUILD_DIR =$(VISC_SRC_ROOT)/../build
CC = $(VISC_BUILD_DIR)/bin/clang
PLATFORM_CFLAGS = -I$(LLVM_SRC_ROOT)/include -I$(VISC_BUILD_DIR)/include
CXX = $(VISC_BUILD_DIR)/bin/clang++
PLATFORM_CXXFLAGS = -I$(LLVM_SRC_ROOT)/include -I$(VISC_BUILD_DIR)/include
LINKER = $(VISC_BUILD_DIR)/bin/clang++
PLATFORM_LDFLAGS = -lm -lpthread -lrt -lOpenCL -L$(OPENCL_LIB_PATH)
LLVM_LIB_PATH = $(VISC_BUILD_DIR)/lib
LLVM_BIN_PATH = $(VISC_BUILD_DIR)/bin
OPT = $(LLVM_BIN_PATH)/opt
LLVM_LINK = $(LLVM_BIN_PATH)/llvm-link
LLVM_AS = $(LLVM_BIN_PATH)/llvm-as
LIT = $(LLVM_BIN_PATH)/llvm-lit
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment