Skip to content
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

Compiled binaries for heroku #2

Open
peyloride opened this issue Jan 2, 2018 · 6 comments
Open

Compiled binaries for heroku #2

peyloride opened this issue Jan 2, 2018 · 6 comments

Comments

@peyloride
Copy link

Hello,

As far as I understand, this shard compiles another git repo and uses it. In heroku AFAIK this is not possible. Is there a way to compile locally and use that binary in heroku?

@kostya
Copy link
Owner

kostya commented Jan 2, 2018

i don't know how to use heroku, We deploy it with crystal deps command executed after deploy, it compile and setup all dependencies on target pc.

@peyloride
Copy link
Author

I understand but heroku does not have any gcc or cc command available. Because of that it can not compile.

@kostya
Copy link
Owner

kostya commented Jan 2, 2018

There is no precompiled versions. Need to wait until https://github.com/lexborisov/Modest would have library installed with aptitude. Or can you compile this file with the same arch and put it on target machine? src/ext/modest-c/lib/libmodest_static.a, this would be enought.

@kostya
Copy link
Owner

kostya commented Jan 2, 2018

i think you should use something like crystalgiri with libxml on heroku, which use libxml as shared lib.

@kostya
Copy link
Owner

kostya commented Jan 2, 2018

actually i think you can compile binary of your program and upload it to heroku purely, it should work if it have the similar arch, like linux64.

@peyloride
Copy link
Author

Thanks for suggestions I'll try when i got spare time. I'll let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants