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
Hi Field,
thanks for the bug report. The case of unlimited stack size is indeed not correctly handled, I will take care of it now.
For now you can simply comment out the 5 lines
STACK_SIZE := $(shell ulimit -s)
STACK_SIZE_EXCEEDED := $(shell echo $(K_MAX_STACK)*12*8*2 \> $(STACK_SIZE)*1024 | bc )
ifeq ($(STACK_SIZE_EXCEEDED), 1)
$(error stack size likely to be exceeded, please decrease the value of K_MAX_STACK )
endif
After making three variable modifications to
Makefile.rule
:of commit 78c3120, I run
make
and then receive the following error:Looking at
Makefile.rule
more closely, I find around line 321:It appears that this code doesn't work properly when
ulimit -s
returnsunlimited
, as it does on my current Cray Linux Environment 6 system:I checked a previous version of BLASFEO that was working fine (2c9f312) and it appears that the code snippet above is new.
Commenting out the first five lines above (all except for update of
CFLAGS
) seems to allow the build system to finish normally.The text was updated successfully, but these errors were encountered: