Merge with Intel ISAL changes from github.com/minio-io/isal

- These changes bring in a much needed Mac OSX port for
    Intel ISAL library
  - At the current stage this MacOSX part of code is
    considered beta
  - pkg/cpu now supports OSX
  - pkg/checksum/crc32c - is still WIP, rest of the packages
    have been validated
This commit is contained in:
Harshavardhana
2015-01-10 22:50:51 -08:00
parent c82d2b95d7
commit f347a1e590
31 changed files with 864 additions and 153 deletions

View File

@@ -1,12 +1,17 @@
all: build test
.PHONY: all
SYSTEM_NAME := $(shell uname -s)
test:
@godep go test -race -coverprofile=cover.out
isal/isal-l.a:
ifeq ($(SYSTEM_NAME), Darwin)
@$(MAKE) -C isal arch=osx lib
else
@$(MAKE) -C isal lib
endif
build: isal/isal-l.a
@godep go build