Mercurial > hg > Members > kono > Cerium
comparison TaskManager/Makefile.cell @ 629:8843edf37c0e
Cell 64 bit tried, but not yet worked.
Cell's list DMA is 32bit.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Nov 2009 13:32:58 +0900 |
parents | ab866bc8a624 |
children | 0558abba673c |
comparison
equal
deleted
inserted
replaced
628:306c9a7717c3 | 629:8843edf37c0e |
---|---|
1 include ./Makefile.def | 1 include ./Makefile.def |
2 | 2 |
3 ABIBIT= 32 | |
4 ABI= -m$(ABIBIT) | |
3 TARGET = libCellManager.a | 5 TARGET = libCellManager.a |
4 SPETARGET = libspemanager.a | 6 SPETARGET = libspemanager.a |
5 | 7 |
6 CELL_SPE_DIR = $(IMPL_CELL_DIR)/spe | 8 CELL_SPE_DIR = $(IMPL_CELL_DIR)/spe |
7 | 9 |
21 $(CELL_SPE_DIR)/CellScheduler.cc \ | 23 $(CELL_SPE_DIR)/CellScheduler.cc \ |
22 $(CELL_SPE_DIR)/SpeTaskManagerImpl.cc \ | 24 $(CELL_SPE_DIR)/SpeTaskManagerImpl.cc \ |
23 $(CELL_SPE_DIR)/main.cc | 25 $(CELL_SPE_DIR)/main.cc |
24 | 26 |
25 CELL_SPE_TASK_SRCS = \ | 27 CELL_SPE_TASK_SRCS = \ |
26 $(CELL_SPE_DIR)/TaskList.cc \ | |
27 $(CELL_SPE_DIR)/TaskQueue.cc \ | 28 $(CELL_SPE_DIR)/TaskQueue.cc \ |
28 $(CELL_SPE_DIR)/Task.cc | 29 $(CELL_SPE_DIR)/Task.cc |
29 | 30 |
30 # $(wildcard $(CELL_SPE_DIR)/*.cc) | 31 # $(wildcard $(CELL_SPE_DIR)/*.cc) |
31 | 32 |
32 CELL_SPE_OBJS = $(CELL_SPE_SRCS:.cc=.o) $(CELL_SPE_SCHEDULE_OBJ) $(CELL_SPE_TASK_SRCS:.cc=.o) | 33 CELL_SPE_OBJS = $(CELL_SPE_SRCS:.cc=.o) $(CELL_SPE_SCHEDULE_OBJ) $(CELL_SPE_TASK_SRCS:.cc=.o) |
33 | 34 |
34 SPUCC = spu-g++ | 35 SPUCC = spu-g++ -DABIBIT=$(ABIBIT) |
35 | 36 |
36 EXTRA_CFLAGS = -D__CERIUM_CELL__ -fno-strict-aliasing | 37 EXTRA_CFLAGS = -D__CERIUM_CELL__ -DHAS_POSIX_MEMALIGN -fno-strict-aliasing |
37 | 38 |
38 SPE_CFLAGS = -fno-exceptions -fno-rtti -Wall -O9 | 39 SPE_CFLAGS = -D__CERIUM_CELL__ -fno-exceptions -fno-rtti -Wall -O9 |
39 | 40 |
40 all: default | 41 all: default |
41 | 42 |
42 default: $(CELL_SPE_SCHEDULE_SRC) $(TARGET) $(SPETARGET) | 43 default: $(CELL_SPE_SCHEDULE_SRC) $(TARGET) $(SPETARGET) |
43 | 44 |