Add support for ppc64le arch

ck_pring
Phil Sorber 10 years ago
parent b45f94a611
commit 47354965bc

2
configure vendored

@ -415,7 +415,7 @@ case $PLATFORM in
;; ;;
esac esac
;; ;;
"ppc64") "ppc64"|"ppc64le")
RTM_ENABLE="CK_MD_RTM_DISABLE" RTM_ENABLE="CK_MD_RTM_DISABLE"
MM="${MM:-"CK_MD_RMO"}" MM="${MM:-"CK_MD_RMO"}"
PLATFORM=ppc64 PLATFORM=ppc64

@ -8,7 +8,11 @@ validate: validate.c ../../../include/ck_cohort.h
$(CC) $(CFLAGS) -o validate validate.c $(CC) $(CFLAGS) -o validate validate.c
check: all check: all
ifeq ($(expr ($(CORES) / 2) > 0),$(expr 0))
./validate 1 2 1
else
./validate `expr $(CORES) / 2` 2 1 ./validate `expr $(CORES) / 2` 2 1
endif
clean: clean:
rm -rf *.dSYM *.exe *~ *.o $(OBJECTS) rm -rf *.dSYM *.exe *~ *.o $(OBJECTS)

Loading…
Cancel
Save