You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: c_models/makefiles/extra.mk
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,4 @@
1
-
ifndefSPYNNAKER_INSTALL_DIR
2
-
$(error SPYNNAKER_INSTALL_DIR is not set. Please define SPYNNAKER_INSTALL_DIR (possibly by running "source setup" in the neural_modelling folder within the sPyNNaker source folder))
3
-
endif
1
+
SPYNNAKER_INSTALL_DIR := $(strip$(if$(SPYNNAKER_INSTALL_DIR), $(SPYNNAKER_INSTALL_DIR), $(if$(SPINN_DIRS), $(SPINN_DIRS)/spynnaker_install, $(error SPYNNAKER_INSTALL_DIR or SPINN_DIRS is not set. Please define SPYNNAKER_INSTALL_DIR or SPINN_DIRS))))
Copy file name to clipboardExpand all lines: c_models/makefiles/extra_neuron.mk
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,4 @@
1
-
ifndefSPYNNAKER_INSTALL_DIR
2
-
$(error SPYNNAKER_INSTALL_DIR is not set. Please define SPYNNAKER_INSTALL_DIR (possibly by running "source setup" in the neural_modelling folder within the sPyNNaker source folder))
3
-
endif
1
+
SPYNNAKER_INSTALL_DIR := $(strip$(if$(SPYNNAKER_INSTALL_DIR), $(SPYNNAKER_INSTALL_DIR), $(if$(SPINN_DIRS), $(SPINN_DIRS)/spynnaker_install, $(error SPYNNAKER_INSTALL_DIR or SPINN_DIRS is not set. Please define SPYNNAKER_INSTALL_DIR or SPINN_DIRS))))
Copy file name to clipboardExpand all lines: c_models/makefiles/extra_synapse.mk
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,4 @@
1
-
ifndefSPYNNAKER_INSTALL_DIR
2
-
$(error SPYNNAKER_INSTALL_DIR is not set. Please define SPYNNAKER_INSTALL_DIR (possibly by running "source setup" in the neural_modelling folder within the sPyNNaker source folder))
3
-
endif
1
+
SPYNNAKER_INSTALL_DIR := $(strip$(if$(SPYNNAKER_INSTALL_DIR), $(SPYNNAKER_INSTALL_DIR), $(if$(SPINN_DIRS), $(SPINN_DIRS)/spynnaker_install, $(error SPYNNAKER_INSTALL_DIR or SPINN_DIRS is not set. Please define SPYNNAKER_INSTALL_DIR or SPINN_DIRS))))
0 commit comments