Has anyone seen successfully compiled arm64 binari...
# orm-help
d
Has anyone seen successfully compiled arm64 binaries? I’d really love to get it running on my pi cluster swarm, but would be happy just running it on one of the SBCs.
t
clone https://github.com/prisma/prisma-engines compile, then export
export PRISMA_QUERY_ENGINE_BINARY=/home/prisma-engines/target/release/query-engine
export PRISMA_INTROSPECTION_ENGINE_BINARY=/home/ubuntu/prisma-engines/target/release/introspection-engine
export PRISMA_MIGRATION_ENGINE_BINARY=/home/ubuntu/prisma-engines/target/release/migration-engine
export PRISMA_FMT_BINARY=/home/ubuntu/prisma-engines/target/release/prisma-fmt
Works fine, the only thing that I ma experiencing issues at the moment is the prisma studio, yet it was working fine before I reinstalled the OS, so maybe I have not configured something properly...
👍 1
d
Thanks.
Hmmm... I’m still getting an exec format error a d the container keeps restarting. As far as I can tell, that means it’s still not picking up the recompiled binaries. I got rust set up and was able to compile successfully. I’ve tried exporting the BINARIES variables above (with my own dir structure) and putting them in the .env file with the key, but Istill get the same behavior. Any leads, @channel ?
t
export them by in the terminal or in the .bashrc or in /etc/environment
d
Cool. Thanks.