Commit b8b8de83 authored by sebastien's avatar sebastien
Browse files

v4 matlab/mex:

* tuned build.m for MacIntel
* added corresponding binaries for Matlab 7.5


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1678 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 5a756025
......@@ -15,7 +15,8 @@ MATLAB_PATH = matlabroot;
COMPILE_OPTIONS = '';
if strcmpi('GLNX86', computer) || strcmpi('GLNXA64', computer) % GNU/Linux (i386)
if strcmpi('GLNX86', computer) || strcmpi('GLNXA64', computer) ...
|| strcmpi('MACI', computer) % GNU/Linux (i386 or ET64) or MacIntel
if strcmpi('GLNXA64', computer) % 64 bits ?
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -largeArrayDims' ];
end
......@@ -50,6 +51,10 @@ end
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -v' ]
COMPILE_COMMAND = [ 'mex ' COMPILE_OPTIONS ' -outdir ' OUTPUT_DIR ' ' ];
if (strcmpi('MACI', computer))
% Need to specify mex path under MacIntel
COMPILE_COMMAND = [ MATLAB_PATH '/bin/' COMPILE_COMMAND ];
end
disp('Compiling mjdgges...')
system([ COMPILE_COMMAND ' mjdgges/mjdgges.c ' LAPACK_PATH ]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment