InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 05-30-2012, 04:25 AM
ghostec ghostec is offline
Jaguar
 
Join Date: Jan 2012
Posts: 41
(guide) How to compile with homebrew in AMD

I was having this problem, without this workaroung it is very likely that you (AMD user) won't be able to compile anything with homebrew.

The thing that need to be done is:

Open /usr/local/Library/homebrew/extend/ENV.rb and search for the lines starting with set_cpu_cflags then comment with a # before or change the entire line to set_cpu_cflags "arch -i386"

This way it won't be needed to edit formula by formula of the programs you want to compile and you will be able to use homebrew.
Reply With Quote
  #2  
Old 05-30-2012, 06:50 PM
ghostec ghostec is offline
Jaguar
 
Join Date: Jan 2012
Posts: 41
I did a fork in homebrew (github) to help ones wanting to use it oob: https://github.com/ghostec/homebrew/tree/homebrew4amd



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.

Reply With Quote
Reply