View Source:
MacportsParallel
Note:
This page has been locked and cannot be edited.
!!!Upgrade GNU Parallel Using Macports You are all using [GNU Parallel|http://www.gnu.org/software/parallel/], right? It's an awesome replacement for xargs, bash loops, all sorts of low-level unix command line stuff. Parallel provides a clean way to execute many jobs in parallel on the command line to take advantage of our modern multicore cpus inside command pipelines. One thing I particularly love about parallel is it provides a much cleaner and simpler quoting facility than <code>find -exec</code> or <code>xargs</code>. You can install parallel on a mac via [Macports|http://www.macports.org/], but that is currently at version 20100922. There's been a lot of development in parallel in the last few months so you probably want to get the latest version. Sidebar: yes I know that [homebrew|http://mxcl.github.com/homebrew/] is supposed to be better than macports, but I haven't tried it yet. Anyway, [@kogent|http://www.twitter.com/kogent] just [posted an updated portfile for gnu parallel|https://trac.macports.org/ticket/29322]. You can use this to build and install the latest parallel (20110422) on your mac. Here's what I just did, following this [local macports repo guide|http://guide.macports.org/chunked/development.local-repositories.html]. * download the [new portfile|https://trac.macports.org/raw-attachment/ticket/29322/Portfile]. * look in that file, see that it's category <code>sysutils</code>. * create my local port directory tree with <code>mkdir -p ~~/ports/sysutils/parallel</code> * copy the Portfile to <code>~~/ports/sysutils/parallel</code> * build the port index via <code>cd ~~/ports && portindex</code> * tell the system to look at my private portdir * edit <code>/opt/etc/macports/sources.conf</code> (as root) * add the line <code>file:///Users/philiph/ports</code> (_before_ the existing url line) That's it. Now if you run <code>port search parallel</code> you should see the 04222011 version listed _before_ the old version. Run <code>port install parallel</code> and the new version will be installed. CategoryGeekStuff CategoryMacStuff
Please enable JavaScript to view the
comments powered by Disqus.
HollenbackDotNet
Home Page
Popular Pages
All Categories
Main Categories
General Interest
Geek Stuff
DevOps
Linux Stuff
Pictures
Search
Toolbox
RecentChanges
RecentNewPages
What links here
Printable version
AllPages
RecentChanges
Recent Changes Cached
No changes found
Favorite Categories
ActionPage
(150)
WikiPlugin
(149)
GeekStuff
(137)
PhpWikiAdministration
(102)
Help/PageList
(75)
Help/MagicPhpWikiURLs
(75)
Blog
(69)
Pictures
(60)
GeneralInterest
(44)
LinuxStuff
(38)
Views
View Page
View Source
History
Diff
Sign In