Skip to content

Commit

Permalink
Turn on LLVM assertions for arm and power.
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Viral B. Shah committed Jul 24, 2016
1 parent dbba1d4 commit f4ce984
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -642,23 +642,26 @@ else
ISX86:=0
endif

# If we are running on powerpc64 or ppc64, set certain options automatically
# If we are running on powerpc64 or ppc64le, set certain options automatically
ifneq (,$(filter $(ARCH), powerpc64 ppc64le))

JCFLAGS += -fsigned-char
override LLVM_VER:=3.8.1
override LLVM_ASSERTIONS:=1
override OPENBLAS_DYNAMIC_ARCH:=0
override OPENBLAS_TARGET_ARCH:=POWER8

endif

# If we are running on ARM, set certain options automatically
ifneq (,$(findstring arm,$(ARCH)))
JCFLAGS += -fsigned-char

JCFLAGS += -fsigned-char
override LLVM_VER:=3.8.1
override USE_BLAS64:=0
override LLVM_ASSERTIONS:=1
override OPENBLAS_DYNAMIC_ARCH:=0
override OPENBLAS_TARGET_ARCH:=ARMV7
override USE_BLAS64:=0
override USE_SYSTEM_LIBM:=1

endif
Expand Down

0 comments on commit f4ce984

Please sign in to comment.