Merge pull request #29 from fkautz/pr_out_fixing_isal_compile_from_root_workaround_for_https_code_google_com_p_go_issues_detail_id_7891

Fixing isal compile from root, workaround for https://code.google.com/p/go/issues/detail?id=7891
This commit is contained in:
Harshavardhana 2014-11-22 13:14:35 -08:00
commit 324c23f12e
4 changed files with 10 additions and 6 deletions

View File

@ -2,13 +2,16 @@
all: test install
test:
mkdir -p cover
build-erasure:
cd erasure && make
test: build-erasure
godep go test -race -coverprofile=cover/cover.out github.com/minio-io/minio
godep go test -race github.com/minio-io/minio/cmd/minio
install:
godep go install -race github.com/minio-io/minio/cmd/minio
install: build-erasure
godep go install github.com/minio-io/minio/cmd/minio
save:
godep save ./...

View File

@ -20,7 +20,7 @@
package erasure
// #cgo CPPFLAGS: -Iisal/include
// #cgo LDFLAGS: isal/isa-l.so
// #cgo LDFLAGS: isal/isa-l.a
// #include <stdlib.h>
// #include <erasure-code.h>
// #include <stdlib.h>

View File

@ -20,7 +20,7 @@
package erasure
// #cgo CPPFLAGS: -Iisal/include
// #cgo LDFLAGS: isal/isa-l.so
// #cgo LDFLAGS: isal/isa-l.a
// #include <stdlib.h>
// #include <erasure-code.h>
// #include <stdlib.h>

1
isal Symbolic link
View File

@ -0,0 +1 @@
erasure/isal