v4.1: Removed debug flags. Added optimization flags. (=> Increase the

speed of A_times_B_kronecker_C by a factor 2).


git-svn-id: https://www.dynare.org/svn/dynare/trunk@2473 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
stepan 2009-03-15 22:30:00 +00:00
parent acee5581a9
commit 860dca071a
1 changed files with 11 additions and 1 deletions

View File

@ -71,8 +71,18 @@ else
OUTPUT_DIR = '../2007b';
end
% Set Optimization and Debug flags
CXXOPTIMFLAGS = ' CXXOPTIMFLAGS=-O3 ';
COPTIMFLAGS = ' COPTIMFLAGS=-O3 ';
CXXDEBUGFLAGS = ' CXXDEBUGFLAGS= ';
CDEBUGFLAGS = ' CDEBUGFLAGS= ';
LDOPTIMFLAGS = ' LDOPTIMFLAGS=-O3 ';
LDDEBUGFLAGS = ' LDDEBUGFLAGS= ';
COMPILE_OPTIONS = [ COMPILE_OPTIONS CDEBUGFLAGS COPTIMFLAGS CXXDEBUGFLAGS CXXOPTIMFLAGS LDDEBUGFLAGS LDOPTIMFLAGS];
% Comment next line to suppress compilation debugging info
% COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -v' ];
COMPILE_OPTIONS = [ COMPILE_OPTIONS ' -v' ];
COMPILE_COMMAND = [ 'mex ' COMPILE_OPTIONS ' -outdir ' OUTPUT_DIR ];