加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.am 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
何昊天 提交于 2023-03-22 15:30 . update
if BUNDLED_ISL
MAYBE_ISL = isl
ISL_LA = $(top_builddir)/isl/libisl.la
LOCAL_ISL_LA = isl/libisl.la
endif
if BUNDLED_PET
MAYBE_PET = pet
PET_LA = $(top_builddir)/pet/libpet.la
endif
SUBDIRS = $(MAYBE_ISL) $(MAYBE_PET) .
FORCE:
isl/libisl.la: FORCE
cd isl; $(MAKE) $(AM_MAKEFLAGS) libisl.la
pet/libpet.la: $(LOCAL_ISL_LA) FORCE
cd pet; $(MAKE) $(AM_MAKEFLAGS) libpet.la
ACLOCAL_AMFLAGS = -I m4
LIB_ISL = $(ISL_LA) @ISL_LIBS@
LIB_PET = $(PET_LA) @PET_LIBS@
AM_CPPFLAGS = @ISL_CFLAGS@ @PET_CFLAGS@
LDADD = $(LIB_PET) $(LIB_ISL)
bin_PROGRAMS = ppcg
ppcg_SOURCES = \
cpu.c \
cpu.h \
cuda.c \
cuda.h \
opencl.c \
opencl.h \
cuda_common.h \
cuda_common.c \
gpu.c \
gpu.h \
gpu_array_tile.c \
gpu_array_tile.h \
gpu_group.c \
gpu_group.h \
gpu_hybrid.c \
gpu_hybrid.h \
gpu_print.c \
gpu_print.h \
gpu_tree.c \
gpu_tree.h \
grouping.c \
grouping.h \
hybrid.c \
hybrid.h \
schedule.c \
schedule.h \
ppcg_options.c \
ppcg_options.h \
ppcg.c \
ppcg.h \
print.c \
print.h \
util.c \
util.h \
version.c \
amp_utilities.c \
amp_utilities.h
TESTS = @extra_tests@
EXTRA_TESTS = opencl_test.sh polybench_test.sh
TEST_EXTENSIONS = .sh
BUILT_SOURCES = gitversion.h
CLEANFILES = gitversion.h
EXTRA_DIST = \
examples \
ocl_utilities.c \
ocl_utilities.h \
tests
dist-hook:
echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID
gitversion.h: @GIT_HEAD@
$(AM_V_GEN)echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化