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_common/front_end_common_lib/Makefile
+21-12Lines changed: 21 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,13 @@
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
-
# If SPINN_COMMON_INSTALL_DIR is not defined, this is also an error!
16
-
SPINN_COMMON_INSTALL_DIR := $(strip$(if$(SPINN_COMMON_INSTALL_DIR), $(SPINN_COMMON_INSTALL_DIR), $(if$(SPINN_DIRS), $(SPINN_DIRS)/spinn_common_install, $(error SPINN_COMMON_INSTALL_DIR or SPINN_DIRS is not set. Please define SPINN_COMMON_INSTALL_DIR or SPINN_DIRS))))
INSTALL_ERROR := c_common/front_end_common_lib install is only required if you are building in a temporary location.
69
+
INSTALL_ERROR += In which case you must set the environment variable FEC_INSTALL_DIR to where the install should go.
70
+
INSTALL_ERROR += This environment variable must also exist for all higher level makes.
71
+
63
72
# Installing rules
64
-
install: $(FEC_BUILD)/$(APP).a
65
-
$(eval FEC_INSTALL_DIR := $(strip$(if$(FEC_INSTALL_DIR), $(FEC_INSTALL_DIR), $(if$(SPINN_DIRS), $(SPINN_DIRS)/fec_install, $(error FEC_INSTALL_DIR or SPINN_DIRS is not set. Please define FEC_INSTALL_DIR or SPINN_DIRS)))))
Copy file name to clipboardExpand all lines: c_common/front_end_common_lib/make/fec.mk
+12-13Lines changed: 12 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,6 @@
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
-
# FEC_INSTALL_DIR must be set for this file to be found
16
-
17
-
# We also need SPINN_COMMON_INSTALL_DIR for common library
18
-
SPINN_COMMON_INSTALL_DIR := $(strip$(if$(SPINN_COMMON_INSTALL_DIR), $(SPINN_COMMON_INSTALL_DIR), $(if$(SPINN_DIRS), $(SPINN_DIRS)/spinn_common_install, $(error SPINN_COMMON_INSTALL_DIR or SPINN_DIRS is not set. Please define SPINN_COMMON_INSTALL_DIR or SPINN_DIRS))))
19
-
20
15
# Find out where we are installed now (in the make subdirectory, so go up one)
0 commit comments