Coder Social home page Coder Social logo

ARM support about pg_uuidv7 HOT 10 OPEN

fboulnois avatar fboulnois commented on August 27, 2024 3
ARM support

from pg_uuidv7.

Comments (10)

x4m avatar x4m commented on August 27, 2024 1

Works on M2 fine.

from pg_uuidv7.

fboulnois avatar fboulnois commented on August 27, 2024

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.

from pg_uuidv7.

kevinvdburgt avatar kevinvdburgt commented on August 27, 2024

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.

from pg_uuidv7.

kevinvdburgt avatar kevinvdburgt commented on August 27, 2024

@x4m Any change you're running it with Rosetta? If not, how do you run PG on the M2?

from pg_uuidv7.

x4m avatar x4m commented on August 27, 2024

@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

from pg_uuidv7.

x4m avatar x4m commented on August 27, 2024

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

from pg_uuidv7.

kevinvdburgt avatar kevinvdburgt commented on August 27, 2024

@x4m ah, this issue isn't about compiling but the prebuild binaries in the releases 😁

from pg_uuidv7.

x4m avatar x4m commented on August 27, 2024

What's the point in releasing binaries? there is an infinite number of OS+Arch combinations...

from pg_uuidv7.

kevinvdburgt avatar kevinvdburgt commented on August 27, 2024

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.

from pg_uuidv7.

chicco785 avatar chicco785 commented on August 27, 2024

have you thought about using dockerx to make the build in github and extract the outcome from the images?

from pg_uuidv7.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.