You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/09/11 12:40:28 UTC
[nuttx-apps] branch master updated (fc5351b4b -> 0ddcedcf6)
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
from fc5351b4b Fix coremark/core_util.c:210:17: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
new 258d637df Makefile:resolve Mac make error block
new 0ddcedcf6 ignore specific waring on MacOS for CI break
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
testing/ltp/Makefile | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
[nuttx-apps] 01/02: Makefile:resolve Mac make error block
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 258d637df374fab9fa0be779fa0e73f530a4f70e
Author: xuxin19 <xu...@xiaomi.com>
AuthorDate: Mon Sep 11 16:06:13 2023 +0800
Makefile:resolve Mac make error block
Signed-off-by: xuxin19 <xu...@xiaomi.com>
---
testing/ltp/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile
index 49e68c276..f32aab79f 100644
--- a/testing/ltp/Makefile
+++ b/testing/ltp/Makefile
@@ -222,7 +222,7 @@ MAINWORDS += "main("
LTP_ORIGS := $(shell find $(TESTDIR) -name *.c)
ifneq ($(LTP_ORIGS),)
-$(call SPLITVARIABLE,ORIGS_SPILT,$(LTP_ORIGS),200)
+$(eval $(call SPLITVARIABLE,ORIGS_SPILT,$(LTP_ORIGS),200))
$(foreach BATCH, $(ORIGS_SPILT_TOTAL), \
$(foreach word, $(BLACKWORDS), $(eval BLACKLIST+=$(shell grep -lr $(word) $(ORIGS_SPILT_$(BATCH))))) \
)
@@ -232,7 +232,7 @@ $(foreach src, $(BLACKSRCS), $(eval BLACKLIST+=$(filter %$(src),$(LTP_ORIGS))))
LTP_ORIGS := $(filter-out $(BLACKLIST), $(LTP_ORIGS))
ifneq ($(LTP_ORIGS),)
-$(call SPLITVARIABLE,ORIGS_SPILT,$(LTP_ORIGS),200)
+$(eval $(call SPLITVARIABLE,ORIGS_SPILT,$(LTP_ORIGS),200))
$(foreach BATCH, $(ORIGS_SPILT_TOTAL), \
$(foreach word, $(MAINWORDS), $(eval LTP_MAINCSRCS+=$(shell grep -lr $(word) $(ORIGS_SPILT_$(BATCH))))) \
)
@@ -240,7 +240,7 @@ endif
LTP_CSRCS := $(filter-out $(LTP_MAINCSRCS), $(LTP_ORIGS))
ifneq ($(LTP_MAINCSRCS),)
-$(call SPLITVARIABLE,MAINCSRC_SPILT,$(LTP_MAINCSRCS),50)
+$(eval $(call SPLITVARIABLE,MAINCSRC_SPILT,$(LTP_MAINCSRCS),50))
$(foreach BATCH, $(MAINCSRC_SPILT_TOTAL), \
$(eval PROGNAME+=$(basename $(shell echo $(MAINCSRC_SPILT_$(BATCH)) | xargs -n 1 | awk -F "[/]" '{print "ltp_"$$(NF-2)"_"$$(NF-1)"_"$$(NF)}' | sed s/-/_/g))) \
)
[nuttx-apps] 02/02: ignore specific waring on MacOS for CI break
Posted by xi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 0ddcedcf6eae7ab9dce3dfd9c4478b70873b91e6
Author: xuxin19 <xu...@xiaomi.com>
AuthorDate: Mon Sep 11 18:10:16 2023 +0800
ignore specific waring on MacOS for CI break
Signed-off-by: xuxin19 <xu...@xiaomi.com>
---
testing/ltp/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/testing/ltp/Makefile b/testing/ltp/Makefile
index f32aab79f..27ca50107 100644
--- a/testing/ltp/Makefile
+++ b/testing/ltp/Makefile
@@ -270,6 +270,11 @@ CFLAGS += -Wno-unused-variable -Wno-unused-function -Wno-unused-but-set-variable
# Should be removed if possible in the future
CFLAGS += -Wno-incompatible-pointer-types -Wno-overflow -Wno-int-to-pointer-cast
+# Specific compilation errors ignored in MacOS platform
+ifneq ($(CONFIG_HOST_MACOS),)
+CFLAGS += -Wno-integer-overflow -Wno-absolute-value
+endif
+
ltp-$(LTPS_VERSION).zip:
$(call DOWNLOAD,$(LTP_DOWNLOAD_URL),$(LTPS_VERSION).zip, ltp.zip)