Skip to content

Commit

Permalink
Not use -msse2 on power or arm arch. close dmlc#2446 (dmlc#2475)
Browse files Browse the repository at this point in the history
  • Loading branch information
thirdwing authored and terrytangyuan committed Jul 7, 2017
1 parent 9091493 commit e7530bd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions make/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ USE_S3 = 0
# whether use Azure blob support during compile
USE_AZURE = 0

#----------------------------
# Settings for power and arm arch
#----------------------------
ARCH := $(shell uname -a)
ifneq (,$(filter $(ARCH), armv6l armv7l powerpc64le ppc64le aarch64))
USE_SSE=0
else
USE_SSE=1
endif

# Rabit library version,
# - librabit.a Normal distributed version.
# - librabit_empty.a Non distributed mock version,
Expand Down

0 comments on commit e7530bd

Please sign in to comment.