modest icon indicating copy to clipboard operation
modest copied to clipboard

Compiled binaries for heroku

Open peyloride opened this issue 7 years ago • 6 comments

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?

peyloride avatar Jan 02 '18 14:01 peyloride

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.

kostya avatar Jan 02 '18 14:01 kostya

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

peyloride avatar Jan 02 '18 14:01 peyloride

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 avatar Jan 02 '18 14:01 kostya

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

kostya avatar Jan 02 '18 14:01 kostya

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.

kostya avatar Jan 02 '18 14:01 kostya

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

peyloride avatar Jan 02 '18 14:01 peyloride