install:mac_compiling_homebrew

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
howto:mac_compiling_homebrew [2017/04/07 09:21] paffenholzinstall:mac_compiling_homebrew [2019/07/18 13:00] paffenholz
Line 1: Line 1:
 === Compiling polymake === === Compiling polymake ===
  
-This has been tested on **Mac OS 10.10** and later.+This has been tested on **Mac OS 10.11** and later.
  
 Get the ''polymake'' sources (either the latest release, or do a checkout of the perpetual beta, see [[:download/start|here]] for links). If you used a tar ball unpack it and switch into the polymake directory. If you use the perpetual beta, switch into the directory trunk. Now issue Get the ''polymake'' sources (either the latest release, or do a checkout of the perpetual beta, see [[:download/start|here]] for links). If you used a tar ball unpack it and switch into the polymake directory. If you use the perpetual beta, switch into the directory trunk. Now issue
 <code> <code>
-./configure --without-fink+./configure
 </code> </code>
-if you use release 3.1 of polymake, and  +
-<code> +
-./configure --without-fink LDFLAGS=' -stdlib=libstdc++' CXXFLAGS=-I/usr/include/c++/4.2.1 +
-</code> +
-for any other release (but not older than 2.14).+
  
 If you do not want to install into /usr/local (or you don't have sudo rights), then add If you do not want to install into /usr/local (or you don't have sudo rights), then add
Line 17: Line 13:
 --prefix=$HOME/polymake-install --prefix=$HOME/polymake-install
 </code> </code>
-to configure, where $HOME/polymake-install can be any directory in your $HOME folder. +to configure, where '''$HOME/polymake-install''' can be any directory in your $HOME folder. 
  
 If you have never used java before you will get a popup window that asks you to install java. Please do so and rerun the above command.  If you have never used java before you will get a popup window that asks you to install java. Please do so and rerun the above command. 
Line 23: Line 19:
 Once this has finished do Once this has finished do
 <code> <code>
-make +ninja -C build/Opt install
-make install+
 </code> </code>
-The first command will take a while. If you have not specified a local directory then the second command should be+This will take a while. If you have not specified a local directory then you will need to call this with ''sudo''. You can pass a 
 <code> <code>
-sudo make install+-j2 
 </code> </code>
-This will ask for your password+as option to use both cores for compiling. Your computer will probably become unresponsive for a while.