Since my macOS 10.12 VM is limited to 2 virtual CPUs, I use -j 3. My recommendation is to use one more job than the number of logical processors you have. make -j 3 postgresql) for parallel builds. If you want to change the version number of any of the dependencies, edit the makefile (all version numbers are specified at the top). So for best results, make sure that directory is empty before starting the build. The makefile will install all products in /Applications/Postgres.app/Contents/Versions/xx (xx is the major version of PostgreSQL). PostGIS and especially plv8 with all their dependencies take a long time to build, so if you don't need them, type make postgresql instead. The default target ( all) builds postgresql, postgis, wal2json, pldebugger and plv8 (till PostgreSQL 13). The makefile will download and build many gigabytes of sources. If you have all the prerequisites installed (see below), you can just type make. The directories src-xx each contain a makefile that downloads and builds all the binaries. If you want to build your own versions of all the PostgreSQL binaries, you have slightly more work to do.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |