Skip to content

Commit fedd621

Browse files
committed
Add new model template and fix debug to be similar to not debug
1 parent 4a7b665 commit fedd621

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

automatic_make.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ do_make() {
3030
}
3131

3232
do_make spinnaker_tools
33-
#do_make spinn_common install
34-
#do_make SpiNNFrontEndCommon/c_common/front_end_common_lib install
35-
#do_make SpiNNFrontEndCommon/c_common/ install
36-
#do_make sPyNNaker/neural_modelling/
37-
#do_make sPyNNaker8NewModelTemplate/c_models/
38-
#do_make SpiNNakerGraphFrontEnd/spinnaker_graph_front_end/examples/
33+
do_make spinn_common install
34+
do_make SpiNNFrontEndCommon/c_common/front_end_common_lib install
35+
do_make SpiNNFrontEndCommon/c_common/ install
36+
do_make sPyNNaker/neural_modelling/
37+
do_make sPyNNaker8NewModelTemplate/c_models/
38+
do_make SpiNNakerGraphFrontEnd/spinnaker_graph_front_end/examples/

automatic_make_debug.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ do_make() {
77
# Run setup.bash if it exists
88
if [ -f "$1/setup.bash" ]; then
99
cd $1
10-
source setup.bash
10+
source setup.bash || exit $?
11+
cd -
12+
fi
13+
if [ -f "$1/setup" ]; then
14+
cd $1
15+
source setup || exit $?
1116
cd -
1217
fi
1318
# Clean
@@ -24,11 +29,10 @@ do_make() {
2429
fi
2530
}
2631

27-
cd spinnaker_tools && source ./setup && cd ..
2832
do_make spinnaker_tools
2933
do_make spinn_common install
30-
do_make SpiNNFrontEndCommon/c_common/front_end_common_lib install FEC_DEBUG=DEBUG
34+
do_make SpiNNFrontEndCommon/c_common/front_end_common_lib install
3135
do_make SpiNNFrontEndCommon/c_common/ install
32-
cd sPyNNaker/neural_modelling && source ./setup.bash && cd ../..
33-
do_make sPyNNaker/neural_modelling/ noinstall SPYNNAKER_DEBUG=DEBUG
36+
do_make sPyNNaker/neural_modelling/
37+
do_make sPyNNaker8NewModelTemplate/c_models/
3438
do_make SpiNNakerGraphFrontEnd/spinnaker_graph_front_end/examples/

0 commit comments

Comments
 (0)