Skip to content
Snippets Groups Projects
Commit 953671ca authored by Yoann Guilhem's avatar Yoann Guilhem
Browse files

Since Matlab 2014a, mex options are not stored in mexopts.sh anymore.

Just print a warning yet, but we sill need to support this new configuration mode.
parent 4767b208
No related branches found
No related tags found
No related merge requests found
...@@ -222,8 +222,12 @@ if __name__ == '__main__': ...@@ -222,8 +222,12 @@ if __name__ == '__main__':
if dct_sup.matlab_dir is "": if dct_sup.matlab_dir is "":
dct_sup.matlab_dir = dct_conf.getMatlabPath() dct_sup.matlab_dir = dct_conf.getMatlabPath()
utils.resetMatlabMexopts(matlabVersion = dct_sup.matlab_ver, \ if dct_sup.matlab_ver < 2014:
matlabPath = dct_sup.matlab_dir) utils.resetMatlabMexopts(matlabVersion = dct_sup.matlab_ver, \
matlabPath = dct_sup.matlab_dir)
else:
dct_sup.out.printWarning("Since Matlab 2014a, mex options are stored in xml file.\nThis is not supported yet, so please add -fopenmp instructions yourself...")
dct_sup.out.printJob("Done.") dct_sup.out.printJob("Done.")
print("") print("")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment