|
|
@ -1,6 +1,7 @@ |
|
|
|
#GOPATH := $(CURDIR)/tmp/gopath
|
|
|
|
#GOPATH := $(CURDIR)/tmp/gopath
|
|
|
|
MAKE_OPTIONS := -s
|
|
|
|
MAKE_OPTIONS := -s
|
|
|
|
ARCH := $(shell uname -s)
|
|
|
|
ARCH := $(shell uname -s)
|
|
|
|
|
|
|
|
GCCVERSIONGTEQ4 := $(shell expr `gcc -dumpversion | cut -f1 -d.` \>= 4)
|
|
|
|
|
|
|
|
|
|
|
|
all: getdeps install |
|
|
|
all: getdeps install |
|
|
|
|
|
|
|
|
|
|
@ -19,7 +20,11 @@ build-utils: |
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha1
|
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha1
|
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha256
|
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha256
|
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha512
|
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/crypto/sha512
|
|
|
|
ifeq ($(ARCH), Linux) |
|
|
|
ifeq ($(ARCH), Darwin) |
|
|
|
|
|
|
|
ifeq ($(GCCVERSIONGTEQ4), "1") |
|
|
|
|
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/checksum/crc32c
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
else |
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/checksum/crc32c
|
|
|
|
@godep go test -race -coverprofile=cover.out github.com/minio-io/minio/pkg/utils/checksum/crc32c
|
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|