components/gcc45/Makefile
changeset 2164 b580bc10e31a
parent 1948 2d1537e7942d
child 2225 f064d3d3190d
equal deleted inserted replaced
2163:a23eea6de4af 2164:b580bc10e31a
    86 
    86 
    87 COMPONENT_BUILD_ENV += SHELL=$(CONFIG_SHELL)
    87 COMPONENT_BUILD_ENV += SHELL=$(CONFIG_SHELL)
    88 
    88 
    89 COMPONENT_BUILD_TARGETS=bootstrap
    89 COMPONENT_BUILD_TARGETS=bootstrap
    90 
    90 
       
    91 # To ensure that all tests that are expected to pass actually
       
    92 # pass, we have to increase the stacksize limit to at least
       
    93 # 16384 Kb. Otherwise we'll get spurious failures in the test
       
    94 # harness (gcc.c-torture/compile/limits-exprparen.c and others).
       
    95 # With the soft stacksize limit set to 16384 we get very good
       
    96 # test results.
       
    97 COMPONENT_TEST_DIR =	$(BUILD_DIR_32)/gcc
       
    98 COMPONENT_TEST_CMD =	ulimit -Ss 16384 ; $(GMAKE)
       
    99 COMPONENT_TEST_ARGS =	-k -i
       
   100 
    91 build:		$(BUILD_32)
   101 build:		$(BUILD_32)
    92 
   102 
    93 install:	$(INSTALL_32) 
   103 install:	$(INSTALL_32) 
    94 
   104 
    95 # To ensure that all tests that are expected to pass actually
   105 test:		$(TEST_32)
    96 # pass, we have to increase the stacksize limit to at least 
       
    97 # 16384 Kb. Otherwise we'll get spurious failures in the test
       
    98 # harness (gcc.c-torture/compile/limits-exprparen.c and others).
       
    99 # With the soft stacksize limit set to 16384 we get very good
       
   100 # test results.
       
   101 test:
       
   102 	( cd $(BUILD_DIR_32)/gcc ; \
       
   103 	    ulimit -Ss 16384 ; \
       
   104 	    $(GMAKE) -k -i check )
       
   105 
   106 
   106 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
   107 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
   107 
   108 
   108 include ../../make-rules/depend.mk
   109 include ../../make-rules/depend.mk