jeanluct / braidlab

Matlab package for analyzing data using braids
GNU General Public License v3.0
23 stars 9 forks source link

Compiling braidlab on "virgin" Matlab under Mac OS X #96

Closed mbudisic closed 9 years ago

mbudisic commented 9 years ago

"virgin" referring to new installation, without mexopts.sh in ~/.matlab/R2014b folder that re-establishes the old "legacy" way of configuring mex.

It almost works as is. The only problem is detection of gmp library, which should not really be braidlab's problem, but it is :) This can be done by an environment variable, but I am having a hard time figuring out which variable needs to be set.

Otherwise, if GMP is not installed, we can turn it off using a flag, which works as far as I can tell.

jeanluct commented 9 years ago

What would you like to do? Is this a release-2.2 issue?

mbudisic commented 9 years ago

I think it should be. If we're making release-2.2 a "broad and wide" issue, then we might rightly expect to have to field these questions.

First, would it make sense to disable GMP by default and only enable it if a user requests it? Second, I really need a couple of hours to figure this out, but time is unfortunately scarce...

jeanluct commented 9 years ago

The GMP issue is mentioned in the guide, as well as how to disable it. I think the default should be on: it is a huge improvement. People can read the guide and turn it off if needed.