Open kevinvdburgt opened 1 year ago
Cross-compilation is a bit of a pain. It should be pretty easy to generate the ARM platform binaries on your own using the accompanying Dockerfile though.
It should be easier using GitHub workflows to build those binaries for various platforms. However, using the dockerfile on the platform works fine too :-)
If you want, I could submit a PR for the workflow.
Works on M2 fine.
@x4m Any change you're running it with Rosetta? If not, how do you run PG on the M2?
@kevinvdburgt git clone --depth=5 --single-branch --branch=master https://github.com/postgres/postgres cd postgres ./configure --prefix=$PWD --enable-depend make -j10 > /dev/null make check
I have a video about compiling Postgres on your machine: https://www.youtube.com/watch?v=rihfAnd_leM
to run this extensions you will need few more commands make install # install postgres from sources cd contrib git clone https://github.com/fboulnois/pg_uuidv7 cd pg_uuidv7 make install export PATH=$PATH:$PWD/bin # this will export pg_config make install
@x4m ah, this issue isn't about compiling but the prebuild binaries in the releases 😁
What's the point in releasing binaries? there is an infinite number of OS+Arch combinations...
It's fine for me and my team as we host our own binaries for now. We would like to prevent that members have to install all sorts of build tools.
have you thought about using dockerx to make the build in github and extract the outcome from the images?
Are you able to also release ARM platform binaries?