CortexTheseus
CortexTheseus copied to clipboard
Makefile cross
make cortex-cross
It will be very useful to make this available, xgo
Compile golang for different platforms? Sounds cool !
Maybe use docker, I am also not familiar with it of crossing. It will be nice for you guys to do some investigation. https://github.com/ethereum/go-ethereum/blob/master/Makefile#L58
Ok, I'll start the investigation after fixing the current bugs in test
Ok, I'll start the investigation after fixing the current bugs in test
Great, if there is some progress, you can create a PR related this issue
https://github.com/karalabe/xgo
the karalabe/xgo may not support go mod. fixed : https://github.com/gythialy/xgo
Good, it seems that go-ethereum https://github.com/ethereum/go-ethereum/blob/master/build/ci.go#L1042 still use this repo, we need to take a further look.
https://github.com/karalabe/xgo/pull/144
This PR related the go.mod issue for go.mod
auto detecting, if it is necessary we can fork and merge this PR
Client:
Version: 19.03.6
API version: 1.40
Go version: go1.12.17
Git commit: 369ce74a3c
Built: Fri Feb 28 23:45:43 2020
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 19.03.6
API version: 1.40 (minimum version 1.12)
Go version: go1.12.17
Git commit: 369ce74a3c
Built: Wed Feb 19 01:06:16 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.3.3-0ubuntu1~18.04.2
GitCommit:
runc:
Version: spec: 1.0.1-dev
GitCommit:
docker-init:
Version: 0.18.0
GitCommit:
Go version: go1.12.17
Higher go version needed
build github.com/CortexFoundation/CortexTheseus/cmd/cortex: cannot load hash/maphash: malformed module path "hash/maphash": missing dot in first path element
2020/07/10 20:39:51 Failed to cross compile package: exit status 1.
util.go:45: exit status 1
exit status 1
Makefile:169: recipe for target 'cortex-linux-386' failed
make: *** [cortex-linux-386] Error 1
https://github.com/techknowlogick/xgo recently updated
Stale issue message