Skip to content

Commit aa192ea

Browse files
committed
update the compiling system & travis script
1 parent 40d149f commit aa192ea

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.travis.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ before_install:
3838
- cd $QSIM_PREFIX
3939
- make release install
4040
- cd ..
41-
- wget http://manifold.gatech.edu/wp-content/uploads/2016/10/kitfox-v1.1.tar.gz
41+
- wget http://manifold.gatech.edu/wp-content/uploads/2017/01/kitfox-v1.1.tar.gz
4242
- tar xzvf kitfox-v1.1.tar.gz
4343
- cd kitfox-v1.1
4444
- sudo apt-get -y install flex bison
@@ -48,15 +48,17 @@ before_install:
4848
- cd ..
4949
script:
5050
- autoreconf -siv
51-
- ./configure QSIMINC=${QSIM_PREFIX}/include KITFOXINC=${KITFOX_PREFIX}
51+
- ./configure QSIMINC=${QSIM_PREFIX}/include --without-kitfox
5252
- make
5353
- cd ${MANIFOLD_DIR}/simulator/smp/QsimProxy
54-
- make -f Makefile.kitfox
54+
- make -f Makefile
5555
- cd ${MANIFOLD_DIR}
56-
- ./configure QSIMINC=${QSIM_PREFIX}/include --without-kitfox
56+
- make distclean
57+
- ./configure QSIMINC=${QSIM_PREFIX}/include KITFOXINC=${KITFOX_PREFIX}
5758
- make
5859
- cd ${MANIFOLD_DIR}/simulator/smp/QsimProxy
59-
- make -f Makefile
60+
- make clean
61+
- make -f Makefile.kitfox
6062
after_failure:
6163
- cat ${MANIFOLD_DIR}/config.log
6264
compiler:

setup.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,6 @@ fi
8484
if [ $? -eq "0" ]; then
8585
echo "\n${bold}Manifold built successfully!${normal}\n\n"
8686
echo "Simulation Example:"
87-
echo "QsimProxy/smp_llp ../config/conf2x3_spx_torus_llp.cfg ../state/state.4 ../benchmark/graphbig_x86/bc.tar"
87+
echo "cd simulator/smp/QsimProxy"
88+
echo "smp_llp ../config/conf2x3_spx_torus_llp.cfg ../state/state.4 ../benchmark/graphbig_x86/bc.tar"
8889
fi

simulator/smp/QsimProxy/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CXX = mpic++
22
QSIM_ROOT = ${QSIM_PREFIX}
33
MODELS_DIR = ../../../models
44
CPPFLAGS += -Wall -g -DUSE_QSIM -DSTATS -I$(QSIM_ROOT)/include -I ../../.. -I$(MODELS_DIR)/processor -I$(MODELS_DIR)/qsim -I$(MODELS_DIR)/cache -I$(MODELS_DIR)/network -I$(MODELS_DIR)/memory -I$(MODELS_DIR)/cross -std=c++11
5-
LDFLAGS = -lqsim -L$(QSIM_ROOT)/lib -lmcp-iris -L$(MODELS_DIR)/cross/mcp_cache-iris -liris -L$(MODELS_DIR)/network/iris -lmcp-cache -L$(MODELS_DIR)/cache/mcp-cache -lspx -L$(MODELS_DIR)/processor/spx -lqsim_proxy -L$(MODELS_DIR)/qsim/proxy -lqsim_interrupt_handler -L$(MODELS_DIR)/qsim/interrupt_handler -lkitfox_proxy -L$(MODELS_DIR)/kitfox/proxy -lcaffdram -L$(MODELS_DIR)/memory/CaffDRAM -lDRAMSim2 -L$(MODELS_DIR)/memory/DRAMSim2 -lDRAMSim2proper -L$(MODELS_DIR)/memory/DRAMSim2/DRAMSim2-2.2.2 -L../../../kernel -lmanifold -ldl -lrt
5+
LDFLAGS = -lqsim -L$(QSIM_ROOT)/lib -lmcp-iris -L$(MODELS_DIR)/cross/mcp_cache-iris -liris -L$(MODELS_DIR)/network/iris -lmcp-cache -L$(MODELS_DIR)/cache/mcp-cache -lspx -L$(MODELS_DIR)/processor/spx -lqsim_proxy -L$(MODELS_DIR)/qsim/proxy -lqsim_interrupt_handler -L$(MODELS_DIR)/qsim/interrupt_handler -lcaffdram -L$(MODELS_DIR)/memory/CaffDRAM -lDRAMSim2 -L$(MODELS_DIR)/memory/DRAMSim2 -lDRAMSim2proper -L$(MODELS_DIR)/memory/DRAMSim2/DRAMSim2-2.2.2 -L../../../kernel -lmanifold -ldl -lrt
66

77
VPATH = ../common
88

0 commit comments

Comments
 (0)