Skip to content
Snippets Groups Projects
Unverified Commit fc32f819 authored by Gaëtan Harter's avatar Gaëtan Harter Committed by GitHub
Browse files

Merge pull request #9734 from miri64/pkg/fix/blacklist-llvm

pkg: blacklist selected `pkg`s for LLVM/clang
parents 91f71101 58f71508
No related branches found
No related tags found
No related merge requests found
INCLUDES += -I$(PKGDIRBASE)/jerryscript/jerry-core/include INCLUDES += -I$(PKGDIRBASE)/jerryscript/jerry-core/include
INCLUDES += -I$(PKGDIRBASE)/jerryscript/jerry-ext/include INCLUDES += -I$(PKGDIRBASE)/jerryscript/jerry-ext/include
ifneq (,$(filter cortex-m%,$(CPU_ARCH)))
# jerryscript package package is not using system includes right now, so
# many newlib hearders (not even stdio.h) is found
# Fixed in #9821 (so remove when merged)
TOOLCHAINS_BLACKLIST += llvm
endif
INCLUDES += -I$(PKGDIRBASE)/micro-ecc INCLUDES += -I$(PKGDIRBASE)/micro-ecc
ifneq (,$(filter cortex-m0%,$(CPU_ARCH)))
# LLVM/clang can't handle the inline assembler instructions on M0 in this
# package
TOOLCHAINS_BLACKLIST += llvm
endif
...@@ -31,3 +31,6 @@ DIRS += \ ...@@ -31,3 +31,6 @@ DIRS += \
$(NORDIC_SRCS)/components/softdevice/common/softdevice_handler \ $(NORDIC_SRCS)/components/softdevice/common/softdevice_handler \
$(NORDIC_SRCS)/components/ble/common \ $(NORDIC_SRCS)/components/ble/common \
$(NORDIC_SRCS)/components/iot/ble_ipsp $(NORDIC_SRCS)/components/iot/ble_ipsp
# LLVM ARM assembler has massive problems digesting this
TOOLCHAINS_BLACKLIST += llvm
...@@ -8,3 +8,9 @@ ifneq (,$(filter openthread_contrib,$(USEMODULE))) ...@@ -8,3 +8,9 @@ ifneq (,$(filter openthread_contrib,$(USEMODULE)))
DIRS += $(OPENTHREAD_DIR)/contrib DIRS += $(OPENTHREAD_DIR)/contrib
DIRS += $(OPENTHREAD_DIR)/contrib/netdev DIRS += $(OPENTHREAD_DIR)/contrib/netdev
endif endif
ifneq (,$(filter cortex-m0% cortex-m3%,$(CPU_ARCH)))
# There are problem with unused `-mcpu...` arguments in clang and with
# ranlib + LLVM/clang in this package with Cortex-M0 and M3
TOOLCHAINS_BLACKLIST += llvm
endif
...@@ -11,3 +11,9 @@ endif ...@@ -11,3 +11,9 @@ endif
export QDSA_IMPL export QDSA_IMPL
INCLUDES += -I$(PKGDIRBASE)/qDSA/$(QDSA_IMPL) INCLUDES += -I$(PKGDIRBASE)/qDSA/$(QDSA_IMPL)
ifeq (cortex-m0plus,$(CPU_ARCH))
# There are problems with the LLVM assembler and the Cortex-M0+ instruction
# set with this package
TOOLCHAINS_BLACKLIST += llvm
endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment