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 Aug 12, 2018
2 parents 95f8be9 + 6d90988 commit d0f5479
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/jerryscript/Makefile.include
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
INCLUDES += -I$(PKGDIRBASE)/jerryscript/jerry-core/include
INCLUDES += -I$(PKGDIRBASE)/jerryscript/jerry-ext/include

ifneq (,$(filter cortex-m%,$(CPU_ARCH)))
# There is a linking issue to `_setjmp()` and `stderr` when compiling
# for Cortex-M with LLVM/clang
TOOLCHAINS_BLACKLIST += llvm
endif
6 changes: 6 additions & 0 deletions pkg/libcose/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ endif

# Declare pseudomodules here to be selfcontained
PSEUDOMODULES += libcose_crypt_%

ifneq (,$(filter cortex-m0%,$(CPU_ARCH)))
# There is a problem with the LLVM assembler, the M0(+) instruction set, and
# the assembly part of this package
TOOLCHAINS_BLACKLIST += llvm
endif
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

0 comments on commit d0f5479

Please sign in to comment.