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 8, 2018
2 parents 956e73b + 3379a8d commit 80955f7
Show file tree
Hide file tree
Showing 4 changed files with 24 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
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%,$(CPU_ARCH)))
# There are problem with unused `-mcpu...` arguments in clang and with
# ranlib + LLVM/clang in this package with Cortex-M
TOOLCHAINS_BLACKLIST += llvm
endif

0 comments on commit 80955f7

Please sign in to comment.