1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

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

pkg: blacklist selected `pkg`s for LLVM/clang
This commit is contained in:
Gaëtan Harter 2018-09-21 15:33:49 +02:00 committed by GitHub
commit fc32f81981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 0 deletions

View File

@ -1,2 +1,9 @@
INCLUDES += -I$(PKGDIRBASE)/jerryscript/jerry-core/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

View File

@ -1 +1,7 @@
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

View File

@ -31,3 +31,6 @@ DIRS += \
$(NORDIC_SRCS)/components/softdevice/common/softdevice_handler \
$(NORDIC_SRCS)/components/ble/common \
$(NORDIC_SRCS)/components/iot/ble_ipsp
# LLVM ARM assembler has massive problems digesting this
TOOLCHAINS_BLACKLIST += llvm

View File

@ -8,3 +8,9 @@ ifneq (,$(filter openthread_contrib,$(USEMODULE)))
DIRS += $(OPENTHREAD_DIR)/contrib
DIRS += $(OPENTHREAD_DIR)/contrib/netdev
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

View File

@ -11,3 +11,9 @@ endif
export 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