mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
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:
commit
324c23f12e
11
Makefile
11
Makefile
@ -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 ./...
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user