Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Macports take FOREVER to build simple packages?

Building from source outside of macports is a breeze. Building with macports takes forever and seems to freeze the os every so often. Is this typical behavior? Although it seems like a nice packaging tool for os x, if I have to go through this pain every time during every install I think I'll do without it.

like image 328
ennuikiller Avatar asked Aug 29 '09 21:08

ennuikiller


People also ask

Does MacPorts compile?

MacPorts is an easy to use system for compiling, installing, and managing open source software.

What is MacPorts user Mac?

MacPorts, formerly called DarwinPorts, is a package management system that simplifies the installation of software on the macOS and Darwin operating systems. It is an open-source software project that aims to simplify the installation of other open source software.

How do I install MacPorts on High Sierra?

The easiest way to install MacPorts on a Mac is by downloading the pkg or dmg for Monterey, Big Sur, Catalina, Mojave, High Sierra, Sierra, El Capitan, Yosemite, Mavericks, Mountain Lion, Lion, Snow Leopard, Leopard or Tiger and running the system's Installer by double-clicking on the pkg contained therein, following ...


1 Answers

If you are running on an Intel Core 2 Duo you can double the speed of your builds by changing the Macports config option located here:

/opt/local/etc/macports/macports.conf

# Number of simultaneous make jobs (commands) to use when building ports buildmakejobs       2 

I was kicking myself when I discovered this AFTER I rebuilt gcc ;)

This option will allow you to use both cpu's for building packages.

like image 57
galaxywatcher Avatar answered Sep 21 '22 11:09

galaxywatcher