Skip to content

Commit

Permalink
Merge pull request #19382 from JuliaLang/sf/aarch64_blas
Browse files Browse the repository at this point in the history
Set certain LLVM and OpenBLAS options automatically for `aarch64`
  • Loading branch information
kshyatt authored Nov 24, 2016
2 parents de65b01 + 7191bde commit 55000fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,13 @@ OPENBLAS_TARGET_ARCH:=ARMV7
USE_SYSTEM_LIBM:=1
endif

# If we are running on aarch64 (e.g. ARMv8 or ARM64), set certain options automatically
ifneq (,$(findstring aarch64,$(ARCH)))
LLVM_VER:=3.9.0
OPENBLAS_DYNAMIC_ARCH:=0
OPENBLAS_TARGET_ARCH:=ARMV8
endif

# Set MARCH-specific flags
ifneq ($(MARCH),)
CC += -march=$(MARCH)
Expand Down

0 comments on commit 55000fd

Please sign in to comment.