-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Linux Support #1
base: main
Are you sure you want to change the base?
Conversation
gojig.py contains the following lines to get the binary name:
We should change this to include the system name too. And we should make sure these are all lowercase:
Can you please rename the existing binaries for mac to include |
8f0f02e
to
3870d96
Compare
|
||
# Checkout v3.8.1 | ||
WORKDIR "/Users/fergal/go-algorand/" | ||
RUN git checkout v3.8.1-stable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can not build with v3.9 :/ . Also can not build with in my host machine as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# github.com/mattn/go-sqlite3
sqlite3-binding.c: In function 'sqlite3SelectNew':
sqlite3-binding.c:123303:10: warning: function may return address of local variable [-Wreturn-local-addr]
123303 | return pNew;
| ^~~~
sqlite3-binding.c:123263:10: note: declared here
123263 | Select standin;
| ^~~~~~~
# github.com/Hipo/algojig
./main.go:163:43: not enough arguments in call to verify.TxnGroup
have ([]transactions.SignedTxn, bookkeeping.BlockHeader, verify.VerifiedTransactionCache)
want ([]transactions.SignedTxn, bookkeeping.BlockHeader, verify.VerifiedTransactionCache, logic.LedgerForSignature)
This is the exception I got when I try v3.9.x. Same exception without docker.
also, not all tests are passed. I think it is not directly related to the executable.
|
This is Linux binary. I test it with
Because I don't know how can I support more than one binary, I replace mac binary.
@fergalwalsh please lead me about supporting multiple platforms.