|
|
|
@ -3,10 +3,12 @@ go: |
|
|
|
|
- stable |
|
|
|
|
go_import_path: github.com/harmony-one/harmony |
|
|
|
|
install: |
|
|
|
|
- env GO111MODULE=on |
|
|
|
|
- export GOPATH=$HOME/gopath |
|
|
|
|
- export CGO_CPPFLAGS="-I$GOPATH/src/github.com/harmony-one/bls/include -I$GOPATH/src/github.com/harmony-one/mcl/include" |
|
|
|
|
- export CGO_LDFLAGS="-L$GOPATH/src/github.com/harmony-one/bls/lib -L$GOPATH/src/github.com/harmony-one/mcl/lib" |
|
|
|
|
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GOPATH/src/github.com/harmony-one/bls/lib:$GOPATH/src/github.com/harmony-one/mcl/lib |
|
|
|
|
- mkdir -p $HOME/gopath/src/github.com/harmony-one |
|
|
|
|
- cd $HOME/gopath/src |
|
|
|
|
- cd github.com/harmony-one |
|
|
|
|
- git clone https://github.com/harmony-one/mcl.git |
|
|
|
|