Skip to content

Commit

Permalink
Merge 'pkg/fix/blacklist-llvm' (RIOT-OS#9734)
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Sep 11, 2018
2 parents 012535d + ed5dde0 commit 429079d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/micro-ecc/Makefile.include
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions pkg/nordic_softdevice_ble/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions pkg/openthread/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions pkg/qDSA/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 429079d

Please sign in to comment.