-
- Downloads
mex: support compilation on mac with clang + openmp
Showing
- matlab/dynare.m 5 additions, 0 deletionsmatlab/dynare.m
- mex/build/block_kalman_filter.am 6 additions, 0 deletionsmex/build/block_kalman_filter.am
- mex/build/kronecker.am 5 additions, 0 deletionsmex/build/kronecker.am
- mex/build/local_state_space_iterations.am 5 additions, 0 deletionsmex/build/local_state_space_iterations.am
- mex/build/matlab/configure.ac 4 additions, 0 deletionsmex/build/matlab/configure.ac
- mex/build/octave/configure.ac 4 additions, 0 deletionsmex/build/octave/configure.ac
- mex/build/perfect_foresight_problem.am 5 additions, 0 deletionsmex/build/perfect_foresight_problem.am
- mex/build/qmc_sequence.am 5 additions, 0 deletionsmex/build/qmc_sequence.am
Loading
-
Does this work? Do you want to have this merged?
If the answer to both questions is yes, then I would suggest rewriting this patch by introducing two variables (something like
OPENMP_CXXFLAGS
andOPENMP_LDADD
) that would be set by the configure script and that would contain whatever is relevant for the platform (i.e. respectively-fopenmp
and nothing on GNU/Linux and Windows, and whatever is needed on macOS). Hence the check for theMACOS
conditional in all*.am
files could be removed.
Please register or sign in to comment